<?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>DropDown population from DB COlumn</title><link>https://community.appian.com/discussions/f/user-interface/18185/dropdown-population-from-db-column</link><description>Hi Team, 
 User is in need to enter Custom Values via Tempo Actions for a drop down list to fetch values, So We designed a DB table to store the custom values entered in the &amp;quot;Editable Grid&amp;quot; under Actions Menu(Tempo). 
 In the interface we are fetching</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: DropDown population from DB COlumn</title><link>https://community.appian.com/thread/71517?ContentTypeID=1</link><pubDate>Sun, 19 Jan 2020 11:59:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f973dd21-1f54-4800-bec9-fadb69c282bb</guid><dc:creator>bryant.st39</dc:creator><description>&lt;p&gt;Another option is to check to see if the value is active in the reference table or not.&amp;nbsp; If it is not present in the reference table, display a null value and force the user to update the value to one of the active values.&amp;nbsp; Look at using the contains function to check to see if the value is in the list of active values.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DropDown population from DB COlumn</title><link>https://community.appian.com/thread/71516?ContentTypeID=1</link><pubDate>Sat, 18 Jan 2020 10:09:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bc8e9433-642a-4533-b705-14d5c8a77ff0</guid><dc:creator>salim.galfane</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is typical issue when managing references data. Here are 2 options you could consider to solve this issue /&lt;/p&gt;
&lt;p&gt;1. Do not allow user to delete values that are used. You can define an expression rule to check if the value is used , and then suggest the user to remove or update this value from the existing data. This is not the best approach but at least you won t get this error.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2. As you mention, the dropdown will always have only active values, therefore if you try to display an existing object with the deleted value, you will have this error. Best way I found to avaid this is to create a custom dropdown which will always add the passed value in the list of dropdown if it s not present.&lt;/p&gt;
&lt;p&gt;Lest say you have you drop down contains these values&lt;strong&gt; a, b, c, d&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You then delete d, for existing data with values in &lt;strong&gt;a, b and c&lt;/strong&gt;, the dropdown will always have the value, so you custom dropdown will not change the list, only active values will be used.&lt;/p&gt;
&lt;p&gt;But for existing data with value d, your custom dropdown will retrieve active values&amp;nbsp;&lt;strong&gt;a,b, c&lt;/strong&gt; from database and then add also d, so that the interface will showup and give the user the ability to change this value if needed or just update another value.&lt;/p&gt;
&lt;p&gt;Hope this help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>