Re: [oXygen-user] Possible to Put Code Templates in a Framework?

2021-12-07 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Danny,

With the framework extension script (which is our new way of extending a 
framework configuration) you can refer to an XML file containing 
serialized Author actions, but not code templates.


https://www.oxygenxml.com/doc/versions/23.1/ug-editor/topics/framework-customization-script-usecases.html#framework-customization-script-usecases__section_qzt_5ry_jnb

Author actions can only be used in the Author visual editing mode while 
code templates are defined only globally or at project level and can be 
used also in the Text editing mode.


Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 12/8/21 07:09, dvint wrote:
Yes you can. I built a framework script to mange this. Oxygen support 
help me set this up, but I believe they exported the templates and 
that created an xml that was referenced by the framework script.


I can get you samples in the morning if they don't respond tonight.



Sent from my Verizon, Samsung Galaxy smartphone


 Original message 
From: Eliot Kimber 
Date: 12/7/21 8:56 PM (GMT-08:00)
To: oxygen-user@oxygenxml.com
Subject: [oXygen-user] Possible to Put Code Templates in a Framework?

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 

LinkedIn  | Twitter 
 | YouTube 
 | Facebook 




___
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


Re: [oXygen-user] Possible to Put Code Templates in a Framework?

2021-12-07 Thread Oxygen XML Editor Support (Radu Coravu)

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 

LinkedIn  | Twitter 
 | YouTube 
 | Facebook 




___
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


Re: [oXygen-user] Possible to Put Code Templates in a Framework?

2021-12-07 Thread dvint
Yes you can. I built a framework script to mange this. Oxygen support help me 
set this up, but I believe they exported the templates and that created an xml 
that was referenced by the framework script. I can get you samples in the 
morning if they don't respond tonight.Sent from my Verizon, Samsung Galaxy 
smartphone
 Original message From: Eliot Kimber 
 Date: 12/7/21  8:56 PM  (GMT-08:00) To: 
oxygen-user@oxygenxml.com Subject: [oXygen-user] Possible to Put Code Templates 
in a Framework? 

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


LinkedIn | Twitter | YouTube | Facebook



___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


[oXygen-user] Possible to Put Code Templates in a Framework?

2021-12-07 Thread Eliot Kimber
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
LinkedIn | 
Twitter | 
YouTube | 
Facebook
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user