- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
Hi everyone,
I'm trying to hide or show a UI Action based on the value of the current record, but since it has the Client checkbox checked, I tried calling a Script Include from the condition, but it doesn’t run. I found some methods using DOM manipulation, but I want to avoid that. Is there any other way to work around this?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
UI action conditions are evaluated only once when form loads.
if you want to show/hide UI action based on field change then you need to use DOM manipulation for this.
Note: DOM manipulation is not recommended
How to hide/show an UI action on field changes
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
UI action conditions are evaluated only once when form loads.
if you want to show/hide UI action based on field change then you need to use DOM manipulation for this.
Note: DOM manipulation is not recommended
How to hide/show an UI action on field changes
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
