<?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 Consuming Parameterized Query layers from web apps in Publishing and Managing Services Questions</title>
    <link>https://community.esri.com/t5/publishing-and-managing-services-questions/consuming-parameterized-query-layers-from-web-apps/m-p/1138617#M625</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;We're planning to create a Query layer which would reference data from a registered Oracle DB. I see that Query layer accepts range and discrete parameters. Once a feature layer is published with parameters setup, we're looking to consume that layer/map in our custom web application via ArcGIS JavaScript API v4.22. I don't see any documentation on how to pass parameter values via JavaScript.&lt;/P&gt;&lt;P&gt;Is it even possible or parameters are supported only in ArcPro? What are the clients that support Query layer params? Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 31 Jan 2022 05:09:55 GMT</pubDate>
    <dc:creator>raja-gs</dc:creator>
    <dc:date>2022-01-31T05:09:55Z</dc:date>
    <item>
      <title>Consuming Parameterized Query layers from web apps</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/consuming-parameterized-query-layers-from-web-apps/m-p/1138617#M625</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;We're planning to create a Query layer which would reference data from a registered Oracle DB. I see that Query layer accepts range and discrete parameters. Once a feature layer is published with parameters setup, we're looking to consume that layer/map in our custom web application via ArcGIS JavaScript API v4.22. I don't see any documentation on how to pass parameter values via JavaScript.&lt;/P&gt;&lt;P&gt;Is it even possible or parameters are supported only in ArcPro? What are the clients that support Query layer params? Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 05:09:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/consuming-parameterized-query-layers-from-web-apps/m-p/1138617#M625</guid>
      <dc:creator>raja-gs</dc:creator>
      <dc:date>2022-01-31T05:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Consuming Parameterized Query layers from web apps</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/consuming-parameterized-query-layers-from-web-apps/m-p/1139243#M629</link>
      <description>&lt;P&gt;hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/464920"&gt;@raja-gs&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is simple sample that I just came up with and I hope you might find it helpful&lt;BR /&gt;&lt;A href="https://codepen.io/thoquews/pen/gOXPQbG?editors=1000" target="_blank" rel="noopener"&gt;https://codepen.io/thoquews/pen/gOXPQbG?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This will allow you to aggregate data for any slice or combination of slices. In my example, it is showing &lt;STRONG&gt;total crimes per districts for selected crime types&lt;/STRONG&gt;. These results are generated &lt;STRONG&gt;dynamically&lt;/STRONG&gt; -- as you realized the polygon layer does NOT have any crime related attributes. I have a point layer that represents crime locations and types. For each request, the results are &lt;STRONG&gt;aggregated dynamically&lt;/STRONG&gt; from the point layer and being &lt;STRONG&gt;joined&lt;/STRONG&gt; to the polygon layer to visualization.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;pls let me know if you have any question.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TanuHoque_0-1643679632566.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/32794i3CBD29B2AC2F0598/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TanuHoque_0-1643679632566.png" alt="TanuHoque_0-1643679632566.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TanuHoque_1-1643679660904.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/32795iE728B940C4851E2A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TanuHoque_1-1643679660904.png" alt="TanuHoque_1-1643679660904.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TanuHoque_2-1643679667162.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/32796iFB2B97F4A1009509/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TanuHoque_2-1643679667162.png" alt="TanuHoque_2-1643679667162.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TanuHoque_3-1643679672835.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/32797i1D95446E67F71EF3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TanuHoque_3-1643679672835.png" alt="TanuHoque_3-1643679672835.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 01:44:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/consuming-parameterized-query-layers-from-web-apps/m-p/1139243#M629</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2022-02-01T01:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Consuming Parameterized Query layers from web apps</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/consuming-parameterized-query-layers-from-web-apps/m-p/1139246#M630</link>
      <description>&lt;P&gt;Thanks so much &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2620"&gt;@TanuHoque&lt;/a&gt;&amp;nbsp;! I tried your sample and it looks like it will work for us. I'll try this out. Thanks again for spending time on this&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 02:49:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/consuming-parameterized-query-layers-from-web-apps/m-p/1139246#M630</guid>
      <dc:creator>raja-gs</dc:creator>
      <dc:date>2022-02-01T02:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Consuming Parameterized Query layers from web apps</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/consuming-parameterized-query-layers-from-web-apps/m-p/1139482#M632</link>
      <description>&lt;P&gt;I'm glad you found it helpful&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 18:40:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/consuming-parameterized-query-layers-from-web-apps/m-p/1139482#M632</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2022-02-01T18:40:25Z</dc:date>
    </item>
  </channel>
</rss>

