- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2023 05:17 AM
Hi,
I need to show the field only if it has value, in a portal widget. If its empty it should not show up in the widget on portal. How can we achieve it?
Thanks,
Jaydee
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2023 09:46 PM
you must be getting the field value using gliderecord or something
just check if it's empty or not
gs.fieldValue == ''
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2023 05:27 AM
is this field shown as part of form shown in portal?
how it is rendered?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2023 05:30 AM
Its a widget which is configured as standard ticket configuration tab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2023 06:16 AM
I doubt there is any configuration for that.
you might have to replicate the OOB widget by cloning it and then add your custom logic there and add this new widget in that page
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2023 09:30 PM
I need to know the custom logic only the widget I have created is customized, on that how can I implement this logic?