Page 1 of 1

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

Posted: Mon Sep 18, 2017 11:34 pm
by dcramer
In a fresh install of Oxygen, the <?oxy-placeholder?> PI, https://www.oxygenxml.com/doc/versions/ ... lates.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

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

Posted: Mon Sep 18, 2017 11:40 pm
by dcramer
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

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

Posted: Tue Sep 19, 2017 7:49 am
by Radu
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/ ... lates.html

Regards,
Radu