<?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>I want to replace a dropdown with a user search box</title><link>https://community.appian.com/discussions/f/user-interface/19784/i-want-to-replace-a-dropdown-with-a-user-search-box</link><description>Hi All, 
 my requirement is to replace the existing drop down field with a search field. 
 The drop down will fetch the usernames from a rule. So due to increasing of user&amp;#39;s in the rule we want replace with a searchbox rather than a Dropdown field. 
</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: I want to replace a dropdown with a user search box</title><link>https://community.appian.com/thread/77465?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 15:15:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d9e821cf-beeb-4ee2-b2d7-e01471d3397f</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Check this first:&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/20.3/fnc_looping_filter.html"&gt;https://docs.appian.com/suite/help/20.3/fnc_looping_filter.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Instead of &amp;quot;fn!isleapyear&amp;quot; you create your own expression which must return true or false depending on whether the item should be in the returned list or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to replace a dropdown with a user search box</title><link>https://community.appian.com/thread/77464?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 15:14:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:89d3ff05-bb81-416b-ba66-77fd0119d4fb</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;My suggestions from &lt;a href="/discussions/f/user-interface/19794/custom-picker-for-searching-users"&gt;your other post&lt;/a&gt; should help you handle this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to replace a dropdown with a user search box</title><link>https://community.appian.com/thread/77463?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 15:12:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8dd755fc-9af9-4ae5-8f3a-f433ad298ad9</guid><dc:creator>Harris</dc:creator><description>&lt;p&gt;Please suggest with an example code..it helps a lot &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to replace a dropdown with a user search box</title><link>https://community.appian.com/thread/77462?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 15:03:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d9394a52-9a9c-46e7-a049-fcd944be5eef</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;My suggestion is to use the filter() function and a supporting expression inside ucArrayPickerFilter to search for items as you like.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to replace a dropdown with a user search box</title><link>https://community.appian.com/thread/77456?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 09:43:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0b7fe85e-57ee-4ce0-b543-853d2dc65afe</guid><dc:creator>Harris</dc:creator><description>&lt;p&gt;Hi Stephen,&lt;/p&gt;
&lt;p&gt;I have a requirement to create a search filed for searching users List. The users list is getting from an Query Rule(table from DB) not from any groups.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have achieved this by using the following code.&lt;/p&gt;
&lt;p&gt;Code:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;a!pickerFieldCustom(&lt;br /&gt;label:&amp;quot;Select Re-assignee&amp;quot;,&lt;br /&gt;maxSelections:1,&lt;br /&gt;suggestFunction: rule!ucArrayPickerFilter(&lt;br /&gt;filter:_ ,&lt;br /&gt;labels: local!reassignChoiceLabel,&lt;br /&gt;identifiers: local!reassignChoiceValue&lt;br /&gt;),&lt;br /&gt;selectedLabels:a!forEach(&lt;br /&gt;items: local!selectedAssignee,&lt;br /&gt;expression: index(touniformstring(local!reassignChoiceLabel), wherecontains(fv!item, touniformstring(local!reassignChoiceValue)))&lt;br /&gt;),&lt;br /&gt;value:local!selectedAssignee,&lt;br /&gt;saveInto:local!selectedAssignee,&lt;br /&gt;labelPosition:&amp;quot;ADJACENT&amp;quot;,&lt;br /&gt;&lt;br /&gt;)&lt;/p&gt;
&lt;p&gt;-----------------------------------------&lt;/p&gt;
&lt;p&gt;rule using in the suggest function&lt;/p&gt;
&lt;p&gt;rule:&amp;nbsp;&lt;span&gt;ucArrayPickerFilter&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1603791835760v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m getting the user&amp;#39;s list while searching with User Names(below snippet) but my requirement is, i should get users list even if we search with an user id (both user name and user id should work).&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1603791835761v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please suggest.&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to replace a dropdown with a user search box</title><link>https://community.appian.com/thread/77397?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2020 20:03:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:34ceeb66-ceea-4ce3-9c05-1b1944447ce3</guid><dc:creator>Harris</dc:creator><description>&lt;p&gt;Many thanks Pal..It worked for me &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to replace a dropdown with a user search box</title><link>https://community.appian.com/thread/77393?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2020 15:19:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f29c8aca-f253-4485-a6e3-8d071aa3a28b</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;Unfortunately it isn&amp;#39;t possible to use the results of a query to filter the user list in a user picker.&amp;nbsp;One option is using a &lt;a href="https://docs.appian.com/suite/help/latest/recipe-configure-an-array-picker.html"&gt;custom picker,&lt;/a&gt;&amp;nbsp;but it is a little more effort than just using the pickerFieldUser..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to replace a dropdown with a user search box</title><link>https://community.appian.com/thread/77387?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2020 13:33:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fc88ac41-512e-4f65-ba4b-8e9bac980984</guid><dc:creator>Harris</dc:creator><description>&lt;p&gt;yes, but we are still using 20.2 &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f61e.svg" title="Disappointed"&gt;&amp;#x1f61e;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to replace a dropdown with a user search box</title><link>https://community.appian.com/thread/77385?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2020 13:17:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:889d42c0-9326-4a96-a714-a6bdf419db30</guid><dc:creator>davel001150</dc:creator><description>&lt;p&gt;You may not need to if you&amp;#39;re going to upgrade to 20.3 or later.&amp;nbsp; They introduced the ability to type ahead into all regular dropdown components with more than twelve options.&amp;nbsp; Yours will be backwards compatible, so you may have to tweak a little bit, but if you&amp;#39;re already planning the upgrade, check it out and see if that&amp;#39;s the component that meets your needs best.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to replace a dropdown with a user search box</title><link>https://community.appian.com/thread/77384?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2020 11:14:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:82e73536-c040-47d7-b5b1-0141a31ed642</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Follow this recipe&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/20.3/recipe-configure-an-array-picker.html"&gt;https://docs.appian.com/suite/help/20.3/recipe-configure-an-array-picker.html&lt;/a&gt;&amp;nbsp;should get you started.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to replace a dropdown with a user search box</title><link>https://community.appian.com/thread/77382?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2020 09:59:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2215131e-7439-42bc-8d3f-99a30ffb4be8</guid><dc:creator>Harris</dc:creator><description>&lt;p&gt;yes we can do, but I&amp;#39;m fetching the user&amp;#39;s list from a data table using a Query entity rule. In need to fetch the user&amp;#39;s list from that QE rule.. Please suggest??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to replace a dropdown with a user search box</title><link>https://community.appian.com/thread/77381?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2020 09:33:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:173b40f7-d501-4903-8126-1528fa3d66e2</guid><dc:creator>Sabhya Parwani</dc:creator><description>&lt;p&gt;Hi, You can make use of &amp;quot;&lt;span&gt;Group Filter&amp;quot; Parameter. For that you can add the required users list in a particular group and the constant related to that group you can pass over here. Attached is the sample code.&lt;pre class="ui-code" data-mode="text"&gt;a!pickerFieldUsers(
  label: &amp;quot;Select Re-assignee&amp;quot;,
  labelPosition: &amp;quot;ADJACENT&amp;quot;,
  maxselections: 1,
  groupFilter: cons!ABC_GRP_USERS,
  value: local!selectedAssignee,
  saveInto:local!selectedAssignee,
)&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>