Refresh Author/Save button via Java
Posted: Fri Feb 21, 2025 10:53 pm
Hello,
We have implemented a scheduler in our framework to trigger an internal auto-save, allowing documents to be saved in our data management system.
This customization was necessary because Oxygen's autosave does not go through the editorAboutToBeSavedVeto event.
However, we encountered an issue with the "Author/Save" button. While the auto-save works correctly, the button remains enabled.
We attempted to use the DIRTY_STATUS listener, but when saving via Java, the frontend is not updated.
We would like to know if there is a way to set the DIRTY_STATUS via Java on the backend or if there is an option to update the "Author/Save" button status via Java.
Thank you in advance.
We have implemented a scheduler in our framework to trigger an internal auto-save, allowing documents to be saved in our data management system.
This customization was necessary because Oxygen's autosave does not go through the editorAboutToBeSavedVeto event.
However, we encountered an issue with the "Author/Save" button. While the auto-save works correctly, the button remains enabled.
We attempted to use the DIRTY_STATUS listener, but when saving via Java, the frontend is not updated.
We would like to know if there is a way to set the DIRTY_STATUS via Java on the backend or if there is an option to update the "Author/Save" button status via Java.
Thank you in advance.