<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Danny,</p>
    <p>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.</p>
    <p><a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/doc/versions/23.1/ug-editor/topics/framework-customization-script-usecases.html#framework-customization-script-usecases__section_qzt_5ry_jnb">https://www.oxygenxml.com/doc/versions/23.1/ug-editor/topics/framework-customization-script-usecases.html#framework-customization-script-usecases__section_qzt_5ry_jnb</a></p>
    <p>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.<br>
    </p>
    <p>Regards,</p>
    <p>Radu</p>
    <pre class="moz-signature" cols="72">Radu Coravu
Oxygen XML Editor</pre>
    <div class="moz-cite-prefix">On 12/8/21 07:09, dvint wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1638940202521.021ecf1f64de69b6@dvint.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div dir="auto">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. </div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">I can get you samples in the morning if they don't
        respond tonight.</div>
      <div dir="auto"><br>
      </div>
      <div dir="auto"><br>
      </div>
      <div dir="auto"><br>
      </div>
      <div id="composer_signature" dir="auto">
        <div style="font-size:85%;color:#575757" dir="auto">Sent from my
          Verizon, Samsung Galaxy smartphone</div>
      </div>
      <div dir="auto"><br>
      </div>
      <div><br>
      </div>
      <div dir="auto" style="font-size:100%;color:#000000" align="left">
        <div>-------- Original message --------</div>
        <div>From: Eliot Kimber <a class="moz-txt-link-rfc2396E" href="mailto:eliot.kimber@servicenow.com"><eliot.kimber@servicenow.com></a> </div>
        <div>Date: 12/7/21 8:56 PM (GMT-08:00) </div>
        <div>To: <a class="moz-txt-link-abbreviated" href="mailto:oxygen-user@oxygenxml.com">oxygen-user@oxygenxml.com</a> </div>
        <div>Subject: [oXygen-user] Possible to Put Code Templates in a
          Framework? </div>
        <div><br>
        </div>
      </div>
      <div class="WordSection1">
        <p class="MsoNormal">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).</p>
        <p class="MsoNormal"> </p>
        <p class="MsoNormal">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).</p>
        <p class="MsoNormal"> </p>
        <p class="MsoNormal">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.</p>
        <p class="MsoNormal"> </p>
        <p class="MsoNormal">Is there a way to have code templates in
          frameworks so that we can deploy new ones without having to
          update our add-on?</p>
        <p class="MsoNormal"> </p>
        <p class="MsoNormal">Thanks,</p>
        <p class="MsoNormal"> </p>
        <p class="MsoNormal">E.</p>
        <p class="MsoNormal"> </p>
        <div>
          <div>
            <p style="margin-bottom:7.5pt" class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#6D6D6D">_____________________________________________</span><span
                style="color:black"></span></p>
            <p class="MsoNormal"><b><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#474747">Eliot
                  Kimber</span></b><span style="color:black"></span></p>
            <p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#7F7F7F">Sr
                Staff Content Engineer</span><span style="color:black"></span></p>
            <p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#7F7F7F">O:
                512 554 9368</span><span style="color:black"></span></p>
            <p style="margin-bottom:3.0pt" class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#7F7F7F">M:
                512 554 9368</span><span style="color:black"></span></p>
            <p class="MsoNormal"><a title="https://www.servicenow.com/"
                href="https://www.servicenow.com" moz-do-not-send="true"><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#7F7F7F">servicenow.com</span></a><span
                style="color:black"></span></p>
          </div>
        </div>
        <p class="MsoNormal"><a
            title="https://www.linkedin.com/company/servicenow"
            href="https://www.linkedin.com/company/servicenow"
            moz-do-not-send="true"><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#7F7F7F">LinkedIn</span></a><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#7F7F7F"> | </span><a
            title="https://twitter.com/servicenow"
            href="https://twitter.com/servicenow" moz-do-not-send="true"><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#7F7F7F">Twitter</span></a><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#7F7F7F"> | </span><a
            title="https://www.youtube.com/user/servicenowinc"
            href="https://www.youtube.com/user/servicenowinc"
            moz-do-not-send="true"><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#7F7F7F">YouTube</span></a><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#7F7F7F"> | </span><a
            title="https://www.facebook.com/servicenow"
            href="https://www.facebook.com/servicenow"
            moz-do-not-send="true"><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#7F7F7F">Facebook</span></a></p>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">
</pre>
  </body>
</html>