<?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: Unable to update html template file in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75694#M24025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can rely on the official documentation:&amp;nbsp;&lt;A class="link-titled" href="https://docs.alfresco.com/5.0/concepts/dev-extensions-share-override-ootb-surf-webscripts.html" title="https://docs.alfresco.com/5.0/concepts/dev-extensions-share-override-ootb-surf-webscripts.html" rel="nofollow noopener noreferrer"&gt;Modifying Out-of-the-box Surf Web Scripts | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can, please, share your project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Feb 2018 17:29:30 GMT</pubDate>
    <dc:creator>douglascrp</dc:creator>
    <dc:date>2018-02-20T17:29:30Z</dc:date>
    <item>
      <title>Unable to update html template file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75687#M24018</link>
      <description>Hi,I'm trying to update my-tasks.get.html.ftl file on one of my Tomcat, but I when I log in I cannot see any changes. I'm simply trying to add another button (&amp;lt;span&amp;gt; element) in this file, and I have uploaded the modified version inside :d:\alfresco-community\tomcat\webapps\share\WEB-INF\class</description>
      <pubDate>Fri, 16 Feb 2018 14:52:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75687#M24018</guid>
      <dc:creator>baki1983</dc:creator>
      <dc:date>2018-02-16T14:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update html template file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75688#M24019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After you start&amp;nbsp;the service, if you navigate into that folder, do you still see your changed file in there?&lt;/P&gt;&lt;P&gt;I am asking you this because you are changing a file directly inside the share app (share expanded folder or share.war), and that is not a good practice, as when Tomcat starts, it can redeploy the application, and have your file removed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The right thing to do is to extend the ftl file using the extension method.&lt;/P&gt;&lt;P&gt;A quick test is to move your changed file into the following path:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;d:\alfresco-community\tomcat\shared\classes\alfresco\web-extension\alfresco\site-webscripts\org\alfresco\components\dashlets\&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Do this, restart the service and try again.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 23:27:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75688#M24019</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2018-02-16T23:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update html template file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75689#M24020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Douglas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yup, still there...hasn't been overwritten. Share.war is always present and since the war file is already exploded, Tomcat will persist my changes in files across restarts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to move the file as you suggested (created all the missing directories) and still the same - new content simply won't load. Tried to restart, refresh web scripts - no luck. Interestingly, when I run my demo project over maven (using mvn alfresco:run) I can always see my changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to re-create share.war and re-deploy on the server? What if I enable Tomcat manager and reload the share webapp, would that help?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Feb 2018 11:55:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75689#M24020</guid>
      <dc:creator>baki1983</dc:creator>
      <dc:date>2018-02-17T11:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update html template file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75690#M24021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What folders you had to create, exactly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Feb 2018 00:25:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75690#M24021</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2018-02-18T00:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update html template file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75691#M24022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;web-extension folder didn't have any subfolders inside (it had only one file custom-slingshot-application-context.xml.sample). I had to create the whole path under web-extension&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;alfresco\site-webscripts\org\alfresco\components\dashlets&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;The whole path now looks like this :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;d:\alfresco-community\tomcat\webapps\share\WEB-INF\classes\alfresco\web-extension\alfresco\site-webscripts\org\alfresco\components\dashlets\my-tasks.get.html&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Do I need to create a module instead using maven and deploy it to Alfresco?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Feb 2018 09:08:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75691#M24022</guid>
      <dc:creator>baki1983</dc:creator>
      <dc:date>2018-02-18T09:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update html template file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75692#M24023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry. I have just noticed I sent the wrong path to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, remove the alfresco folder just after web-extension, and try again.&lt;/P&gt;&lt;P&gt;The full path should be&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;d:\alfresco-community\&lt;STRONG&gt;tomcat\shared&lt;/STRONG&gt;\classes\alfresco\web-extension\site-webscripts\org\alfresco\components\dashlets\my-tasks.get.html&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But please, pay attention for something. It is not inside the &lt;STRONG&gt;share&amp;nbsp;&lt;/STRONG&gt;application folder. It is inside the &lt;STRONG&gt;shared&lt;/STRONG&gt; folder, inside toncat, which is the right place to put your extension files.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2018 13:20:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75692#M24023</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2018-02-19T13:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update html template file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75693#M24024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, You were right, I was copying it under webapps\share. Tried as you suggested&amp;nbsp;but still the same. Tried both with and without alfresco under tomcat\shared and no luck (even after restart).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any documentation references I could read? I guess we're missing smth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 16:50:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75693#M24024</guid>
      <dc:creator>baki1983</dc:creator>
      <dc:date>2018-02-20T16:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update html template file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75694#M24025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can rely on the official documentation:&amp;nbsp;&lt;A class="link-titled" href="https://docs.alfresco.com/5.0/concepts/dev-extensions-share-override-ootb-surf-webscripts.html" title="https://docs.alfresco.com/5.0/concepts/dev-extensions-share-override-ootb-surf-webscripts.html" rel="nofollow noopener noreferrer"&gt;Modifying Out-of-the-box Surf Web Scripts | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can, please, share your project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 17:29:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75694#M24025</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2018-02-20T17:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update html template file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75695#M24026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks I'll look at this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a some sort of template caching mechanism or similar? How can I force templates to reload, do I need to delete some folder maybe?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Btw, I tried to reload the share webapp from Tomcat's manager...and still the same. I'm starting to wonder am I editing the right file...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 17:38:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75695#M24026</guid>
      <dc:creator>baki1983</dc:creator>
      <dc:date>2018-02-21T17:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update html template file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75696#M24027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, I finally solved this darn thing. I had to delete the share folder under webapps, rebuild the share.war file&lt;/P&gt;&lt;P&gt;and let Tomcat unpack this file during bootup. When I logged in again, everything showed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Funny thing, reloading webapp didn't work, not sure why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Closing the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 13:53:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75696#M24027</guid>
      <dc:creator>baki1983</dc:creator>
      <dc:date>2018-02-22T13:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update html template file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75697#M24028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just realized problem was smth completely else. I tottaly forgot I had an extra share JAR module installed (it's in WEB-INF\lib under share) and it had another copy of this file, clearly unmodified. This version takes presence over anything that's inside share.war (and tomcat\shared as well). This copy didn't show in my file searches because it was inside JAR file (module).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can now finally close this thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 18:24:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75697#M24028</guid>
      <dc:creator>baki1983</dc:creator>
      <dc:date>2018-02-22T18:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update html template file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75698#M24029</link>
      <description>&lt;P&gt;Could be useful:&lt;/P&gt;&lt;P&gt;I had the same issue with no problems on the jars.&amp;nbsp;The error was on the alf_data_dev which was no updated and contained an older version of the .ftl. I deleted the folder&amp;nbsp;alf_data_dev and restarted the application to solve the problem&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 16:44:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75698#M24029</guid>
      <dc:creator>Latence132</dc:creator>
      <dc:date>2020-02-21T16:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update html template file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75699#M24030</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/28793"&gt;@baki1983&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Glad you got it sorted &amp;amp; thanks for updating us on how your resolved it - can be really useful to other users in a similar situation.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 09:34:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-update-html-template-file/m-p/75699#M24030</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-02-24T09:34:42Z</dc:date>
    </item>
  </channel>
</rss>

