<?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 avoid multiple define error while referring custom libraries? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-avoid-multiple-define-error-while-referring-custom/m-p/37859#M15976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Axel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jan 2018 12:24:22 GMT</pubDate>
    <dc:creator>mageshvg</dc:creator>
    <dc:date>2018-01-01T12:24:22Z</dc:date>
    <item>
      <title>How to avoid multiple define error while referring custom libraries?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-avoid-multiple-define-error-while-referring-custom/m-p/37855#M15972</link>
      <description>Hello Everyone,I have created a surf page in my alfresco share in my AMP application.In this page, the view FTL file, i have made a simple angular application. for this application we have referred some javascript library related to angular and jQuery libraries.I am getting error like this below:For</description>
      <pubDate>Fri, 29 Dec 2017 13:23:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-avoid-multiple-define-error-while-referring-custom/m-p/37855#M15972</guid>
      <dc:creator>mageshvg</dc:creator>
      <dc:date>2017-12-29T13:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid multiple define error while referring custom libraries?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-avoid-multiple-define-error-while-referring-custom/m-p/37856#M15973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ideally, you'd only try to&amp;nbsp;load libraries in other version other than provided by&amp;nbsp;default in completely custom pages wihtout any Share / Aikau components in it. Otherwise you will always risk conflicts - even Alfresco &lt;A href="https://issues.alfresco.com/jira/browse/ALF-21855" rel="nofollow noopener noreferrer"&gt;managed to produce a conflict they now do not intend to fix&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;It is technically possible to override the global Dojo loader initialisation, but&amp;nbsp;it is&amp;nbsp;the absolute wrong thing to do. If you want to extend Share, you'd do best to work within the libraries already provided to avoid a lot of problems. If you want to have something drastically different, create a custom Surf page that does NOT use any of the default page templates Alfresco provides and use your own, so you have full control over what libraries get loaded in the global context. But be aware that you will likely not be able to use any of the default Share components in that page, i.e. the standard Share menu rendered by Aikau widgets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2017 11:03:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-avoid-multiple-define-error-while-referring-custom/m-p/37856#M15973</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-12-30T11:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid multiple define error while referring custom libraries?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-avoid-multiple-define-error-while-referring-custom/m-p/37857#M15974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Axel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies for delay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have followed the way below to create a page in Share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://docs.alfresco.com/5.2/tasks/dev-extensions-share-tutorials-add-page.html" title="http://docs.alfresco.com/5.2/tasks/dev-extensions-share-tutorials-add-page.html" rel="nofollow noopener noreferrer"&gt;Adding a new Surf page to Share | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please explain your below words in detail:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;"If you want to have something drastically different, create a custom Surf page that does NOT use any of the default page templates Alfresco provides and use your own, so you have full control over what libraries get loaded in the global context"&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to create a surf page which does NOT have any of the default&amp;nbsp; page templates Alfresco provides?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jan 2018 11:07:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-avoid-multiple-define-error-while-referring-custom/m-p/37857#M15974</guid>
      <dc:creator>mageshvg</dc:creator>
      <dc:date>2018-01-01T11:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid multiple define error while referring custom libraries?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-avoid-multiple-define-error-while-referring-custom/m-p/37858#M15975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simple: Do not use any of the template instances that Alfresco bundles out-of-the-box. By following that documentation page you linked, you should already be using a custom template instance you control.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jan 2018 12:21:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-avoid-multiple-define-error-while-referring-custom/m-p/37858#M15975</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-01-01T12:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid multiple define error while referring custom libraries?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-avoid-multiple-define-error-while-referring-custom/m-p/37859#M15976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Axel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jan 2018 12:24:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-avoid-multiple-define-error-while-referring-custom/m-p/37859#M15976</guid>
      <dc:creator>mageshvg</dc:creator>
      <dc:date>2018-01-01T12:24:22Z</dc:date>
    </item>
  </channel>
</rss>

