How can you refresh a list view from a script

ryan_cox
Giga Contributor

Hey guys....

 

Not sure if I am doing something wrong here. I thought this would be simple.

 

I have a before Business Rule that is updating a value when another field changes. When I update the field from the list view, I have to click the breadcrumb to refresh the screen and see the change to the other field. Is there a way to refresh the list view from a script?

 

I tried g_list.refresh(); from an onCellEdit but that just locked up when I tried to change the value.

8 REPLIES 8

Slava Savitsky
Giga Sage

Have you tried anything like this:



top.gsft_main.location.reload();


this worked for me, it refreshed my list view. Thanks Slava


pkottam
Kilo Contributor

You can try using GlideList2.get("incident").refresh();


incident is the list name in the above example.


jamesmcwhinney
Giga Guru

Did you find a solution to this?


I need to refresh an embedded list from onCellEdit