Hide/Show UI Action using UI Policy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2022 01:06 AM
Hi Everyone,
I want to hide/show UI Action using UI Policy. If status of record is deleted then it should hide UI action otherwise it should be visible.
UI Action:
Name = Knowledge Article
Action Name = instruct_knowledge
I used above method, somehow it is not working.
cc: @Ankur Bawiskar @kamlesh kjmar
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2022 03:00 AM
Did you try the approach I shared 56mins ago?
It should work fine
Use Create Knowledge Article instead of instruct_knowledge in script where you are checking the indexOf
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2022 02:04 AM
Check this Article , It might be helpful
https://snprotips.com/blog/2017/7/21/how-to-enable-dom-manipulation-in-the-servicenow-service-portal
Regards
ServiceNow KT