UI builder page - reload entire form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello,
I have requirement as below:
In custom workspace, we have playbook tab and details tab of form. If state is updated from backend (any script), reload entire page including playbook.
How can i implement in ui builder page or there any way to implement it?
Thanks,
Devadharshini
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
If it is a record form it updates automatically like showing (updated by admin). You can do a refresh based on some condition if needed or use record watcher and call refresh event. Can you give more details about what components are there in your playbook.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
The record page should OOB subscribe to changes on the current record and update the field values. Your requirement does not sound like great UX.
If you still need this. On the record page, add an AMB watcher or record watcher data resource. Bind the table from the context and add a filter of sysid is the sysid from context props.
Add an event handler of "Request refresh" from the form controller on the "message received" event. Add a condition that matches your change. For example add condition to when to trigger if changed fields includes state
LASTINDEXOF(data.payload.changes, "state")
