<?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 Ownership-based access - Layer definition not working? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/ownership-based-access-layer-definition-not/m-p/182180#M7230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have Map Service with Feature Service capability which has &lt;EM&gt;O&lt;/EM&gt;&lt;LABEL class="dijitFocusedLabel" for="esri_discovery_dijit_services_FeatureAccessPropertiesPane_0enableAccessControl"&gt;&lt;EM&gt;wnership-based access&lt;/EM&gt; turned on. I use REST &lt;EM&gt;Export map&lt;/EM&gt; on Map Server of that service. The filtering for logged user works fine - the exported image does not contain the data, that was not created by the logged user. &lt;SPAN style="text-decoration: underline;"&gt;The problem came when I set the &lt;EM&gt;layerDefs&lt;/EM&gt; parameter to any value&lt;/SPAN&gt; - in that case, the returned image is blank. I tried different queries, also this one: {"0":"1=1","1":"1=1","2":"1=1"}&lt;/LABEL&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the service does not use &lt;EM&gt;O&lt;/EM&gt;&lt;LABEL class="dijitFocusedLabel" for="esri_discovery_dijit_services_FeatureAccessPropertiesPane_0enableAccessControl"&gt;&lt;EM&gt;wnership-based access, &lt;/EM&gt;my queries works with no problems.&lt;/LABEL&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Layers in the service are all SDE Feature Classes with&lt;EM&gt; Editor tracking&lt;/EM&gt; turned on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that a bug? Does anyone has the same issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. Filip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jun 2016 08:54:21 GMT</pubDate>
    <dc:creator>FilipJung</dc:creator>
    <dc:date>2016-06-20T08:54:21Z</dc:date>
    <item>
      <title>Ownership-based access - Layer definition not working?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/ownership-based-access-layer-definition-not/m-p/182180#M7230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have Map Service with Feature Service capability which has &lt;EM&gt;O&lt;/EM&gt;&lt;LABEL class="dijitFocusedLabel" for="esri_discovery_dijit_services_FeatureAccessPropertiesPane_0enableAccessControl"&gt;&lt;EM&gt;wnership-based access&lt;/EM&gt; turned on. I use REST &lt;EM&gt;Export map&lt;/EM&gt; on Map Server of that service. The filtering for logged user works fine - the exported image does not contain the data, that was not created by the logged user. &lt;SPAN style="text-decoration: underline;"&gt;The problem came when I set the &lt;EM&gt;layerDefs&lt;/EM&gt; parameter to any value&lt;/SPAN&gt; - in that case, the returned image is blank. I tried different queries, also this one: {"0":"1=1","1":"1=1","2":"1=1"}&lt;/LABEL&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the service does not use &lt;EM&gt;O&lt;/EM&gt;&lt;LABEL class="dijitFocusedLabel" for="esri_discovery_dijit_services_FeatureAccessPropertiesPane_0enableAccessControl"&gt;&lt;EM&gt;wnership-based access, &lt;/EM&gt;my queries works with no problems.&lt;/LABEL&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Layers in the service are all SDE Feature Classes with&lt;EM&gt; Editor tracking&lt;/EM&gt; turned on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that a bug? Does anyone has the same issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. Filip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 08:54:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/ownership-based-access-layer-definition-not/m-p/182180#M7230</guid>
      <dc:creator>FilipJung</dc:creator>
      <dc:date>2016-06-20T08:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ownership-based access - Layer definition not working?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/ownership-based-access-layer-definition-not/m-p/182181#M7231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone has an answer? The Server version is 10.3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 09:59:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/ownership-based-access-layer-definition-not/m-p/182181#M7231</guid>
      <dc:creator>FilipJung</dc:creator>
      <dc:date>2016-06-22T09:59:44Z</dc:date>
    </item>
  </channel>
</rss>

