Configurable Workspace triggering "Refresh List" from UI actions or scripts

Jan Ujcic1
Tera Contributor

Hi, we have multiple UI actions that modify related list records. After the execution of the action, the user must always manually click the "Refresh List" button on the related list. We want to have an option to trigger this refresh from an UI action or a client script for one or all related lists on the current record.

 

What we tried and didn't work or didn't fit our needs:

  • GlideLists2 doesn't seem to work in Configurable Workspaces.
  • Refreshing the whole page is not an option since it negatively impacts the whole user experience.
  • g_list does work but only if using declarative actions on that specific related list.

We do see a potential option of using a client script in UI builder and somehow triggering an event but there is just too little documentation to try that without spending hours of trial and error. Did someone attempt to do something similar? Are there any APIs that work in Configurable Workspaces that we could use to refresh one or multiple related lists?

1 REPLY 1

VitorT
Giga Contributor

Hi Jan,

I was having the same problem, I solved using List Action and Related List Actions, there you can configure to use Server side script and does not need to use the g_list at all, it will only depends on the logic you are using, in my case the platform UI Action was calling a glideAjax and executing a Script include, while in the Workspace List Action i don't need to call the glideAjax, just need to configure as Server Script and the current.update() refresh the list automatically

VitorT_0-1756316100420.png