<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Filterfield and DQL for data fetching in Developer Q&amp;A Forum</title>
    <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Filterfield-and-DQL-for-data-fetching/m-p/282686#M1502</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm using the &lt;STRONG&gt;FilterField&lt;/STRONG&gt; component to filter data from Dynatrace with DQL. My goal is to apply filters server-side only — no frontend processing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Currently, I’m not aware of any built-in query builder. What’s the best way to translate &lt;STRONG&gt;FilterField&lt;/STRONG&gt; input into DQL consistently?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example, this filter value :&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(country ~ US AND population &amp;gt;= 100000) OR (country = EN AND population &amp;lt; 7000000)&lt;/LI-CODE&gt;&lt;P&gt;would generate this filter :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| filter (contains(city, "US") and population &amp;gt;= 100000)
       or (country == "EN" and population &amp;lt; 7000000)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any utilities or examples that help map user inputs to DQL syntax like contains, lower, or logical operators ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Birahim&lt;/P&gt;</description>
    <pubDate>Thu, 31 Jul 2025 08:49:13 GMT</pubDate>
    <dc:creator>xBirahim</dc:creator>
    <dc:date>2025-07-31T08:49:13Z</dc:date>
    <item>
      <title>Filterfield and DQL for data fetching</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Filterfield-and-DQL-for-data-fetching/m-p/282686#M1502</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm using the &lt;STRONG&gt;FilterField&lt;/STRONG&gt; component to filter data from Dynatrace with DQL. My goal is to apply filters server-side only — no frontend processing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Currently, I’m not aware of any built-in query builder. What’s the best way to translate &lt;STRONG&gt;FilterField&lt;/STRONG&gt; input into DQL consistently?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example, this filter value :&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(country ~ US AND population &amp;gt;= 100000) OR (country = EN AND population &amp;lt; 7000000)&lt;/LI-CODE&gt;&lt;P&gt;would generate this filter :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| filter (contains(city, "US") and population &amp;gt;= 100000)
       or (country == "EN" and population &amp;lt; 7000000)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any utilities or examples that help map user inputs to DQL syntax like contains, lower, or logical operators ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Birahim&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jul 2025 08:49:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Filterfield-and-DQL-for-data-fetching/m-p/282686#M1502</guid>
      <dc:creator>xBirahim</dc:creator>
      <dc:date>2025-07-31T08:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Filterfield and DQL for data fetching</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Filterfield-and-DQL-for-data-fetching/m-p/282689#M1503</link>
      <description>&lt;P&gt;Hi Birahim,&lt;BR /&gt;Could you explain what you mean with applying filters server-side only, considering that FilterField would be used to allow users to enter filters, do you mean that you want to fetch specific data using DQL filters?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or do you want to know how DQL filter statements are generated from filter field input?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jul 2025 09:09:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Filterfield-and-DQL-for-data-fetching/m-p/282689#M1503</guid>
      <dc:creator>haris</dc:creator>
      <dc:date>2025-07-31T09:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Filterfield and DQL for data fetching</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Filterfield-and-DQL-for-data-fetching/m-p/282690#M1504</link>
      <description>&lt;P&gt;I want the user to input a filter, which the app will convert into a DQL query and use to refetch the data accordingly.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jul 2025 09:12:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Filterfield-and-DQL-for-data-fetching/m-p/282690#M1504</guid>
      <dc:creator>xBirahim</dc:creator>
      <dc:date>2025-07-31T09:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Filterfield and DQL for data fetching</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Filterfield-and-DQL-for-data-fetching/m-p/282704#M1507</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi xBirahim.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As of now, there is no mapping to DQL from FilterField because originally we wanted to keep the FilterField component DQL agnostic. Currently, &lt;STRONG&gt;it's on our roadmap&lt;/STRONG&gt; to offer a mapping for it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Meanwhile, &lt;A href="https://docs.dynatrace.com/docs/discover-dynatrace/get-started/dynatrace-ui/ui-filter-field#translation-to-dql" target="_blank"&gt;here there is some documentation on how to map from FilterField to DQL&lt;/A&gt;&amp;nbsp;in case you want to build the mapper yourself.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jul 2025 11:00:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Filterfield-and-DQL-for-data-fetching/m-p/282704#M1507</guid>
      <dc:creator>dani_coll</dc:creator>
      <dc:date>2025-07-31T11:00:11Z</dc:date>
    </item>
  </channel>
</rss>

