liam_davison
I'm new here

How to trigger a refresh of WebEdit/ContentCreator from ExecutableToolbarActionsItem

Jump to solution

Hello,

After my ExecutableToolbarActionsItem has been executed in a module, I need to refresh the preview in ContentCreator, as some page elements (or release status) may have changed.

Can I trigger the refresh from inside the executable item? I was hoping something like WebeditUIAgent could trigger the update. I see that JavaClientApi has a reload() method, but not sure if this can be called from Java, or only Javascript?

Many thanks,

Liam Davison

0 Kudos
1 Solution

Accepted Solutions
mbergmann
Crownpeak employee

Hi Liam,

you could just use the DisplayElementOperation on the current preview element (which can be requested from the WebeditUIAgent).

Michael

View solution in original post

0 Kudos
1 Reply
mbergmann
Crownpeak employee

Hi Liam,

you could just use the DisplayElementOperation on the current preview element (which can be requested from the WebeditUIAgent).

Michael

0 Kudos