Page 1 of 1

Set the recommended Oxygen preferences after installation of Plugin

Posted: Tue Jan 07, 2025 1:39 pm
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.

Re: Set the recommended Oxygen preferences after installation of Plugin

Posted: Wed Jan 08, 2025 8:58 am
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