Facing issue while fetching options information

Post here questions and problems related to oXygen frameworks/document types.
raghav
Posts: 1
Joined: Fri Mar 07, 2025 9:18 pm

Facing issue while fetching options information

Post 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
You do not have the required permissions to view the files attached to this post.
Radu
Posts: 9431
Joined: Fri Jul 09, 2004 5:18 pm

Re: Facing issue while fetching options information

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply