- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2023 12:29 AM
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.
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?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2023 06:29 AM - edited 04-20-2023 01:09 AM
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)'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2023 06:29 AM - edited 04-20-2023 01:09 AM
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)'