Cannot add document template via framework extension script
Posted: Fri Mar 10, 2023 6:23 pm
In Oxygen Editor v25, I cannot add templates to a framework via framework extension script, as described in your documentation.
I tried all kinds of combinations of settings, @inherit="all" / "none", @path with and without a trailing "/", with and without @position attributes, all based on something as simple as this:
I restarted the oXygen editor many times, after every change I made to the extension script file, and I do have XML file(s) in the configured folder ${framework}/templates (trying with and without an additional properties file).
Whatever I do, I never get the templates from this framework/folder visible in the new file dialog of oXygen. Do I miss something obvious or could this be a bug?
(And by the way: The ${framework} variable must be working corrctly in principle, because I have a catalog file reference which is working without any problems:
)
Here's a screenshot of my setup:

I tried all kinds of combinations of settings, @inherit="all" / "none", @path with and without a trailing "/", with and without @position attributes, all based on something as simple as this:
Code: Select all
<documentTemplates inherit="none">
<addEntry path="${framework}/templates/" position="after"/>
</documentTemplates>
Whatever I do, I never get the templates from this framework/folder visible in the new file dialog of oXygen. Do I miss something obvious or could this be a bug?
(And by the way: The ${framework} variable must be working corrctly in principle, because I have a catalog file reference which is working without any problems:
Code: Select all
<xmlCatalogs inherit="all">
<addEntry path="${framework}/catalog.xml"/>
</xmlCatalogs>
Here's a screenshot of my setup: