Refresh List View

Raghu Loganatha
Kilo Guru

Hi,

I have a requirement on the list view.

Requirement is that list should get refreshed when ever any user makes a change on a particular field on list view. How do i trigger the list view refresh ? and how do i navigate to the same page where the action was first initiated.

Thanks

7 REPLIES 7

harshvardhansingh thanks for correcting here


I guess GlideList2.get("incident").refresh(); is working fine


antin_s
ServiceNow Employee
ServiceNow Employee

Hi Raghunath,



I dont think it is possible in ServiceNow to refresh a List View automatically based on an update on a field. You may create your own list view in Service Portal and you can achieve it using events..etc, but not in the Platform List View.



I am not sure if it is a valid use too. There can be scenarios where the List View filter is   on the specific field and the change in the field removes the record from the List View itself? I would suggest to revisit the use case and come up with more realistic use case for a List View.



Hope this helps. Mark the answer as correct/helpful based on impact.



Thanks


Antin


I think it will work if we write onCellEdit() on that field to refresh the list.



Note: if user will make any changes from the list level.