<?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: Creating Aikau Site Pages for Share in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289243#M242373</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then I don't understand what the question is... you're not passing a value for the search term on the hash, so nothing is going to be set (either in the hash or in the search box).&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Nov 2016 14:26:51 GMT</pubDate>
    <dc:creator>ddraper</dc:creator>
    <dc:date>2016-11-21T14:26:51Z</dc:date>
    <item>
      <title>Creating Aikau Site Pages for Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289234#M242364</link>
      <description>Hi,i have followed this url (Creating Aikau Site Pages for Share | Alfresco Developer Blog&amp;nbsp;) to create Aikau Site Pages for Share (advanced search).&amp;nbsp; In share-confg-custom.xml file , i used "hdp/ws/components/advanced-search#scope=all_sites&amp;amp;amp;searchTerm="finally i can see button on header.Prob</description>
      <pubDate>Mon, 21 Nov 2016 06:50:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289234#M242364</guid>
      <dc:creator>janaka1984</dc:creator>
      <dc:date>2016-11-21T06:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Aikau Site Pages for Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289235#M242365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm a little bit confused by this question as it's not completely clear...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the button you're referring to the new new menu item that is added into the site pages menu bar (i.e. along with "Dashboard", "Document Library", etc). In this case you shouldn't be trying to change that menu item because the header component will be creating all of those links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to load a preference when you custom site page loads then you can do this in the WebScript controller that is generating the page (this would be the better way of doing it).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you could provide some more context as to what you're trying to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2016 10:26:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289235#M242365</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2016-11-21T10:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Aikau Site Pages for Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289236#M242366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes , new ("search") button added along with "Dashboard", "Document Library", etc site pages menu bar.&lt;/P&gt;&lt;P&gt;i am trying to change my new custom button, not the standard button&lt;/P&gt;&lt;P&gt;Also new button is related with URL&amp;nbsp; &amp;lt;page id="advanced-search"&amp;gt;&amp;lt;/page&amp;gt;&lt;/P&gt;&lt;P&gt;when i click on new button, URL of browser as follow. i can not set &lt;STRONG&gt;keyword&lt;/STRONG&gt; into&lt;STRONG&gt; searchTerm=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/10872_sitepage.JPG" style="width: 620px; height: 91px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;share-config-custom.xml&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;alfresco-config&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;config evaluator="string-compare" condition="SitePages" replace="false"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;pages&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;page id="advanced-search"&amp;gt;hdp/ws/components/advanced-search#scope=all_sites&amp;amp;amp;&lt;STRONG&gt;searchTerm=&lt;/STRONG&gt;&amp;lt;/page&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/pages&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/config&amp;gt;&lt;BR /&gt;&amp;lt;/alfresco-config&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2016 11:42:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289236#M242366</guid>
      <dc:creator>janaka1984</dc:creator>
      <dc:date>2016-11-21T11:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Aikau Site Pages for Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289237#M242367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So there are two questions here I think...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Firstly you're saying that you cannot set the searchTerm keyword from the site page link? However, in the XML snippet you've shown you aren't actually providing a search term ! I'm assuming you've actually tried putting something after the = in the value of the page element?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly it sounds like you're saying that the browser hash isn't being updated on search? Have you done any debugging to check whether or not the NavigationService code is being called? The&amp;nbsp;navigateToPage function should be called as this will ultimately update the browser hash - I would recommend adding a break point in that function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2016 12:27:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289237#M242367</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2016-11-21T12:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Aikau Site Pages for Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289238#M242368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) yes. i can not set keyword. i am trying to put keyword after '&lt;STRONG&gt;searchTerm=&lt;/STRONG&gt;'&lt;/P&gt;&lt;P&gt;2) When i click on new button, i tried to update browser hash&lt;/P&gt;&lt;P&gt;yes.&amp;nbsp;navigateToPage function is called. i debugged&amp;nbsp; it,&amp;nbsp; In 'data' parameter , url is same as &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;site/project-overview/hdp/ws/components/advanced-search#scope=all_sites&amp;amp;searchTerm=&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2016 13:04:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289238#M242368</guid>
      <dc:creator>janaka1984</dc:creator>
      <dc:date>2016-11-21T13:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Aikau Site Pages for Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289239#M242369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the data.type value? (in the debugger when you're clicking on your button)... is it "HASH"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2016 13:20:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289239#M242369</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2016-11-21T13:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Aikau Site Pages for Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289240#M242370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no it is "PAGE_RELATIVE"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2016 13:24:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289240#M242370</guid>
      <dc:creator>janaka1984</dc:creator>
      <dc:date>2016-11-21T13:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Aikau Site Pages for Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289241#M242371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But it does have the hash value in? Because once again you've provided an example with no value for the searchTerm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2016 13:29:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289241#M242371</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2016-11-21T13:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Aikau Site Pages for Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289242#M242372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it does not have hash value.&amp;nbsp; i added following screenshot which has data of navigateToPage()&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/10878_navigationdata.JPG" style="width: 620px; height: 171px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2016 14:03:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289242#M242372</guid>
      <dc:creator>janaka1984</dc:creator>
      <dc:date>2016-11-21T14:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Aikau Site Pages for Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289243#M242373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then I don't understand what the question is... you're not passing a value for the search term on the hash, so nothing is going to be set (either in the hash or in the search box).&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2016 14:26:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289243#M242373</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2016-11-21T14:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Aikau Site Pages for Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289244#M242374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i override allWidgetsProcessed() of SingleTextFeildForm and publish following topic (ALF_NAVIGATE_TO_PAGE.).&amp;nbsp; but i can see same result &lt;STRONG&gt;twice&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var currHash = hashUtils.getHash();&lt;BR /&gt;&amp;nbsp;currHash.searchTerm = keyword;&lt;/P&gt;&lt;P&gt;&amp;nbsp;this.alfPublish("ALF_NAVIGATE_TO_PAGE", {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url: ioQuery.objectToQuery(currHash),&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type: "HASH"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, true);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2016 14:42:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289244#M242374</guid>
      <dc:creator>janaka1984</dc:creator>
      <dc:date>2016-11-21T14:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Aikau Site Pages for Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289245#M242375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK... why are you overriding the allWidgetsProcessed function of SingleTextField form to do that?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2016 14:45:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289245#M242375</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2016-11-21T14:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Aikau Site Pages for Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289246#M242376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this function is used to check the initial state of the form.&amp;nbsp; then i use value of search field to assign into HASH, because search field widget is loaded first.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2016 15:03:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289246#M242376</guid>
      <dc:creator>janaka1984</dc:creator>
      <dc:date>2016-11-21T15:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Aikau Site Pages for Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289247#M242377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK... so then you must not be publishing a value for the hash to be set... rather than publishing with a type of "PAGE_RELATIVE", why not use a type of "HASH" instead and then the value of either an object with key/value pairs or a string.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2016 15:27:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289247#M242377</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2016-11-21T15:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Aikau Site Pages for Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289248#M242378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of use share-config-custom.xml to create custom button which is working with parameter, on HEADER&amp;nbsp; TITLE , i have used controller JS to setup custom aikau button widget with existing HEADER TITLE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reference : &lt;A class="link-titled" href="https://www.alfresco.com/blogs/developer/2013/09/04/customizing-the-share-header-menu-part-1/" title="https://www.alfresco.com/blogs/developer/2013/09/04/customizing-the-share-header-menu-part-1/" rel="nofollow noopener noreferrer"&gt;Customizing the Share Header Menu 1 | Alfresco Developer Blog&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var titleMenu = widgetUtils.findObject(model.jsonModel, "id", "HEADER_TITLE_MENU");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var searchManagerUrl = "hdp/ws/components/com/search#scope=all_sites&amp;amp;searchTerm="+keyword;&lt;BR /&gt;if (page.url.templateArgs.site)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; searchManagerUrl = "site/" + page.url.templateArgs.site + "/" + searchManagerUrl;&lt;BR /&gt;}&lt;BR /&gt;var searchItem = {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id: "SEARCH_CONFIG_PAGE_LINK",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name: "alfresco/menus/AlfMenuBarItem",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; config: {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label: msg.get("com-search-config.label"),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; title: msg.get("com-search.config.link"),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; targetUrl: searchManagerUrl&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;titleMenu.config.widgets.splice(0,0,searchItem);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;janaka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 06:49:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-aikau-site-pages-for-share/m-p/289248#M242378</guid>
      <dc:creator>janaka1984</dc:creator>
      <dc:date>2016-11-24T06:49:48Z</dc:date>
    </item>
  </channel>
</rss>

