<?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>When quering records and displaying in grid field with filters, no data is retrieved.</title><link>https://community.appian.com/discussions/f/data/37912/when-quering-records-and-displaying-in-grid-field-with-filters-no-data-is-retrieved</link><description>While Im using the grid field to display the record data and applying filters to it, I couldnt get any data. The grid is displayed as empty. 
 Please find the screen shot of my code. 
 
 I have used 2 queryFilters inside the filters section of gridField</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: When quering records and displaying in grid field with filters, no data is retrieved.</title><link>https://community.appian.com/thread/142762?ContentTypeID=1</link><pubDate>Thu, 14 Nov 2024 13:13:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5542e07c-8d76-46ba-8dcb-9bf5084fe4d1</guid><dc:creator>pavithradevir9178</dc:creator><description>&lt;p&gt;Thanks! This worked. Sorry for late reply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When quering records and displaying in grid field with filters, no data is retrieved.</title><link>https://community.appian.com/thread/142577?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2024 19:58:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6615249b-4156-432d-b849-ae09e4265d17</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="140649" url="~/discussions/f/data/37912/when-quering-records-and-displaying-in-grid-field-with-filters-no-data-is-retrieved/142571"]You can add multiple filters. You need to write those inside a!queryLogicalExpression() [/quote]
&lt;p&gt;a!recordData can be passed multiple filters though, without needing a QueryLogical Expression (as long as you need AND grouping logic).&amp;nbsp; I believe Stefan&amp;#39;s answer below is correct - there is a missing close-parenthesis to finish out the a!recordData call, before the user has started giving other parameters inherent to the Grid.&amp;nbsp; Hence all the bad-syntax underlines and warning signs present in the screenshot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When quering records and displaying in grid field with filters, no data is retrieved.</title><link>https://community.appian.com/thread/142575?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2024 19:46:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:920b55bd-a83a-45fb-bda8-554644091967</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Seems like you wrote the highlighted parameters inside a!recordData() instead of inside a!gridField().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When quering records and displaying in grid field with filters, no data is retrieved.</title><link>https://community.appian.com/thread/142571?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2024 19:26:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9bf3c1b0-fd73-48a8-9393-d22ab5f8550f</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;a href="/members/pavithradevir9178"&gt;pavithradevir9178&lt;/a&gt;&amp;nbsp; You can add multiple filters. You need to write those inside a!queryLogicalExpression() under the filters parameter.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt; a!recordData(
   recordType:&amp;quot;Your RecordType&amp;quot;,
   filters: a!queryLogicalExpression(
     operator: &amp;quot;AND&amp;quot;,
     filters: {
       a!queryFilter(),
       a!queryFilter()
     },
     ignoreFiltersWithEmptyValues: true
   )
 )&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Coming to the warning, you can hover over the icon and read the message. Its mostly because you have mixed up the parameters inside the recordData instead of the gridField&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>