Distinction between ${framework} and ${frameworkDir} editor variables on Windows
Post here questions and problems related to oXygen frameworks/document types.
-
daliboris
- Posts: 35
- Joined: Thu Feb 11, 2010 5:00 pm
Distinction between ${framework} and ${frameworkDir} editor variables on Windows
I found different behavior of ${framework} and ${frameworkDir} editor variables when I tried set path to document templates directory.
If ${frameworkDir} is used in framework extension file (.exf), templates from specified directory are shown in the list of the available templates.
If ${frameworkDir} is used in framework extension file (.exf), templates from specified directory are shown in the list of the available templates.
frameworkDir.png
When I use ${framework} variable in framework extension file (.exf), templates from specified directory are not available in the list of the templates.framework.png
When the framework is build (zipped) and delivered as an Add-on (via web page), all installed templates are shown when ${framework} variable is used.You do not have the required permissions to view the files attached to this post.
-
alex_jitianu
- Posts: 1021
- Joined: Wed Nov 16, 2005 11:11 am
Re: Distinction between ${framework} and ${frameworkDir} editor variables on Windows
Post by alex_jitianu »
Hello,
Thank you for reporting this issue. The problem is that document template folders must be specified as file system paths, not URLs, so $frameworkDir should be used. Unfortunately, there is no indication of this in the *.exf file. The tooltips suggest that either option can be used, which is misleading. I will open an issue to handle both variables properly.
Best regards,
Alex
Thank you for reporting this issue. The problem is that document template folders must be specified as file system paths, not URLs, so $frameworkDir should be used. Unfortunately, there is no indication of this in the *.exf file. The tooltips suggest that either option can be used, which is misleading. I will open an issue to handle both variables properly.
Based on my tests, this does not appear to be the case. The $framework variable does not work, regardless of whether the framework is compiled at runtime or built in advance.When the framework is build (zipped) and delivered as an Add-on (via web page), all installed templates are shown when ${framework} variable is used.
Best regards,
Alex
Return to “SDK-API, Frameworks - Document Types”
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