- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi All,
I created declarative action to display a button in workspace list view. inside the declarative action i called the UI page created. Now the issue was page is opening but the page remains blank, Nothing is displaying inside the page.. Hence requesting someone's help who can assist in this.
Note: the same ui page i called in 1 ui action in native ui, it is working as expected but only in workspace view i am getting empty page.
Declarative Action steps:
Record selection required = checked.
implemented as = client script
client script:
var dialog = new GlideModel('ui page name');
dialog.render();
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
in workspace you need to use g_modal.openFrame() to call UI page
How to open a UI Page in a popup window (GlideModal) from Workspace UI Action
💡 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 || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
in workspace you need to use g_modal.openFrame() to call UI page
How to open a UI Page in a popup window (GlideModal) from Workspace UI Action
💡 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 || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Thank you for your help! it really worked me. However, i need one more assistance from you hope you may help! I displayed the ui page in workspace view the ui page content also displaying well. however, i included submit button inside ui page. if i click on it it is working as expected in native ui but not in workspace view.
I am thinking the following apis was not executing in the script i used. please suggest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
check some OOTB UI pages and you get to know how it's done
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Refer this article : How to use UI Actions in Workspaces
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti