<?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 Definition Query on Published Referenced Service in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/definition-query-on-published-referenced-service/m-p/1643289#M5030</link>
    <description>&lt;P&gt;If you apply a definition query to a referenced feature layer and publish it, the definition query is also applied on the web. So far, so good.&lt;/P&gt;&lt;P&gt;Now the question: Where can I find information about the existence of a definition query and which query it contains?&lt;/P&gt;&lt;P&gt;We cannot find this information in the JSON, the argisserver folder, the arcgisportal folder, the Server/Admin area, the Rest interface, or the Server/Manager area.&lt;/P&gt;&lt;P&gt;There is a MAPX file in the ArcGIS Server Directory that displays the query when opened in ArcGIS Pro. However, if I replace this and change the query, there is no change in the features displayed by the service. So it must be stored somewhere else.&lt;/P&gt;&lt;P&gt;At first glance, it seems that the query can only be changed by overwriting the service, which seems to be a fairly secure way to restrict a layer in the provision of features.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Aug 2025 15:02:06 GMT</pubDate>
    <dc:creator>Ilka_Pleiser</dc:creator>
    <dc:date>2025-08-19T15:02:06Z</dc:date>
    <item>
      <title>Definition Query on Published Referenced Service</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/definition-query-on-published-referenced-service/m-p/1643289#M5030</link>
      <description>&lt;P&gt;If you apply a definition query to a referenced feature layer and publish it, the definition query is also applied on the web. So far, so good.&lt;/P&gt;&lt;P&gt;Now the question: Where can I find information about the existence of a definition query and which query it contains?&lt;/P&gt;&lt;P&gt;We cannot find this information in the JSON, the argisserver folder, the arcgisportal folder, the Server/Admin area, the Rest interface, or the Server/Manager area.&lt;/P&gt;&lt;P&gt;There is a MAPX file in the ArcGIS Server Directory that displays the query when opened in ArcGIS Pro. However, if I replace this and change the query, there is no change in the features displayed by the service. So it must be stored somewhere else.&lt;/P&gt;&lt;P&gt;At first glance, it seems that the query can only be changed by overwriting the service, which seems to be a fairly secure way to restrict a layer in the provision of features.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 15:02:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/definition-query-on-published-referenced-service/m-p/1643289#M5030</guid>
      <dc:creator>Ilka_Pleiser</dc:creator>
      <dc:date>2025-08-19T15:02:06Z</dc:date>
    </item>
  </channel>
</rss>

