want to fill automatically values for attributes Format , scope , type and Navigation title for topicref
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 168
- Joined: Fri Feb 28, 2020 4:02 pm
want to fill automatically values for attributes Format , scope , type and Navigation title for topicref
Post by vishwavaranasi »
Hello , i was trying to use api to set the global options
pluginWorkspaceAccess.setGlobalObjectProperty(APIAccessibleOptionTags.DITA_FILL_TOPICREF_FORMAT_ATTR,Boolean.TRUE);
but this giving error "can not be resolved or is not a field"
the API available here
https://www.oxygenxml.com/InstData/Edit ... ORMAT_ATTR
where as this works fine
pluginWorkspaceAccess.setGlobalObjectProperty(APIAccessibleOptionTags.DITA_OT_DIRECTORY,"path-to-dita-ot");
Thanks,
vishwa
pluginWorkspaceAccess.setGlobalObjectProperty(APIAccessibleOptionTags.DITA_FILL_TOPICREF_FORMAT_ATTR,Boolean.TRUE);
but this giving error "can not be resolved or is not a field"
the API available here
https://www.oxygenxml.com/InstData/Edit ... ORMAT_ATTR
where as this works fine
pluginWorkspaceAccess.setGlobalObjectProperty(APIAccessibleOptionTags.DITA_OT_DIRECTORY,"path-to-dita-ot");
Thanks,
vishwa
Thanks,
vishwa
vishwa
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: want to fill automatically values for attributes Format , scope , type and Navigation title for topicref
Hi,
What version of Oxygen are you using with the plugin?
This particular API field ro.sync.exml.options.APIAccessibleOptionTags.DITA_FILL_TOPICREF_FORMAT_ATTR was added in Oxygen 22.0.
So probably you are compiling the plugin with a new SDK and then running it with an older Oxygen version.
If instead of using the constant you use directly the string "dita.fill.format.attribute", like:
does that work for you?
Regards,
Radu
What version of Oxygen are you using with the plugin?
This particular API field ro.sync.exml.options.APIAccessibleOptionTags.DITA_FILL_TOPICREF_FORMAT_ATTR was added in Oxygen 22.0.
So probably you are compiling the plugin with a new SDK and then running it with an older Oxygen version.
If instead of using the constant you use directly the string "dita.fill.format.attribute", like:
Code: Select all
pluginWorkspaceAccess.setGlobalObjectProperty("dita.fill.format.attribute",Boolean.TRUE);
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 168
- Joined: Fri Feb 28, 2020 4:02 pm
Re: want to fill automatically values for attributes Format , scope , type and Navigation title for topicref
Post by vishwavaranasi »
many Thanks Radu ..it's worked for me.
Thanks,
vishwa
vishwa
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service