Is there a way to refresh a repeater component in UI Builder after a specific interval of time?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2023 03:19 AM - edited ‎10-13-2023 04:03 AM
I have a requirement of refreshing a repeater component in UI Builder after 2mins of a button click.
Is it possible to achieve?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2023 03:41 AM
Hello @User660846
button.addEventListener('click', () => {
cover.style.visibility = 'hidden';
button.style.visibility = 'hidden';
setTimeout(function () {
window.location.reload();
}, 60000*2);
});
Plz mark my solution as Accept, If you find it helpful.
Regards,
Samaksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2023 04:02 AM
Can I implement this in UI Builder? If yes, can you please show me one example where can I put this code.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2023 06:31 AM
When you say refresh the repeater component, what exactly do you mean? The repeater is really just a dumb iterator that iterates through data. If you refresh its data it will automatically show the new data. If you take a step back, what problem are you trying to solve by refreshing the repeater?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2023 11:29 PM
Hi Brad,
My requirement is, on click of a button one flow will trigger that will call a specific API and get back data from another instance and put in a table. this process takes around 2-3 mins to complete.
Now my repeater component will get data from this table and show in the page.
My requirement is when I click on the button, after the flow run is complete, the repeater component will be refreshed so that the addition/ modification will be visible in the front end.