<?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: Aikau Search Result - Custom Action in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/aikau-search-result-custom-action/m-p/99596#M28868</link>
    <description>&lt;P&gt;The code working but my mistake is I am providing different id in above code.&lt;/P&gt;&lt;P&gt;You need to provide same id which you have provided in share custom action.&lt;/P&gt;&lt;P&gt;ex&lt;/P&gt;&lt;PRE&gt;if(searchResultPage != null) {
    searchResultPage.config = {
        enableContextMenu : false,
        mergeActions : true,
        additionalDocumentAndFolderActions : ["&lt;STRONG&gt;example-action&lt;/STRONG&gt;"]
    }
}&lt;/PRE&gt;</description>
    <pubDate>Tue, 07 Apr 2020 10:07:02 GMT</pubDate>
    <dc:creator>sp2</dc:creator>
    <dc:date>2020-04-07T10:07:02Z</dc:date>
    <item>
      <title>Aikau Search Result - Custom Action</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/aikau-search-result-custom-action/m-p/99595#M28867</link>
      <description>&lt;P&gt;I am trying to add custom action in Aikau search result Page.&lt;/P&gt;&lt;P&gt;I am using sdk2 for testing.&lt;/P&gt;&lt;P&gt;Below thing I have tried.&lt;/P&gt;&lt;P&gt;Extension File :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; &amp;lt;extension&amp;gt;
	&amp;lt;modules&amp;gt;
		&amp;lt;module&amp;gt;
			&amp;lt;id&amp;gt;Add custom action in search result page&amp;lt;/id&amp;gt;
			&amp;lt;version&amp;gt;1.0&amp;lt;/version&amp;gt;
			&amp;lt;auto-deploy&amp;gt;true&amp;lt;/auto-deploy&amp;gt;
			&amp;lt;customizations&amp;gt;
				&amp;lt;customization&amp;gt;
					&amp;lt;targetPackageRoot&amp;gt;org.alfresco.share.pages.faceted-search
					&amp;lt;/targetPackageRoot&amp;gt;
					&amp;lt;sourcePackageRoot&amp;gt;com.example.faceted-search&amp;lt;/sourcePackageRoot&amp;gt;
				&amp;lt;/customization&amp;gt;
			&amp;lt;/customizations&amp;gt;
		&amp;lt;/module&amp;gt;

&amp;lt;module&amp;gt;
      &amp;lt;id&amp;gt;aikau-share - Example Aikau Widgets&amp;lt;/id&amp;gt;
      &amp;lt;version&amp;gt;1.0&amp;lt;/version&amp;gt;
      &amp;lt;auto-deploy&amp;gt;true&amp;lt;/auto-deploy&amp;gt;
      &amp;lt;configurations&amp;gt;
        &amp;lt;config evaluator="string-compare" condition="WebFramework" replace="false"&amp;gt;
          &amp;lt;web-framework&amp;gt;
            &amp;lt;dojo-pages&amp;gt;
              &amp;lt;packages&amp;gt;

                &amp;lt;package name="search" location="js/search"/&amp;gt;
              &amp;lt;/packages&amp;gt;
            &amp;lt;/dojo-pages&amp;gt;
          &amp;lt;/web-framework&amp;gt;
        &amp;lt;/config&amp;gt;
      &amp;lt;/configurations&amp;gt;
    &amp;lt;/module&amp;gt;


	&amp;lt;/modules&amp;gt;
&amp;lt;/extension&amp;gt; &lt;/PRE&gt;&lt;P&gt;faceted-search.get.js&lt;/P&gt;&lt;PRE&gt;var searchResultPage = widgetUtils.findObject(model.jsonModel.widgets, "id", "FCTSRCH_SEARCH_RESULT");

if(searchResultPage != null) {
    searchResultPage.config = {
        enableContextMenu : false,
        mergeActions : true,
        additionalDocumentAndFolderActions : ["example-action"]
    }
}

model.jsonModel.widgets.push({
    name: "search/action"
});&lt;/PRE&gt;&lt;P&gt;It is not adding custom action in Search result page.&lt;/P&gt;&lt;P&gt;Help Will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/17314"&gt;@ddraper&lt;/A&gt;&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/16045"&gt;@afaust&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2020 16:20:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/aikau-search-result-custom-action/m-p/99595#M28867</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2020-03-18T16:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Aikau Search Result - Custom Action</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/aikau-search-result-custom-action/m-p/99596#M28868</link>
      <description>&lt;P&gt;The code working but my mistake is I am providing different id in above code.&lt;/P&gt;&lt;P&gt;You need to provide same id which you have provided in share custom action.&lt;/P&gt;&lt;P&gt;ex&lt;/P&gt;&lt;PRE&gt;if(searchResultPage != null) {
    searchResultPage.config = {
        enableContextMenu : false,
        mergeActions : true,
        additionalDocumentAndFolderActions : ["&lt;STRONG&gt;example-action&lt;/STRONG&gt;"]
    }
}&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Apr 2020 10:07:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/aikau-search-result-custom-action/m-p/99596#M28868</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2020-04-07T10:07:02Z</dc:date>
    </item>
  </channel>
</rss>

