<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Eliot,</p>
    <p>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:</p>
    <p>    EXM-36264 Code templates at framework level</p>
    <p>In the meantime maybe you can create custom Author actions but
      they will work only in the Author visual editing mode.</p>
    <p>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.<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 00:38, Eliot Kimber wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:SN4PR0801MB7757445ACF03765F522C2EACF16E9@SN4PR0801MB7757.namprd08.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style>@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;}div.WordSection1
        {page:WordSection1;}</style>
      <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"><o:p> </o:p></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"><o:p> </o:p></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"><o:p> </o:p></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"><o:p> </o:p></p>
        <p class="MsoNormal">Thanks,</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">E.</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <div>
            <p class="MsoNormal" style="margin-bottom:7.5pt"><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#6D6D6D">_____________________________________________</span><span
                style="color:black"><o:p></o:p></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"><o:p></o:p></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"><o:p></o:p></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"><o:p></o:p></span></p>
            <p class="MsoNormal" style="margin-bottom:3.0pt"><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#7F7F7F">M:
                512 554 9368</span><span style="color:black"><o:p></o:p></span></p>
            <p class="MsoNormal"><a href="https://www.servicenow.com"
                title="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"><o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><a
            href="https://www.linkedin.com/company/servicenow"
            title="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
            href="https://twitter.com/servicenow"
            title="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
            href="https://www.youtube.com/user/servicenowinc"
            title="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
            href="https://www.facebook.com/servicenow"
            title="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>