Page 1 of 1

Facing issue while fetching options information

Posted: Fri Mar 07, 2025 11:40 pm
by raghav
hello,

i am using oxygen sdk for fetching the termsDir Path (terminology checker additional path) from the oxyAuthorOptionsSa27.0.xml from key PLUGIN_CUSTOM_OPTIONS.terminology.options.key.new

i was always getting null while using PluginWorkspaceProvider.getPluginWorkspace.getOptionsStorage->getOption(PLUGIN_CUSTOM_OPTIONS.terminology.options.key.new.termsDir)

can you please let me know where i am going wrong

Thanks in advance.
Please refer this attachment
Screenshot 2025-03-08 020414.png

Re: Facing issue while fetching options information

Posted: Mon Mar 10, 2025 9:13 am
by Radu
Hi,
If you use our API:

Code: Select all

PluginWorkspaceProvider.getPluginWorkspace().getOptionsStorage().getOption("terminology.options.key.new");
you should have access to the value of the terminology.options.key.new" key. This value is an escaped XML document, you would need to unescape and extract information from it yourself in your own code.
Regards,
Radu