Ability to Add an Action that Enables/Disables Plugin Option (DITA Prolog Updater)
Posted: Mon Feb 10, 2025 10:17 pm
Hi Oxygen Support,
My team extensively uses the DITA Prolog Updater plugin to update the revised date in DITA topics.
However, we've realized that not every modification requires the revised date to be updated. In fact, for some changes, such as fixing typos and making text more readable, we don't want the revised date to be updated.
To prevent the DITA Prolog Updater from automatically updating the revised date on save, we have to go into Oxygen XML Author's Preferences and manually disable the option to Update revised dates:
We then have to make sure to reenable the option once we want the DITA Prolog Updater to start updating revised dates again, and we often forget to do this.
Therefore, we would like the ability to have a button in the toolbar that could quickly enable/disable this option in the plugin. To add a button, I was wondering if there's an action that we can use to control this option in this plugin? We could then add this action as a button in the toolbar in the Document Type Association configuration dialog.
Thanks!
Daniel
My team extensively uses the DITA Prolog Updater plugin to update the revised date in DITA topics.
However, we've realized that not every modification requires the revised date to be updated. In fact, for some changes, such as fixing typos and making text more readable, we don't want the revised date to be updated.
To prevent the DITA Prolog Updater from automatically updating the revised date on save, we have to go into Oxygen XML Author's Preferences and manually disable the option to Update revised dates:
We then have to make sure to reenable the option once we want the DITA Prolog Updater to start updating revised dates again, and we often forget to do this.
Therefore, we would like the ability to have a button in the toolbar that could quickly enable/disable this option in the plugin. To add a button, I was wondering if there's an action that we can use to control this option in this plugin? We could then add this action as a button in the toolbar in the Document Type Association configuration dialog.
Thanks!
Daniel