Closed AdamNaj closed 4 months ago
Done
What are the different uses cases for this?
Mainly refreshing the tree in Content editor or reloading the item, but you can may also run a dialog after the script is finished. I initially thought about it when trying to write interactive script for workflow actions. But the main purpose is described in the issue title and shown in the image.
Expected Behavior
When executing scripts operating on the currently selected item in Content Editor ore renaming it, it would be beneficial to be able to refresh the content tree or reload the current item.
This functionality is now added to two Cmdlets -
Send-SheerMessage
andInvoke-JavaScript
:This can be used in the Content Editor Context menu and List View Actions.
Solves e.g. the problem described in #1316