<?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: Override &amp;quot;item.lib.ftl&amp;quot; file in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/override-quot-item-lib-ftl-quot-file/m-p/8288#M3768</link>
    <description>&lt;P&gt;Thank you for the quick answer.&lt;/P&gt;&lt;P&gt;Unfortunately, it appears to be not working (or I did it wrong): the same old "item.lib.ftl" from share is used by the system. (I did the test by calling "alfresco/s/slingshot/doclib2/node/workspace/SpacesStore/XXXXX" and check the JSON result).&lt;/P&gt;&lt;P&gt;My file is located in the JAR : &lt;SPAN&gt;alfresco/extension/templates/webscripts/alfresco/slingshot/documentlibrary-v2/item.lib.ftl&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is there any configuration xml file to modify/add or just creating the new file in this location should be enough ?&lt;/P&gt;&lt;P&gt;EDIT : Ok I didn't see your second reply. Thank you for information&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Thu, 03 Feb 2022 15:26:11 GMT</pubDate>
    <dc:creator>ValentinLeblanc</dc:creator>
    <dc:date>2022-02-03T15:26:11Z</dc:date>
    <item>
      <title>Override "item.lib.ftl" file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/override-quot-item-lib-ftl-quot-file/m-p/8285#M3765</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to override the file&amp;nbsp;"item.lib.ftl" which is located in share :&amp;nbsp; alfresco-share-services/src/main/resources/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary-v2&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible ? How could I do this ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 14:45:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/override-quot-item-lib-ftl-quot-file/m-p/8285#M3765</guid>
      <dc:creator>ValentinLeblanc</dc:creator>
      <dc:date>2022-02-03T14:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Override "item.lib.ftl" file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/override-quot-item-lib-ftl-quot-file/m-p/8286#M3766</link>
      <description>&lt;P&gt;If you're using the Alfresco Maven SDK to create a JAR/AMP, you can create that file in "/src/main/resources/alfresco/extension/templates/webscripts/alfresco/slingshot/documentlibrary-v2/item.lib.ftl". This is a Repository extension.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 14:53:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/override-quot-item-lib-ftl-quot-file/m-p/8286#M3766</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2022-02-03T14:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Override "item.lib.ftl" file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/override-quot-item-lib-ftl-quot-file/m-p/8287#M3767</link>
      <description>&lt;P&gt;That may not work, since this WebScript is included as an additional AMP in Share Services module:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/alfresco-community-repo/tree/master/amps/share-services" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-community-repo/tree/master/amps/share-services&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I guess you'll need to use a different approach.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 15:22:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/override-quot-item-lib-ftl-quot-file/m-p/8287#M3767</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2022-02-03T15:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Override "item.lib.ftl" file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/override-quot-item-lib-ftl-quot-file/m-p/8288#M3768</link>
      <description>&lt;P&gt;Thank you for the quick answer.&lt;/P&gt;&lt;P&gt;Unfortunately, it appears to be not working (or I did it wrong): the same old "item.lib.ftl" from share is used by the system. (I did the test by calling "alfresco/s/slingshot/doclib2/node/workspace/SpacesStore/XXXXX" and check the JSON result).&lt;/P&gt;&lt;P&gt;My file is located in the JAR : &lt;SPAN&gt;alfresco/extension/templates/webscripts/alfresco/slingshot/documentlibrary-v2/item.lib.ftl&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is there any configuration xml file to modify/add or just creating the new file in this location should be enough ?&lt;/P&gt;&lt;P&gt;EDIT : Ok I didn't see your second reply. Thank you for information&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 15:26:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/override-quot-item-lib-ftl-quot-file/m-p/8288#M3768</guid>
      <dc:creator>ValentinLeblanc</dc:creator>
      <dc:date>2022-02-03T15:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Override "item.lib.ftl" file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/override-quot-item-lib-ftl-quot-file/m-p/8289#M3769</link>
      <description>&lt;P&gt;I guess that, from an extension point, you should create two modules:&lt;/P&gt;
&lt;P&gt;* One module in Share to change the invocation to &lt;A href="http://127.0.0.1:8080/alfresco/s/slingshot/doclib2/node/workspace/SpacesStore/XXX" target="_blank" rel="nofollow noopener noreferrer"&gt;http://127.0.0.1:8080/alfresco/s/slingshot/doclib2/node/workspace/SpacesStore/XXX&lt;/A&gt; to a custom WebScript (i.e. &lt;A href="http://127.0.0.1:8080/alfresco/s/slingshot/doclib2/node-custom/workspace/SpacesStore/XXX" target="_blank" rel="nofollow noopener noreferrer"&gt;http://127.0.0.1:8080/alfresco/s/slingshot/doclib2/node-custom/workspace/SpacesStore/XXX&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;* One module in Repo to implement that new "node-custom" WebScript (including the item.lib.ftl modifications)&lt;/P&gt;
&lt;P&gt;I don't see any other approach to get that done.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 15:31:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/override-quot-item-lib-ftl-quot-file/m-p/8289#M3769</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2022-02-03T15:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Override "item.lib.ftl" file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/override-quot-item-lib-ftl-quot-file/m-p/8290#M3770</link>
      <description>&lt;P&gt;okay, thanks for this, i will try it this way.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 15:40:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/override-quot-item-lib-ftl-quot-file/m-p/8290#M3770</guid>
      <dc:creator>ValentinLeblanc</dc:creator>
      <dc:date>2022-02-03T15:40:40Z</dc:date>
    </item>
  </channel>
</rss>

