<?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 Extending 'Selected Items...' menu in Share in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/extending-selected-items-menu-in-share/m-p/277465#M230595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've seen some examples online on how to put an action under "Selected Items…" but all of them replace "toolbar.get.config.xml" and "repo-toolbar.get.config.xml".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My idea is to only put an action in &amp;lt;actionSet id="default"&amp;gt; and make it merge with alfresco's.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I achieve that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rocco&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Oct 2012 15:17:56 GMT</pubDate>
    <dc:creator>drocco88</dc:creator>
    <dc:date>2012-10-30T15:17:56Z</dc:date>
    <item>
      <title>Extending 'Selected Items...' menu in Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-selected-items-menu-in-share/m-p/277465#M230595</link>
      <description>Hi there,I've seen some examples online on how to put an action under "Selected Items…" but all of them replace "toolbar.get.config.xml" and "repo-toolbar.get.config.xml".My idea is to only put an action in &amp;lt;actionSet id="default"&amp;gt; and make it merge with alfresco's.How can I achieve that?Many</description>
      <pubDate>Tue, 30 Oct 2012 15:17:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-selected-items-menu-in-share/m-p/277465#M230595</guid>
      <dc:creator>drocco88</dc:creator>
      <dc:date>2012-10-30T15:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Extending 'Selected Items...' menu in Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-selected-items-menu-in-share/m-p/277466#M230596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This blog post describes what you need to do: &lt;/SPAN&gt;&lt;A href="http://blogs.alfresco.com/wp/mikeh/2011/09/26/share-document-library-extensions-in-v4-0/" rel="nofollow noopener noreferrer"&gt;http://blogs.alfresco.com/wp/mikeh/2011/09/26/share-document-library-extensions-in-v4-0/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 15:25:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-selected-items-menu-in-share/m-p/277466#M230596</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2012-10-30T15:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Extending 'Selected Items...' menu in Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-selected-items-menu-in-share/m-p/277467#M230597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the info David.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok was was using the dependencies to load the .js and .css (condition="DocLibCustom") but I still don't know how to put the action in "Selected Items…" without having to override toolbar.get.config.xml&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 15:49:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-selected-items-menu-in-share/m-p/277467#M230597</guid>
      <dc:creator>drocco88</dc:creator>
      <dc:date>2012-10-30T15:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Extending 'Selected Items...' menu in Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-selected-items-menu-in-share/m-p/277468#M230598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Basically this is the render of the toolbar:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;#list actionSet as action&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;li&amp;gt;&amp;lt;a type="${action.asset!""}" rel="${action.permission!""}" href="${action.href}"&amp;gt;&amp;lt;span class="${action.id}"&amp;gt;${msg(action.label)}&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/#list&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see is using an actionSet instead of the ActionGroup&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 15:57:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-selected-items-menu-in-share/m-p/277468#M230598</guid>
      <dc:creator>drocco88</dc:creator>
      <dc:date>2012-10-30T15:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Extending 'Selected Items...' menu in Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-selected-items-menu-in-share/m-p/277469#M230599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well at least is a known issue (I'm on alfresco 4.1.1):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-13592" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-13592&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It says fix version for 4.1.1 though&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 16:23:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-selected-items-menu-in-share/m-p/277469#M230599</guid>
      <dc:creator>drocco88</dc:creator>
      <dc:date>2012-10-30T16:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Extending 'Selected Items...' menu in Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-selected-items-menu-in-share/m-p/277470#M230600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For anybody how needs it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.ixxus.com/blog/2012/11/customisation-library-toolbar-alfresco/" rel="nofollow noopener noreferrer"&gt;http://www.ixxus.com/blog/2012/11/customisation-library-toolbar-alfresco/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 09:27:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-selected-items-menu-in-share/m-p/277470#M230600</guid>
      <dc:creator>drocco88</dc:creator>
      <dc:date>2012-11-27T09:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Extending 'Selected Items...' menu in Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-selected-items-menu-in-share/m-p/277471#M230601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The only place that any .config.xml WebScript file is ever used is from the JavaScript controller for that WebScript (in the case of the toolbar.get.js file it is actually refrenced from the included toolbar.lib.js file). This means that you can use the current extensibility methods available for extending the JavaScript controller to add additional actions (or even remove actions defined in the default configuration file).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that we're going to begin phasing out the use of the the .config.xml files and either move the configuration directly into the JS controllers (so that it's easier to extend) or into global configuration so that it is easier to find and re-use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 10:14:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-selected-items-menu-in-share/m-p/277471#M230601</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2012-11-27T10:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Extending 'Selected Items...' menu in Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-selected-items-menu-in-share/m-p/277472#M230602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, I am using Alfresco 5.0.0.3 Enterprise. My task is to hide the "Start Workflow…" action in the toolbar in specific conditions, for which I already have an evaluator (I check if they are children of a specific type).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to follow up the discussion and the links provided and what I ended up doing is copy repo-toolbar.get.config.xml file in web-extension folder, and change the line from:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;action type="action-link" id="onActionAssignWorkflow" asset="document" label="menu.selected-items.assign-workflow" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;action type="action-link" id="onActionAssignWorkflow" asset="document" label="menu.selected-items.assign-workflow"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;evaluator&amp;gt;evaluator.doclib.action.is.admin&amp;lt;/evaluator&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;evaluator negate="true"&amp;gt;evaluator.doclib.action.is-in-report-or-wave&amp;lt;/evaluator&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/action&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But that didn't change a thing. Another tentative was to copy the whole &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;multi-select&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; section in my share-config-custom.xml file and apply the same changes (add the evaluator to the action). Still no results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm sorry but I have a very poor understanding of these configuration files, I got into Alfresco only recently and the way &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;extension&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; works for newer things makes much more sense to me. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also: I would like to hide the "Start Workflow" button from the "Workflow" section in Document Details, have you got any indications?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for any help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've checked &amp;lt;a href=&lt;/SPAN&gt;&lt;A href="http://www.ixxus.com/blog201211alfresco-share-customisation-document-library-toolbar-0/" rel="nofollow noopener noreferrer"&gt;http://www.ixxus.com/blog201211alfresco-share-customisation-document-library-toolbar-0/&lt;/A&gt;&lt;SPAN&gt;&amp;gt;this&amp;lt;/a&amp;gt; link, which is probably the updated link for the one Rocco provided, and checked against 5.0.0.3 version of toolbar.lib.js and it already does something similar to what he described, only the delimiting tag is &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;multi-select&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; instead of &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;toolbar-actions&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 09:40:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-selected-items-menu-in-share/m-p/277472#M230602</guid>
      <dc:creator>mluraschi</dc:creator>
      <dc:date>2015-04-24T09:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Extending 'Selected Items...' menu in Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-selected-items-menu-in-share/m-p/277473#M230603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;An improvement Jira can be tracked here: &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/MNT-13998" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/MNT-13998&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 May 2015 18:04:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-selected-items-menu-in-share/m-p/277473#M230603</guid>
      <dc:creator>ctan</dc:creator>
      <dc:date>2015-05-02T18:04:33Z</dc:date>
    </item>
  </channel>
</rss>

