<?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: share-header.get.js extension override doesn't always work? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/share-header-get-js-extension-override-doesn-t-always-work/m-p/302240#M255370</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;yes, the faceted search page is different from the majority of Share pages. It is built 100% on the new Aikau concept / framework of Alfresco. It basically is a page delivered by a single web script, the faceted-search.get. If you want to modify the Share header for that page, you need to apply a customization to that web script too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Sep 2014 10:29:00 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2014-09-23T10:29:00Z</dc:date>
    <item>
      <title>share-header.get.js extension override doesn't always work?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-header-get-js-extension-override-doesn-t-always-work/m-p/302239#M255369</link>
      <description>I built a small extension for share-header-get.jar that removes a list of widgets from the Share header menu.&amp;nbsp; It works everywhere *except* in the search results screen.&amp;nbsp; That screen shows the original header including the items that should be getting removed.&amp;nbsp; Is there a different javascript file t</description>
      <pubDate>Thu, 18 Sep 2014 18:25:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-header-get-js-extension-override-doesn-t-always-work/m-p/302239#M255369</guid>
      <dc:creator>sscbrian</dc:creator>
      <dc:date>2014-09-18T18:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: share-header.get.js extension override doesn't always work?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-header-get-js-extension-override-doesn-t-always-work/m-p/302240#M255370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;yes, the faceted search page is different from the majority of Share pages. It is built 100% on the new Aikau concept / framework of Alfresco. It basically is a page delivered by a single web script, the faceted-search.get. If you want to modify the Share header for that page, you need to apply a customization to that web script too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 10:29:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-header-get-js-extension-override-doesn-t-always-work/m-p/302240#M255370</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2014-09-23T10:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: share-header.get.js extension override doesn't always work?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-header-get-js-extension-override-doesn-t-always-work/m-p/302241#M255371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Simply add:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;alwaysApply&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;webscript&amp;gt;share-header&amp;lt;/webscript&amp;gt;&lt;BR /&gt;&amp;lt;/alwaysApply&amp;gt;&lt;BR /&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;…to your extension. See this example from our own customization for our Cloud offering:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;customization&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;targetPackageRoot&amp;gt;org.alfresco.share.pages&amp;lt;/targetPackageRoot&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sourcePackageRoot&amp;gt;org.alfresco.cloud.core.customizations.share.header&amp;lt;/sourcePackageRoot&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;alwaysApply&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;webscript&amp;gt;share-header&amp;lt;/webscript&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/alwaysApply&amp;gt;&lt;BR /&gt;&amp;lt;/customization&amp;gt;&lt;BR /&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 15:14:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-header-get-js-extension-override-doesn-t-always-work/m-p/302241#M255371</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2014-09-23T15:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: share-header.get.js extension override doesn't always work?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-header-get-js-extension-override-doesn-t-always-work/m-p/302242#M255372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;AlwaysApply is not working as I would expect. In my case it is causing my meniuitem to appear twice in Share Header &amp;amp; not at all in faceted search results. I know it is somehow related to my js to add menuitem and the targetPackageRoot because if I use (alwaysApply &amp;amp;) org.alfresco.share.pages as targetPackageRoot, it appears in Faceted Search Results but not in Share Header. However if I use org.alfresco.share.header as targetPackageRoot it just appears twice in Share Header but not at all in Faceted Search Results&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; BTW, I was using as guidance: &lt;/SPAN&gt;&lt;A href="http://ohej.github.io/alfresco-tutorials/tutorial/aikau/tutorial.html#adding-a-menu-item-to-the-header" rel="nofollow noopener noreferrer"&gt;http://ohej.github.io/alfresco-tutorials/tutorial/aikau/tutorial.html#adding-a-menu-item-to-the-header&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 18:15:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-header-get-js-extension-override-doesn-t-always-work/m-p/302242#M255372</guid>
      <dc:creator>mwallach</dc:creator>
      <dc:date>2015-03-05T18:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: share-header.get.js extension override doesn't always work?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-header-get-js-extension-override-doesn-t-always-work/m-p/302243#M255373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Any luck so far? I am having the same problem..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 10:50:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-header-get-js-extension-override-doesn-t-always-work/m-p/302243#M255373</guid>
      <dc:creator>grk</dc:creator>
      <dc:date>2015-04-23T10:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: share-header.get.js extension override doesn't always work?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-header-get-js-extension-override-doesn-t-always-work/m-p/302244#M255374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmmm, hatt doesn't seem to do anything at all.&amp;nbsp; Script still works the same as it did without the alwaysApply option applied to it.&amp;nbsp; Header is modified on non-search pages, but the search pages are still coming up incorrect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've also tried modifying faceted search, but so far all I've managed to do there is completely break my Alfresco display.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; Apparently it doesn't work the same way as the regular share header…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 15:15:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-header-get-js-extension-override-doesn-t-always-work/m-p/302244#M255374</guid>
      <dc:creator>sscbrian</dc:creator>
      <dc:date>2015-07-01T15:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: share-header.get.js extension override doesn't always work?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-header-get-js-extension-override-doesn-t-always-work/m-p/302245#M255375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No luck so far with either suggestion given (as written, but they are both very informative and will likely lead to an eventual fix).&amp;nbsp; However, I was otherwise occupied for some time, I'm finally able to spend some time on this again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 15:17:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-header-get-js-extension-override-doesn-t-always-work/m-p/302245#M255375</guid>
      <dc:creator>sscbrian</dc:creator>
      <dc:date>2015-07-01T15:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: share-header.get.js extension override doesn't always work?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-header-get-js-extension-override-doesn-t-always-work/m-p/302246#M255376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just couldn't get it done through a module.&amp;nbsp; I'm sure it *can* be done, but after hours of paging through Alfresco docs and not finding what I needed, I finally gave up and just hacked my code onto the end of the deployed faceted-search.get.js file.&amp;nbsp; And of course, I documented it on our upgrade process so it can be duplicated in the future as necessary when the hack gets overwritten by upgrades/WAR changes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 14:00:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-header-get-js-extension-override-doesn-t-always-work/m-p/302246#M255376</guid>
      <dc:creator>sscbrian</dc:creator>
      <dc:date>2015-07-10T14:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: share-header.get.js extension override doesn't always work?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-header-get-js-extension-override-doesn-t-always-work/m-p/302247#M255377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This has been asked about again on one of my blog posts, so I've provided a sample… you can review the comment here: &lt;/SPAN&gt;&lt;A href="http://blogs.alfresco.com/wp/developer/2013/09/16/customizing-the-share-header-part-3/#comment-193666" rel="nofollow noopener noreferrer"&gt;http://blogs.alfresco.com/wp/developer/2013/09/16/customizing-the-share-header-part-3/#comment-193666&lt;/A&gt;&lt;SPAN&gt; which contains a link to the sample extension download.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 15:07:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-header-get-js-extension-override-doesn-t-always-work/m-p/302247#M255377</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2015-07-10T15:07:13Z</dc:date>
    </item>
  </channel>
</rss>

