<?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>Adding  Dropdown items dynamically.</title><link>https://community.appian.com/discussions/f/user-interface/24359/adding-dropdown-items-dynamically</link><description>Hi, 
 The below highlighted item will should be there and based on the conditions, I have to add additional items to the array/list and finally show all together in the dropdown. 
 Can someone give me an idea on this request. 
 Thanks in advance.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Adding  Dropdown items dynamically.</title><link>https://community.appian.com/thread/94026?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2022 13:56:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:31cf1fa6-907e-425b-a69f-45b4055be62a</guid><dc:creator>Naresh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What are those conditions. Which Items need to merge based on which conditions. Also please provide how do you get those conditions (is from another dropdown selection? or from rule input)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;ex: if (condition1 , merge local!reviewAi and local!reviewRecall), if(condition 2, merge local!reviewAI and local!reviewCounsel) etc&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding  Dropdown items dynamically.</title><link>https://community.appian.com/thread/94024?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2022 13:46:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a1404828-d5d0-4fb7-9643-f5b3f053c14c</guid><dc:creator>Hari Kishore Reddy</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;By default &amp;quot;&lt;span&gt;Aditional Info Required&amp;quot; should be shown in the dropdown and based on some other conditions, I have to add other items to the dropdown.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is there a way to combine these array items dynamically based on conditions and show them in the dropdown?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;a!localVariables(&lt;br /&gt; &lt;br /&gt; local!reviewAI: {&amp;quot;Aditional Info Required&amp;quot;},&lt;br /&gt; local!reviewAICode: {&amp;quot;AIR&amp;quot;},&lt;br /&gt; &lt;br /&gt; local!reviewRecall: {&amp;quot;Recall&amp;quot;},&lt;br /&gt; local!reviewRecallCode: {&amp;quot;RCL&amp;quot;},&lt;br /&gt; &lt;br /&gt; local!reviewCancelled: {&amp;quot;Cancelled&amp;quot;},&lt;br /&gt; local!reviewCancelledCode: {&amp;quot;CED&amp;quot;},&lt;br /&gt; &lt;br /&gt; local!reviewCounselEngaged: {&amp;quot;Relevant Counsel Engaged&amp;quot;},&lt;br /&gt; local!reviewCounselEngagedCode: {&amp;quot;RCE&amp;quot;},&lt;/p&gt;
&lt;p&gt;a!formLayout(&lt;br /&gt; contents: {&lt;br /&gt; &lt;br /&gt; a!dropdownField(&lt;br /&gt; label: &amp;quot;Review Options&amp;quot; ,&lt;br /&gt; /*choiceLabels: */&lt;br /&gt; /*choiceValues: */&lt;br /&gt; )&lt;br /&gt; &lt;br /&gt; }&lt;br /&gt; )&lt;br /&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding  Dropdown items dynamically.</title><link>https://community.appian.com/thread/93991?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2022 02:03:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fbbca809-2b36-4427-ae0a-a6c7bfff6e2b</guid><dc:creator>Naresh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you elaborate your question&amp;nbsp;in detail. The provided details are not sufficient to answer your question.&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;What&amp;nbsp;are your conditions&lt;/li&gt;
&lt;li&gt;How do you get those values&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Is different set of list to append to existing array based on each conditions&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>