ui page not working in workspace view

suresh kaliappa
Tera Expert

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();

2 REPLIES 2

Ankur Bawiskar
Tera Patron

@suresh kaliappa 

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! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Tanushree Maiti
Mega Patron

Hi @suresh kaliappa 

 

Refer this article : How to use UI Actions in Workspaces

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: