ServiceNow Workspace Button

prakhar_yadav
Tera Contributor

In sc_req_item table, we have "Responses" button in form view which opens a template popup and we have same button in our workspace as well, but after clicking that button, nothing happens. I want same popup functionality as it is behaving in form view. I am attaching screenshots of UI actions so that I can get my problem resolved.

 

I think we need to do write script in Workspace Client script, but exactly what should we write there?

4 REPLIES 4

Mark Manders
Mega Patron

This will help: https://www.servicenow.com/community/next-experience-articles/how-to-use-ui-actions-in-workspaces/ta...

 


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Sid_Takali
Kilo Patron
Kilo Patron

Hi @prakhar_yadav as far as I know you need to write Workspace Client Script to function UI Action in workspace as well, as the "Responses"  button is Client side now. If the UI Action is only Server Side then it will function on both side just after checking Workspace Form Button Checkbox. 

 

Regards

Siddharam

Hi @Sid_Takali  actually I know that Workspace client script needs to be added but exactly what code, for reference I have attached screenshot, if you can help me with the code

prakhar_yadav
Tera Contributor

That article is really good, but I have different issue, please check the screenshots I have added earlier, if you can help me with the code