How to refresh my flex repeater to show the updated data from the database?

I have a file upload component which when file uploaded saves the image in database table. And I have a flex repeater which retrieves and show the images from that database table. Everything works fine but the only issue is that after I upload the file I have to refresh the page to see the changes in flex repeater. And i tried using polling which works fine but makes the page so slow. Is there any way that I can refresh the flex repeater instances binding when I upload the file.

Thank You.

In the onFileReceived Event of the File Upload component, include a call to refresh the binding of the Flex Repeater AFTER you’ve completed the database insertion.

self.getSibling('FlexRepeater').refreshBinding('props.instances')
1 Like