Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Reload form in Agent Workspace?

sbanc
Kilo Guru

Hi everybody

I have a quick question for the agent workspace user interface...

Anyone found a solution to have a "Reload form" button available as we have in the "normal UI"?

I figured out, that the "Save" Button does almost what I search for, but I search for a solution, where already made and unsaved changes on the form get lost, so they will not be saved. But I also don't want the whole agent workspace site to reload - I just want the current frame to reload.

Anyone achieved this or has an idea on how to achieve it?

Thanks for any help!
Simon

5 REPLIES 5

tkachel
Tera Contributor

Hey, if you only need to refresh the workspace tab the same way a Save button does it, just without saving the changes, g_form.reload() in the Workspace Client Script should achieve that 😉