Hi Eliot,
For now you cannot save code templates at framework level. We have an
internal issue registered for this and I added your contact details to
it, adding the issue ID below for future reference:
EXM-36264 Code templates at framework level
In the meantime maybe you can create custom Author actions but they will
work only in the Author visual editing mode.
Or maybe you can store the code templates at project level and have a
project.xpr saved in the Git project that everybody needs to open in
Oxygen before editing.
Regards,
Radu
Radu Coravu
Oxygen XML Editor
On 12/8/21 00:38, Eliot Kimber wrote:
We maintain a set of code templates that currently get bake into
options.xml that is then distributed via an add-on that sets global
options (and nothing else).
We maintain our frameworks in git and all authors clone that repo and
pull regularly to keep it up to date, making deployment and update
easier for writers (avoids having to update add-ons and then restart
Oxygen).
Reviewing the docs I see that code templates are stored in either the
global options or in project options but I didn’t see anything about
putting them in frameworks.
Is there a way to have code templates in frameworks so that we can
deploy new ones without having to update our add-on?
Thanks,
E.
_____________________________________________
*Eliot Kimber*
Sr Staff Content Engineer
O: 512 554 9368
M: 512 554 9368
servicenow.com <https://www.servicenow.com>
LinkedIn <https://www.linkedin.com/company/servicenow> | Twitter
<https://twitter.com/servicenow> | YouTube
<https://www.youtube.com/user/servicenowinc> | Facebook
<https://www.facebook.com/servicenow>
_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user