Fetching Oxygen Author
Oxygen general issues.
-
- Posts: 42
- Joined: Tue Jun 08, 2021 3:27 pm
Fetching Oxygen Author
Post by Srinarayan »
Hi
We are using oxygen v20.1. We are doing some customizations for which we need to fetch username. We have seen in track changes that you use it in "author" attribute like
<?oxy_insert_start author="xid" timestamp="">
I need to know from where you are fetching this author value. Is it present in some environment variable?
Regards
Srinarayan
We are using oxygen v20.1. We are doing some customizations for which we need to fetch username. We have seen in track changes that you use it in "author" attribute like
<?oxy_insert_start author="xid" timestamp="">
I need to know from where you are fetching this author value. Is it present in some environment variable?
Regards
Srinarayan
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Fetching Oxygen Author
Hi Srinarayan,
The name of the author is a global preference in the Oxygen Preferences->"Editor / Edit Modes / Author / Review" page.
If you want help accessing it please give us more information about your customization. Is it a plugin? Is it a framework configuration?
Regards,
Radu
The name of the author is a global preference in the Oxygen Preferences->"Editor / Edit Modes / Author / Review" page.
If you want help accessing it please give us more information about your customization. Is it a plugin? Is it a framework configuration?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 42
- Joined: Tue Jun 08, 2021 3:27 pm
Re: Fetching Oxygen Author
Post by Srinarayan »
Hi Radu,
It is a java project which is then deployed as jar in eclipse. Can you please help in accessing author name?
Regards
Srinarayan
It is a java project which is then deployed as jar in eclipse. Can you please help in accessing author name?
Regards
Srinarayan
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Fetching Oxygen Author
Hi,
You can try something like:
More editor variables which can be expanded:
https://www.oxygenxml.com/doc/versions/ ... ables.html
Regards,
Radu
You can try something like:
Code: Select all
ro.sync.exml.workspace.api.PluginWorkspaceProvider.getPluginWorkspace().getUtilAccess().expandEditorVariables("${author.name}", null);
https://www.oxygenxml.com/doc/versions/ ... ables.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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