<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>search group by name and description</title><link>https://community.appian.com/discussions/f/general/19224/search-group-by-name-and-description</link><description>so I have been using the a!pickerFieldGroups() which is great and gives me my group name, 
 
 however I am trying to get the name and a description. 
 
 does anyone have any idea how that would be possible? 
 
 thanks, 
 
 Kevin</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: search group by name and description</title><link>https://community.appian.com/thread/75299?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2020 17:20:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2aebf824-6986-49d1-80fc-f00c264019eb</guid><dc:creator>kevinr0001</dc:creator><description>&lt;p&gt;thank you, this is exactly what I wanted &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f603.svg" title="Smiley"&gt;&amp;#x1f603;&lt;/span&gt;!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: search group by name and description</title><link>https://community.appian.com/thread/75284?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2020 13:05:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:099a3baf-e6d5-4d27-94c6-eb2e19d94d40</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure I follow - the group picker&amp;nbsp;&lt;em&gt;does&lt;/em&gt; show both the name and description.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/640x240/__key/communityserver-discussions-components-files/11/Group-Picker.png" /&gt;&lt;/p&gt;
&lt;p&gt;Do you mean you want to also save the description? If that&amp;#39;s the case, you can get the description using the group() function. Here&amp;#39;s a sample:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!group,
  local!groupDescription,
  {
    a!pickerFieldGroups(
      label: &amp;quot;Group Picker&amp;quot;,
      labelPosition: &amp;quot;ABOVE&amp;quot;,
      value: local!group,
      saveInto: {
        local!group,
        a!save(
          target: local!groupDescription,
          value: if(
            /* Checks if no groups are saved; if none, just return an empty list */ 
            or(
              isnull(local!group),
              length(local!group) &amp;lt; 1
            ),
            {},
            /* Find the description for all groups if there are more than one */
            a!forEach(
              items: local!group,
              expression: group(fv!item, &amp;quot;description&amp;quot;)
            )
          )
        )
      }
    )
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: search group by name and description</title><link>https://community.appian.com/thread/75277?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2020 01:53:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:331bf1aa-fbdf-4fa1-9ee4-727d3d7db575</guid><dc:creator>shwetad7106</dc:creator><description>&lt;p&gt;&lt;a href="/members/kevinr0001"&gt;kevinr0001&lt;/a&gt; You can try using custom picker, and write a rule for&amp;nbsp;&lt;span&gt;suggestFunction which will return Name and Description for groups.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: search group by name and description</title><link>https://community.appian.com/thread/75276?ContentTypeID=1</link><pubDate>Wed, 08 Jul 2020 21:07:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4fbdbc0e-938c-4e09-b5e8-5f296bfa17e4</guid><dc:creator>kevinr0001</dc:creator><description>&lt;p&gt;this is my current code:&lt;/p&gt;
&lt;p&gt;{&lt;br /&gt; a!boxLayout(&lt;br /&gt; label: &amp;quot;Organization&amp;quot;,&lt;br /&gt; contents: {&lt;br /&gt; a!sideBySideLayout(&lt;br /&gt; items: { a!sideBySideItem(&lt;br /&gt; item: a!pickerFieldGroups(&lt;br /&gt; label: &amp;quot;Organization&amp;quot;,&lt;br /&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;br /&gt; maxSelections: 1,&lt;br /&gt; groupFilter: cons!GFIM_POINTS_TO_US_ARMY,&lt;br /&gt; value: ri!org&amp;amp;&amp;quot; - &amp;quot;&amp;amp;ri!org,&lt;br /&gt; saveInto: {ri!org},&lt;br /&gt; validations: {}&lt;br /&gt; )&lt;br /&gt; ),&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; },&lt;br /&gt; style: &amp;quot;STANDARD&amp;quot;,&lt;br /&gt; marginBelow: &amp;quot;STANDARD&amp;quot;&lt;br /&gt; )&lt;br /&gt;}&lt;br /&gt;)&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1594242462846v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>