Set the recommended Oxygen preferences after installation of Plugin

Are you missing a feature? Request its implementation here.
kondalamca123
Posts: 14
Joined: Tue Sep 10, 2024 8:48 am

Set the recommended Oxygen preferences after installation of Plugin

Post by kondalamca123 »

Hi Forum,
I have the below requirement,
The following application settings are selected by default after installation of the XXXXX plugin via the Preferences window in Oxygen:
file.zip
I have attached File.Zip file it contain needed preference option so could you please help us how to configure programmatically as part of plugin application,
few of the preference option keys are not founded in API(Available Keys i have added in API Keys Column in attached Sheet).
Thanks.
Kondala.
You do not have the required permissions to view the files attached to this post.
Radu
Posts: 9434
Joined: Fri Jul 09, 2004 5:18 pm

Re: Set the recommended Oxygen preferences after installation of Plugin

Post by Radu »

Hi Kondala,

If one goes to the Oxygen main menu "Options->Export Global Options" they can export to an XML file all the settings they have explicitly set in Oxygen. The XML file can be further processed.
Then an Oxygen plugin can use our APIs to force set these options when Oxygen starts.
https://www.oxygenxml.com/doc/versions/ ... ities.html
A sample Javascript-based Oxygen plugin can be found here:
https://github.com/oxygenxml/wsaccess-j ... se-options

We also have a way to specify a default XML options file when Oxygen starts up:
https://www.oxygenxml.com/doc/versions/ ... tions.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply