Setting Environment variables
Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
-
- Posts: 42
- Joined: Tue Jun 08, 2021 3:27 pm
Setting Environment variables
Post by Srinarayan »
Hi,
I wanted to know if there is any way to set environment variables of our choice so that we can get it wherever we want just like "authorAccess.getReviewController().getReviewerAuthorName()" variable.
Also if there is any way to analyze and custom define a function of a button defined in CSS in a topic prolog? Please let me know how I can proceed?
Regards,
Vivek.
I wanted to know if there is any way to set environment variables of our choice so that we can get it wherever we want just like "authorAccess.getReviewController().getReviewerAuthorName()" variable.
Also if there is any way to analyze and custom define a function of a button defined in CSS in a topic prolog? Please let me know how I can proceed?
Regards,
Vivek.
-
- Posts: 9472
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Setting Environment variables
Hi Vivek,
In the Oxygen Preferences we have a "Custom Editor Variables" page where you can define custom editor variables and their values. Then you can use our APIs in the Java code to expand a string containing editor variables "ro.sync.exml.workspace.api.util.UtilAccess.expandEditorVariables(String, URL)".
We also have an already defined editor variable named "env" which can be expanded to the value of an environmental variable set in the Oxygen process when it starts:
https://www.oxygenxml.com/doc/versions/ ... ables.html
Like for example ${env(JAVA_HOME)}
About the second unrelated problem please start a different discussion thread and give more details about what you want.
Regards,
Radu
In the Oxygen Preferences we have a "Custom Editor Variables" page where you can define custom editor variables and their values. Then you can use our APIs in the Java code to expand a string containing editor variables "ro.sync.exml.workspace.api.util.UtilAccess.expandEditorVariables(String, URL)".
We also have an already defined editor variable named "env" which can be expanded to the value of an environmental variable set in the Oxygen process when it starts:
https://www.oxygenxml.com/doc/versions/ ... ables.html
Like for example ${env(JAVA_HOME)}
About the second unrelated problem please start a different discussion thread and give more details about what you want.
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)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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