<?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: Adding custom action to multi-select in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/adding-custom-action-to-multi-select/m-p/46957#M18595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;module&amp;gt; &lt;BR /&gt; &amp;lt;id&amp;gt;Multi actions&amp;lt;/id&amp;gt;&lt;BR /&gt; &amp;lt;version&amp;gt;${project.version}&amp;lt;/version&amp;gt;&lt;BR /&gt; &amp;lt;auto-deploy&amp;gt;true&amp;lt;/auto-deploy&amp;gt;&lt;BR /&gt; &amp;lt;auto-deploy-index&amp;gt;101&amp;lt;/auto-deploy-index&amp;gt;&lt;BR /&gt; &amp;lt;configurations&amp;gt;&lt;BR /&gt; &amp;lt;config evaluator="string-compare" condition="DocumentLibrary" replace="true"&amp;gt;&lt;BR /&gt; &amp;lt;multi-select&amp;gt;&lt;BR /&gt; &amp;lt;action type="action-link" id="onActionDownload" icon="document-download" label="menu.selected-items.download" /&amp;gt;&lt;BR /&gt; &amp;lt;/multi-select&amp;gt;&lt;BR /&gt; &amp;lt;/config&amp;gt;&lt;BR /&gt; &amp;lt;/configurations&amp;gt;&lt;BR /&gt; &amp;lt;/module&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In above code , onActionDownload is a function, which will get called on click of the actions.Yu need to define this function inside javascript file.You can use the existing functions as well.Existing multiselect actions are defined inside&amp;nbsp;&lt;STRONG&gt;share-war\WEB-INF\classes\alfresco\share-documentlibrary-config.xml&amp;nbsp;&lt;/STRONG&gt;file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Apr 2018 04:48:55 GMT</pubDate>
    <dc:creator>krutik_jayswal</dc:creator>
    <dc:date>2018-04-11T04:48:55Z</dc:date>
    <item>
      <title>Adding custom action to multi-select</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adding-custom-action-to-multi-select/m-p/46956#M18594</link>
      <description>I'm struggling finding examples or instructions on how to add my custom action to the multi-select dropdown. I've managed to get my java amp working on a per document basis - but there doesn't seem to be any actionGroup ID or anything for adding it to that spot. Can anyone give me any guidance or po</description>
      <pubDate>Tue, 10 Apr 2018 20:27:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adding-custom-action-to-multi-select/m-p/46956#M18594</guid>
      <dc:creator>strugglingdev</dc:creator>
      <dc:date>2018-04-10T20:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Adding custom action to multi-select</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adding-custom-action-to-multi-select/m-p/46957#M18595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;module&amp;gt; &lt;BR /&gt; &amp;lt;id&amp;gt;Multi actions&amp;lt;/id&amp;gt;&lt;BR /&gt; &amp;lt;version&amp;gt;${project.version}&amp;lt;/version&amp;gt;&lt;BR /&gt; &amp;lt;auto-deploy&amp;gt;true&amp;lt;/auto-deploy&amp;gt;&lt;BR /&gt; &amp;lt;auto-deploy-index&amp;gt;101&amp;lt;/auto-deploy-index&amp;gt;&lt;BR /&gt; &amp;lt;configurations&amp;gt;&lt;BR /&gt; &amp;lt;config evaluator="string-compare" condition="DocumentLibrary" replace="true"&amp;gt;&lt;BR /&gt; &amp;lt;multi-select&amp;gt;&lt;BR /&gt; &amp;lt;action type="action-link" id="onActionDownload" icon="document-download" label="menu.selected-items.download" /&amp;gt;&lt;BR /&gt; &amp;lt;/multi-select&amp;gt;&lt;BR /&gt; &amp;lt;/config&amp;gt;&lt;BR /&gt; &amp;lt;/configurations&amp;gt;&lt;BR /&gt; &amp;lt;/module&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In above code , onActionDownload is a function, which will get called on click of the actions.Yu need to define this function inside javascript file.You can use the existing functions as well.Existing multiselect actions are defined inside&amp;nbsp;&lt;STRONG&gt;share-war\WEB-INF\classes\alfresco\share-documentlibrary-config.xml&amp;nbsp;&lt;/STRONG&gt;file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 04:48:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adding-custom-action-to-multi-select/m-p/46957#M18595</guid>
      <dc:creator>krutik_jayswal</dc:creator>
      <dc:date>2018-04-11T04:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Adding custom action to multi-select</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adding-custom-action-to-multi-select/m-p/46958#M18596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Krutik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to to get my select item showing up in the multi select, and to get it to call some arbitrary registerAction function - but is there a way to call my action defined in&amp;nbsp;the repo side from the javascript? I'm having trouble making the jump from&amp;nbsp;my custom function to my repo action.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 16:00:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adding-custom-action-to-multi-select/m-p/46958#M18596</guid>
      <dc:creator>strugglingdev</dc:creator>
      <dc:date>2018-04-11T16:00:24Z</dc:date>
    </item>
  </channel>
</rss>

