<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: admin-console webscripts and surf development mode in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/admin-console-webscripts-and-surf-development-mode/m-p/258713#M211843</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;there is already a wont-fixed-closed ticket for this&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-9970" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-9970&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But…there aren't things you can't do with surf/share/alfresco &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To have a workaround to work with a (single) custom admin-console webscript and development mode, so that one does not have to restart share after a change to the webscript is to hard-wire the ctool region:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;create site-data/components directory in shared/alfresco/web-extension&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;create file page.ctool.admin-console.xml in the newly created components directory&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;and add this snippet there&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;component&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;region-id&amp;gt;ctool&amp;lt;/region-id&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;source-id&amp;gt;console&amp;lt;/source-id&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;scope&amp;gt;page&amp;lt;/scope&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;uri&amp;gt;/webscript/url/of/your/admin/console/webscript&amp;lt;/uri&amp;gt;&lt;BR /&gt;&amp;lt;/component&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe its helpful to others as well. The downside of this approach is that the other admin-console pages are no longer accessible as long as the file page.ctool.admin-console.xml exists, but this is acceptable for the development I think.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; lothar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Mar 2012 11:18:36 GMT</pubDate>
    <dc:creator>lotharmärkle</dc:creator>
    <dc:date>2012-03-16T11:18:36Z</dc:date>
    <item>
      <title>admin-console webscripts and surf development mode</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/admin-console-webscripts-and-surf-development-mode/m-p/258712#M211842</link>
      <description>Hello,while creating a small admin-console webscript I discoverd that this is not possible using the surf developer configuration:&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;autowire&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– Pick the mode: "production" or "development" –&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mode&amp;gt;development&amp;lt;/mode&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/autowire&amp;gt;‍</description>
      <pubDate>Sun, 05 Feb 2012 11:22:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/admin-console-webscripts-and-surf-development-mode/m-p/258712#M211842</guid>
      <dc:creator>lotharmärkle</dc:creator>
      <dc:date>2012-02-05T11:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: admin-console webscripts and surf development mode</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/admin-console-webscripts-and-surf-development-mode/m-p/258713#M211843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;there is already a wont-fixed-closed ticket for this&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-9970" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-9970&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But…there aren't things you can't do with surf/share/alfresco &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To have a workaround to work with a (single) custom admin-console webscript and development mode, so that one does not have to restart share after a change to the webscript is to hard-wire the ctool region:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;create site-data/components directory in shared/alfresco/web-extension&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;create file page.ctool.admin-console.xml in the newly created components directory&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;and add this snippet there&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;component&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;region-id&amp;gt;ctool&amp;lt;/region-id&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;source-id&amp;gt;console&amp;lt;/source-id&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;scope&amp;gt;page&amp;lt;/scope&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;uri&amp;gt;/webscript/url/of/your/admin/console/webscript&amp;lt;/uri&amp;gt;&lt;BR /&gt;&amp;lt;/component&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe its helpful to others as well. The downside of this approach is that the other admin-console pages are no longer accessible as long as the file page.ctool.admin-console.xml exists, but this is acceptable for the development I think.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; lothar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2012 11:18:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/admin-console-webscripts-and-surf-development-mode/m-p/258713#M211843</guid>
      <dc:creator>lotharmärkle</dc:creator>
      <dc:date>2012-03-16T11:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: admin-console webscripts and surf development mode</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/admin-console-webscripts-and-surf-development-mode/m-p/258714#M211844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi lothar, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;good work. thx &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 16:56:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/admin-console-webscripts-and-surf-development-mode/m-p/258714#M211844</guid>
      <dc:creator>bjoern_</dc:creator>
      <dc:date>2012-03-22T16:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: admin-console webscripts and surf development mode</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/admin-console-webscripts-and-surf-development-mode/m-p/258715#M211845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Works like a charm for a single admin-console webscript. Just what I needed for a webscript I'm developing… Will earn me lots of time!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a million for sharing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 11:12:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/admin-console-webscripts-and-surf-development-mode/m-p/258715#M211845</guid>
      <dc:creator>alejandrogarcia</dc:creator>
      <dc:date>2013-03-20T11:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: admin-console webscripts and surf development mode</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/admin-console-webscripts-and-surf-development-mode/m-p/258716#M211846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can also press "Refresh Web Scripts" on the &lt;/SPAN&gt;&lt;A href="http://$SHARE_URL/share/service/index" rel="nofollow noopener noreferrer"&gt;http://$SHARE_URL/share/service/index&lt;/A&gt;&lt;SPAN&gt; page for clearing web scripts cache instead of switch the share in the development mode. Your web script changes also will be applied without restarting&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 09:42:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/admin-console-webscripts-and-surf-development-mode/m-p/258716#M211846</guid>
      <dc:creator>maxim_sharai</dc:creator>
      <dc:date>2014-11-11T09:42:00Z</dc:date>
    </item>
  </channel>
</rss>

