How to load/refresh widget(s) independent of the rest of the page - Community forums - Akumina Community

Community forums

Forum Navigation
You need to log in to create posts and topics.

How to load/refresh widget(s) independent of the rest of the page

You can absolutely reload widgets without refreshing the page . You can use the following function on the widget container:

 

RenderChildWidgets(‘.your-widget-container’)

 

This will refresh all widgets in that container. Also, you can use the following command to refresh a specific widget (you could also pass other properties to it)

 

Akumina.Digispace.AppPart.Eventing.Publish('/widget/updated/', {"id":"17eca107-19c4-4a87-b1ae-9ec0b3ef2e7b"})

 

//]]>