How to trigger a refresh of WebEdit/ContentCreator from ExecutableToolbarActionsItem
Author: liam_davison
Publication Date: 11/22/2016 13:14
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
Tags: contentcreator, fs5.1, webedit
0
-
Author: mbergmann - 11/22/2016 20:21
Hi Liam,
you could just use the DisplayElementOperation on the current preview element (which can be requested from the WebeditUIAgent).
Michael
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar