<?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>How to fetch table data and show in a a!dropDown control of interface.</title><link>https://community.appian.com/discussions/f/rules/22390/how-to-fetch-table-data-and-show-in-a-a-dropdown-control-of-interface</link><description>Created below table in appian DB 
 
 Create a CDT and a DataSet. Now I got struck while creating expression rule. 
 
 
 
 Can someone help here. 
 
 I want to bring id, Name from language table and show the data in a dropdownlist. 
 choiceLabel with </description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to fetch table data and show in a a!dropDown control of interface.</title><link>https://community.appian.com/thread/87650?ContentTypeID=1</link><pubDate>Thu, 04 Nov 2021 14:28:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2081c377-5d01-4425-aeac-a05d631ffc88</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Per what the error message says: in a!localVariables you can&amp;#39;t just define a local variable and then nothing else.&amp;nbsp; You need some code to actually be executed after all local variable definitions are complete.&amp;nbsp; If you want to test out what the value of the local variable will be, you can simply put your local variable in as the &amp;quot;code to execute&amp;quot; section of the a!localVariables() call, and the value will be displayed.&lt;/p&gt;
&lt;p&gt;Also: there&amp;#39;s really no need to cast() the query results to the specified type (though you can if you really want to).&amp;nbsp; Usually it&amp;#39;s not really worth the extra hassle, in my experience.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fetch table data and show in a a!dropDown control of interface.</title><link>https://community.appian.com/thread/87646?ContentTypeID=1</link><pubDate>Thu, 04 Nov 2021 13:55:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1ddef528-b758-44a3-be60-367d120dc5f9</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;delete line 2 ;)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fetch table data and show in a a!dropDown control of interface.</title><link>https://community.appian.com/thread/87644?ContentTypeID=1</link><pubDate>Thu, 04 Nov 2021 13:22:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f0a5c72c-a996-411f-8885-405d20944cf1</guid><dc:creator>Hari Kishore Reddy</dc:creator><description>&lt;p&gt;I am getting an error even after using Paginginfo.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/15/pastedimage1636032151885v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fetch table data and show in a a!dropDown control of interface.</title><link>https://community.appian.com/thread/87632?ContentTypeID=1</link><pubDate>Thu, 04 Nov 2021 09:32:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ddbd45ca-9ae2-4f35-995f-3ff1fad0b9a4</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;you have an error message at the left side ;)&lt;br /&gt;&amp;nbsp;the paginginfo is missing at your a!query function. -&amp;gt; won&amp;#39;t work without&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>