<?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: How to Allow ClientLib that is under /apps.. componen... in Adobe Experience Manager Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-allow-clientlib-that-is-under-apps-component-level-in/m-p/368457#M26738</link>
    <description>&lt;LI-USER uid="7532759" login="asutoshj7327906"&gt;&lt;/LI-USER&gt; Wonderful response.</description>
    <pubDate>Mon, 29 Jun 2020 10:41:50 GMT</pubDate>
    <dc:creator>kautuk_sahni</dc:creator>
    <dc:date>2020-06-29T10:41:50Z</dc:date>
    <item>
      <title>How to Allow ClientLib that is under /apps.. component level in Dispatcher.any file</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-allow-clientlib-that-is-under-apps-component-level-in/m-p/352755#M26736</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As previously we were creating clientLibs under /etc/designs, and to allow these styles in dispatcher : we use to allow something like&lt;/P&gt;&lt;PRE&gt;# design and template assets
/0050 { /type "allow" /glob "GET /etc/designs/*" }

# collected JS/CSS from the components and design
/0051 { /type "allow" /glob "GET /etc/clientlibs/*" }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Now, since we moved all the clientLibs specific to component level.&lt;/P&gt;&lt;P&gt;exmaple:&amp;nbsp; /apps/myproject/clientLibs or /apps/myproject2/clientLibs2 or&amp;nbsp;/apps/myproject3/clientLibs3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In that case how to allow all the clientlibs in dispatcher.any file, ClientLibs i.e. under the /apps folder to different different component.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;LI-USER uid="5042721"&gt;&lt;/LI-USER&gt;&amp;nbsp;&amp;nbsp;&lt;LI-USER uid="6786635"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 12:30:55 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-allow-clientlib-that-is-under-apps-component-level-in/m-p/352755#M26736</guid>
      <dc:creator>tushaar_srivastava</dc:creator>
      <dc:date>2020-01-29T12:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to Allow ClientLib that is under /apps.. componen...</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-allow-clientlib-that-is-under-apps-component-level-in/m-p/352763#M26737</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="13016566"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Clientlibs under /apps should have the "&lt;SPAN&gt;allowProxy" property and will be invoked via a proxy servlet.&lt;BR /&gt;It is recommended to locate client libraries under&amp;nbsp;&lt;SPAN class="ph codeph"&gt;/apps&amp;nbsp;&lt;/SPAN&gt;and expose them via&amp;nbsp;&lt;SPAN class="ph codeph"&gt;/etc.clientlibs&amp;nbsp;&lt;/SPAN&gt;by leveraging the&amp;nbsp;&lt;SPAN class="ph codeph"&gt;allowProxy&amp;nbsp;&lt;/SPAN&gt;property.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So if the file is like&amp;nbsp;/apps/projects/clientlibs/base/resources/icon.png then it will be accessed via&amp;nbsp;/etc.clientlibs/projects/clientlibs/base/resources/icon.png&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Along with this you will need to add the below rules in dispatcher.&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;under filter section allow the below path:&lt;BR /&gt;&lt;/SPAN&gt;/0002 { /type "allow" /url "/etc.clientlibs/*" }&lt;/LI&gt;&lt;LI&gt;under rules section allow the below paths:&lt;BR /&gt;/0001 { /glob "/etc.clientlibs/*.css" /type "allow" }&lt;BR /&gt;/0002 { /glob "/etc.clientlibs/*.js" /type "allow" }&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;Please refer the below link for more details:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.adobe.com/content/help/en/experience-manager-65/developing/introduction/clientlibs.html#locating-a-client-library-folder-and-using-the-proxy-client-libraries-servlet" target="_blank"&gt;https://docs.adobe.com/content/help/en/experience-manager-65/developing/introduction/clientlibs.html#locating-a-client-library-folder-and-using-the-proxy-client-libraries-servlet&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Asutosh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 14:19:54 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-allow-clientlib-that-is-under-apps-component-level-in/m-p/352763#M26737</guid>
      <dc:creator>Asutosh_Jena_</dc:creator>
      <dc:date>2020-01-29T14:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to Allow ClientLib that is under /apps.. componen...</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-allow-clientlib-that-is-under-apps-component-level-in/m-p/368457#M26738</link>
      <description>&lt;LI-USER uid="7532759" login="asutoshj7327906"&gt;&lt;/LI-USER&gt; Wonderful response.</description>
      <pubDate>Mon, 29 Jun 2020 10:41:50 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-allow-clientlib-that-is-under-apps-component-level-in/m-p/368457#M26738</guid>
      <dc:creator>kautuk_sahni</dc:creator>
      <dc:date>2020-06-29T10:41:50Z</dc:date>
    </item>
  </channel>
</rss>

