"Adding Placeholders or Hints in a Document Template" broken in our local framework/oxygen install

Post here questions and problems related to oXygen frameworks/document types.
dcramer
Posts: 134

"Adding Placeholders or Hints in a Document Template" broken in our local framework/oxygen install

Mon Sep 18, 2017 11:34 pm

In a fresh install of Oxygen, the <?oxy-placeholder?> PI, https://www.oxygenxml.com/doc/versions/19.0/ug-editor/topics/customizing-templates.html, works perfectly. However, in my environment it's broken, perhaps by some customization or some aspect of my framework. These PIs just show up as PIs, not as magic replaceable text.

I know this is very little to go on, but what could we have done to break this? It seems broken for all frameworks, so I'm wondering if I set some global option or combination of them in such a way that this feature was turned off.

Thanks,
David
dcramer
Posts: 134

Re: "Adding Placeholders or Hints in a Document Template" broken in our local framework/oxygen install

Mon Sep 18, 2017 11:40 pm

Oh, now I see it's broken for me in 18.1 but works in 19.0.

I have multiple versions of Oxygen installed because I want to edit a framework file using the lowest version that our users have installed. I'm not certain that's necessary, but I was worried that if I pushed out a framework created with a later version of Oxygen it might not work with an earlier version.

Anyway, I'm less worried about it now. It could still be something I borked (I didn't test a fresh install of 18.1), but I'll get users to upgrade eventually anyway.

Thanks,
David
Radu
Posts: 5088

Re: "Adding Placeholders or Hints in a Document Template" broken in our local framework/oxygen install

Tue Sep 19, 2017 7:49 am

Hi David,

This specific feature was added in Oxygen 19.0 so this is why you do not have it in Oxygen 18.1.
So you will need Oxygen 19.0 or newer to use this type of processing instructions in your new document templates.
As a hint, if you are running an Oxygen application (for example Oxygen 18.1) and press F1, it will take you to the online documentation for that specific version. For example the same documentation page for the Oxygen 18.1 user guide does not have that section discussing the processing instructions:

https://www.oxygenxml.com/doc/versions/18.1/ug-editor/topics/customizing-templates.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “SDK-API, Frameworks - Document Types”

Who is online

Users browsing this forum: No registered users and 1 guest