<?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 ADF toolbar button - get nodeRefs from selected nodes (array) in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/adf-toolbar-button-get-noderefs-from-selected-nodes-array/m-p/9036#M4075</link>
    <description>&lt;P&gt;Hi everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need make custom action toolbar button, which give me nodeIDs of selected files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The case is about calling api with nodeIDs array infomartion.&amp;nbsp;&lt;/P&gt;&lt;P&gt;in my custom view adf component I have:&lt;/P&gt;&lt;PRE&gt;&amp;lt;adf-toolbar title="Search folders by query"&amp;gt;
  &amp;lt;button mat-icon-button title="Run action" (click)="myCustomAction2($event)"&amp;gt;
    &amp;lt;mat-icon&amp;gt;replay&amp;lt;/mat-icon&amp;gt;
  &amp;lt;/button&amp;gt;&lt;/PRE&gt;&lt;P&gt;and in .ts file&lt;/P&gt;&lt;PRE&gt;myCustomAction2(event){
  console.log(event);
}&lt;/PRE&gt;&lt;P&gt;"event" contains many infomartion but i did not see my selected nodeRefs. &lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Snímek obrazovky 2021-05-13 v&amp;nbsp;14.35.24.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/108i2511220A0DEE168D/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me please ? &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;)&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 May 2021 12:40:22 GMT</pubDate>
    <dc:creator>wity</dc:creator>
    <dc:date>2021-05-13T12:40:22Z</dc:date>
    <item>
      <title>ADF toolbar button - get nodeRefs from selected nodes (array)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adf-toolbar-button-get-noderefs-from-selected-nodes-array/m-p/9036#M4075</link>
      <description>&lt;P&gt;Hi everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need make custom action toolbar button, which give me nodeIDs of selected files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The case is about calling api with nodeIDs array infomartion.&amp;nbsp;&lt;/P&gt;&lt;P&gt;in my custom view adf component I have:&lt;/P&gt;&lt;PRE&gt;&amp;lt;adf-toolbar title="Search folders by query"&amp;gt;
  &amp;lt;button mat-icon-button title="Run action" (click)="myCustomAction2($event)"&amp;gt;
    &amp;lt;mat-icon&amp;gt;replay&amp;lt;/mat-icon&amp;gt;
  &amp;lt;/button&amp;gt;&lt;/PRE&gt;&lt;P&gt;and in .ts file&lt;/P&gt;&lt;PRE&gt;myCustomAction2(event){
  console.log(event);
}&lt;/PRE&gt;&lt;P&gt;"event" contains many infomartion but i did not see my selected nodeRefs. &lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Snímek obrazovky 2021-05-13 v&amp;nbsp;14.35.24.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/108i2511220A0DEE168D/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me please ? &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 12:40:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adf-toolbar-button-get-noderefs-from-selected-nodes-array/m-p/9036#M4075</guid>
      <dc:creator>wity</dc:creator>
      <dc:date>2021-05-13T12:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: ADF toolbar button - get nodeRefs from selected nodes (array)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adf-toolbar-button-get-noderefs-from-selected-nodes-array/m-p/9037#M4076</link>
      <description>&lt;PRE&gt;    for (let row of this.data.getRows()) {

      if (row.isSelected == true) {
        console.log(row.getValue("nodeRef"));
      }&lt;/PRE&gt;</description>
      <pubDate>Tue, 01 Jun 2021 16:23:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adf-toolbar-button-get-noderefs-from-selected-nodes-array/m-p/9037#M4076</guid>
      <dc:creator>wity</dc:creator>
      <dc:date>2021-06-01T16:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: ADF toolbar button - get nodeRefs from selected nodes (array)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adf-toolbar-button-get-noderefs-from-selected-nodes-array/m-p/9038#M4077</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/72361"&gt;@wity&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Great that you found out how to do it - and thanks for showing us how! Really helpful to other users.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 08:20:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adf-toolbar-button-get-noderefs-from-selected-nodes-array/m-p/9038#M4077</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2021-06-02T08:20:54Z</dc:date>
    </item>
  </channel>
</rss>

