<?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 Change results URL in AIkau faceted search page in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/change-results-url-in-aikau-faceted-search-page/m-p/291638#M244768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have some difficulties customizing the Aikau faceted search page, which may be more a matter of lack of my knowledge about dojo/AMD.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I want to do is to replace the document details page URL by a download URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I extended the Search Results Widget to include my own custom module :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var searchResultWidget = widgetUtils.findObject(model.jsonModel, "id", "FCTSRCH_SEARCH_RESULT");&lt;BR /&gt;if(searchResultWidget) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;searchResultWidget.name = "mynamespace/search/CustomAlfSearchResult";&lt;BR /&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I understand search results URLs are rendered this way : AlfSearchResult module &amp;gt; uses SearchResultPropertyLink module &amp;gt; mixins _SearchResultLinkMixin renderer &amp;gt; bring the "generateSearchLinkPayload" function &amp;gt; renders URLs depending on the result type&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to override this "generateSearchLinkPayload" function but I can't figure out what is the best way to do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for the help !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Mar 2016 08:23:16 GMT</pubDate>
    <dc:creator>tonyrivet</dc:creator>
    <dc:date>2016-03-25T08:23:16Z</dc:date>
    <item>
      <title>Change results URL in AIkau faceted search page</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/change-results-url-in-aikau-faceted-search-page/m-p/291638#M244768</link>
      <description>Hi,I have some difficulties customizing the Aikau faceted search page, which may be more a matter of lack of my knowledge about dojo/AMD.What I want to do is to replace the document details page URL by a download URL.I extended the Search Results Widget to include my own custom module :var searchRes</description>
      <pubDate>Fri, 25 Mar 2016 08:23:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/change-results-url-in-aikau-faceted-search-page/m-p/291638#M244768</guid>
      <dc:creator>tonyrivet</dc:creator>
      <dc:date>2016-03-25T08:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Change results URL in AIkau faceted search page</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/change-results-url-in-aikau-faceted-search-page/m-p/291639#M244769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your mileage with this answer will depend upon what version of Aikau you're using...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We made some updates to the AlfSearchResult widget to make it more customizable, essentially breaking it up into a separate functions for each part of widget. So if you want to change how the URL used when clicking on a link then you can override the "createDisplayNameRenderer" function (which by default returns a "SearchResultPropertyLink" widget).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your custom widget overrides this function to return a custom link widget then you can override its "generateSearchLinkPayload" and/or "getPublishTopic" functions to change where search results go to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To provide a bit of context here, we wrote the AlfSearchResult widget for performance reasons and perhaps we could have done a better job of making it more customizable. So the method described above will work, but is perhaps more complex than other Aikau customization use cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, apologies for the delay in answering this question - hopefully it doesn't come too late.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 10:04:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/change-results-url-in-aikau-faceted-search-page/m-p/291639#M244769</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2016-09-15T10:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Change results URL in AIkau faceted search page</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/change-results-url-in-aikau-faceted-search-page/m-p/291640#M244770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&amp;nbsp; &lt;B&gt;Dave Draper&lt;/B&gt;‌ I wants to do the same , I wants to add extra parameters to search result&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;renders URL&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;I found that the urls generated by&amp;nbsp;&lt;A class="link-titled" href="https://dev.alfresco.com/resource/docs/aikau-jsdoc/_SearchResultLinkMixin.js.html" title="https://dev.alfresco.com/resource/docs/aikau-jsdoc/_SearchResultLinkMixin.js.html" rel="nofollow noopener noreferrer"&gt;JSDoc: Source: renderers/_SearchResultLinkMixin.js&lt;/A&gt;&amp;nbsp;file but I don't know how to override this.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Hi ,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;B&gt;Tony Rivet _&lt;/B&gt;&lt;SPAN style="color: #3d3d3d;"&gt;‌ , How you have done this&amp;nbsp; ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN&gt;please help.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 06:53:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/change-results-url-in-aikau-faceted-search-page/m-p/291640#M244770</guid>
      <dc:creator>vikash_patel</dc:creator>
      <dc:date>2018-02-16T06:53:28Z</dc:date>
    </item>
  </channel>
</rss>

