<?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 Re: Set a query parameter on Living Atlas REST endpoint in Pro in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/set-a-query-parameter-on-living-atlas-rest/m-p/1525676#M87320</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/363906"&gt;@jcarlson&lt;/a&gt;. I didn't know that, thought all data was downloaded and then the definition query kicked in. Good to know. Still don't know why the endpoint query doesn't work. I've done that in Python, although not on Living Atlas layers.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Aug 2024 12:22:03 GMT</pubDate>
    <dc:creator>ZenMasterZeke</dc:creator>
    <dc:date>2024-08-22T12:22:03Z</dc:date>
    <item>
      <title>Set a query parameter on Living Atlas REST endpoint in Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-a-query-parameter-on-living-atlas-rest/m-p/1525443#M87294</link>
      <description>&lt;P&gt;Howdy!&lt;/P&gt;&lt;P&gt;I'm trying to set a query parameter on a Living Atlas Census Tract layer REST endpoint. I'd like it to return only tracts in Michigan. I can do this within the endpoint query page by setting the Where parameter to STATE_ABBR = 'MI'. However, when I try to add the resulting URL to a map in ArcGIS Pro using Add Data From Path, it gives an error of "Bad syntax, status 400" and returns nothing. If I use the base endpoint URL with no parameters, all US census tracts are returned. If I try to set the parameter in either the layer properties in the map, or the URL, I get nothing as well.&lt;/P&gt;&lt;P&gt;Is there a way to do this? I know I can put a definition query on the layer, but I'd prefer to limit the amount of data returned rather than download all and then filter. Thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;ArcGIS Pro 11.2&lt;/P&gt;&lt;P&gt;REST Endpoint:&amp;nbsp;&lt;A href="https://services.arcgis.com/P3ePLMYs2RVChkJx/ArcGIS/rest/services/USA_Census_Tracts/FeatureServer/0" target="_blank"&gt;Layer: USA Census Tract Boundaries (ID:0) (arcgis.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 21:08:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-a-query-parameter-on-living-atlas-rest/m-p/1525443#M87294</guid>
      <dc:creator>ZenMasterZeke</dc:creator>
      <dc:date>2024-08-21T21:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set a query parameter on Living Atlas REST endpoint in Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-a-query-parameter-on-living-atlas-rest/m-p/1525517#M87307</link>
      <description>&lt;P&gt;The Definition Query is the way to do this. Your definition query is literally turned into the "where" parameter in the queries Pro sends to the REST endpoint.&lt;/P&gt;&lt;P&gt;It's not "downloading all" unless you're zoomed out to the full extent of the dataset. You could either add the layer while zoomed in, or else pause the map rendering until the query is in place.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 23:19:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-a-query-parameter-on-living-atlas-rest/m-p/1525517#M87307</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-08-21T23:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set a query parameter on Living Atlas REST endpoint in Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-a-query-parameter-on-living-atlas-rest/m-p/1525676#M87320</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/363906"&gt;@jcarlson&lt;/a&gt;. I didn't know that, thought all data was downloaded and then the definition query kicked in. Good to know. Still don't know why the endpoint query doesn't work. I've done that in Python, although not on Living Atlas layers.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 12:22:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-a-query-parameter-on-living-atlas-rest/m-p/1525676#M87320</guid>
      <dc:creator>ZenMasterZeke</dc:creator>
      <dc:date>2024-08-22T12:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set a query parameter on Living Atlas REST endpoint in Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-a-query-parameter-on-living-atlas-rest/m-p/1525690#M87321</link>
      <description>&lt;P&gt;When Pro, and maybe other desktop software, look at a layer URL, they're expecting the service URL with all the metadata and symbology and such, and then it does the legwork of sending requests to the &lt;STRONG&gt;/query&lt;/STRONG&gt; URL for you. When you point directly at the query, none of the expected information is there to be handled as a layer.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 12:56:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-a-query-parameter-on-living-atlas-rest/m-p/1525690#M87321</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-08-22T12:56:12Z</dc:date>
    </item>
  </channel>
</rss>

