<?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 How to get all selected items? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-all-selected-items/m-p/16099#M7123</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a &lt;STRONG&gt;webscript&lt;/STRONG&gt; which would&amp;nbsp;read &lt;STRONG&gt;all selected items&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which query I should use?&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #242729; background-color: #fff8dc;"&gt;ASPECT:"cm:checkedOut" &lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: #fff8dc;"&gt;not running.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://stackoverflow.com/questions/37927969/alfresco-how-to-get-all-checked-out-documents" title="https://stackoverflow.com/questions/37927969/alfresco-how-to-get-all-checked-out-documents" rel="nofollow noopener noreferrer"&gt;Alfresco - How to get all checked out documents? - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jul 2017 08:45:52 GMT</pubDate>
    <dc:creator>kamilaw_</dc:creator>
    <dc:date>2017-07-18T08:45:52Z</dc:date>
    <item>
      <title>How to get all selected items?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-all-selected-items/m-p/16099#M7123</link>
      <description>I have a webscript which would&amp;nbsp;read all selected items.&amp;nbsp;Which query I should use?&amp;nbsp;ASPECT:"cm:checkedOut" not running.Alfresco - How to get all checked out documents? - Stack Overflow&amp;nbsp;</description>
      <pubDate>Tue, 18 Jul 2017 08:45:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-all-selected-items/m-p/16099#M7123</guid>
      <dc:creator>kamilaw_</dc:creator>
      <dc:date>2017-07-18T08:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to get all selected items?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-all-selected-items/m-p/16100#M7124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What have you tried exactly?&lt;/P&gt;&lt;P&gt;Can you share some code to give us an idea on what you are doing?&lt;/P&gt;&lt;P&gt;Without any context, it will be hard to help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 01:34:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-all-selected-items/m-p/16100#M7124</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2017-07-19T01:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to get all selected items?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-all-selected-items/m-p/16101#M7125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a new action for selected items.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;action type="action-link" id="idOfJavascript" permission="Write" label="someLabel" /&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And now I &amp;nbsp;need to read all selected items in this page. &lt;STRONG&gt;The question is how Alfresco read this files?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="15107" alt="" class="image-1 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/15107_Výstřižek.PNG" style="width: 620px; height: 397px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 07:26:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-all-selected-items/m-p/16101#M7125</guid>
      <dc:creator>kamilaw_</dc:creator>
      <dc:date>2017-07-19T07:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to get all selected items?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-all-selected-items/m-p/16102#M7126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, now I understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you configure a new action in that menu, the javascript action you define will receive the selected nodes automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see how it is done by looking at the Share's source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The action configuration:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Alfresco/share/blob/master/share/src/main/resources/alfresco/share-documentlibrary-config.xml#L807" title="https://github.com/Alfresco/share/blob/master/share/src/main/resources/alfresco/share-documentlibrary-config.xml#L807" rel="nofollow noopener noreferrer"&gt;share/share-documentlibrary-config.xml at master · Alfresco/share · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the javascript code executed when the user clicks on the action:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Alfresco/share/blob/master/share/src/main/webapp/components/documentlibrary/actions.js#L1974" title="https://github.com/Alfresco/share/blob/master/share/src/main/webapp/components/documentlibrary/actions.js#L1974" rel="nofollow noopener noreferrer"&gt;share/actions.js at master · Alfresco/share · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow that model and you will get what you need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 12:22:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-all-selected-items/m-p/16102#M7126</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2017-07-19T12:22:45Z</dc:date>
    </item>
  </channel>
</rss>

