Published Plug Is not refreshing datasource

Hi team.

I have an issue with rendering updated data on the published plugin.
I tried using Change Detection on my plugin but the UI is not rendering updated data.
I have tried the snippet code below, but it doesn’t refresh the DataSource.

window.dispatchEvent(
// The event name should be exactly this: "alpha_element:connected_callback"new
CustomEvent(‘alpha_element:connected_callback’,
{ detail: { element: ap.$(), }, }) );

Not sure if I missed something on my plugin.
Can anyone please assist me with this have

Thank you in advance.

3 Likes

@Paul_Thomas @Anandan_S_S

Hi team,

Sorted with this issue. It wasn’t refreshing because the package I am using needed clearing before redisplaying or parsing.

Thank you.