Refreshing pages in Contextual side panel

Vadzim Surin1
Tera Expert

Hello everyone. We've hit a problem with refreshing date in a custom page that we've implemented in Contextual side panel. There is a custom page script that shows data. It works fine. But when you are changing in the record a field value that is corresponding to this page - data aren't changing on this page. Data only will change if you refresh tab in the your browser. 

268eba9b-d392-41b6-83e7-5b8118d26eb7.jpg

 

Page script that displays data is connected in 'Page ready' and 'Page property changed' events of this page in UI Builder.
Does anybody know how to implement refreshing logic?

1 ACCEPTED SOLUTION

Vadzim Surin1
Tera Expert

Solution is:
You must refresh a data resource that you used to display data in you custom page in the contextual side panel.
In UI Builder move from your custom page to the parent page, then open the data resource list, find 'Glide Form', the click 'Events' tab, find and expand 'Glide Form data broker fetch status updated' event and add event handler with your data resource name that you used to display data in you custom page in the contextual side panel, something like this: 'REFRESH (your data resource name)'

View solution in original post

1 REPLY 1

Vadzim Surin1
Tera Expert

Solution is:
You must refresh a data resource that you used to display data in you custom page in the contextual side panel.
In UI Builder move from your custom page to the parent page, then open the data resource list, find 'Glide Form', the click 'Events' tab, find and expand 'Glide Form data broker fetch status updated' event and add event handler with your data resource name that you used to display data in you custom page in the contextual side panel, something like this: 'REFRESH (your data resource name)'