- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2024 04:15 AM
Hi Everyone,
I have created a custom UI action on security response which open a UI Page (it opens a dialog box) and allows the users to select some choices and a 'observable' record associated to security incident . Based on the selection we are performing some action in UI page.
We want to achieve same in workspace, please suggest the best way to call a UI page from UI action in workspace. It should be able send the 'setPreference' the current page values for the UI Page.
Thanks in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2024 05:53 AM
there are many OOB UI actions which does this in workspace client script.
you need to use g_modal for this
Did you check those?
Search like this
this is an OOB one which sends the parameter but it sends it via URL and not using setPreference
If my response helped please mark it correct and close the thread so that it benefits future readers.
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-04-2024 05:53 AM
there are many OOB UI actions which does this in workspace client script.
you need to use g_modal for this
Did you check those?
Search like this
this is an OOB one which sends the parameter but it sends it via URL and not using setPreference
If my response helped please mark it correct and close the thread so that it benefits future readers.
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-05-2024 01:02 AM
Thanks for responding @Ankur Bawiskar!
Yeah, have seen this but wanted to know if there is any other way to implement it.