<?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: Is it possible to publish a Spatial View in a Map Service with Feature Access ena in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/is-it-possible-to-publish-a-spatial-view-in-a-map/m-p/71626#M2779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's actually a bug that your workaround worked. When you add capabilities after publishing, it doesn't go through all the same checks and balances that the Analyzer performs when you publish or update the service. Feature Access capability is not supported when working with views.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I encountered this when attempting to publish a Feature Layer with a Query Layer, which is also not supported. In my case, I added Feature Access capability after publishing the service, and all was well until I later tried to update the service. (I did not need Feature Access capability for that particular layer so I resolved it by putting it in a separate service.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For completeness I should mention that in 10.2 you can use Feature Access Capability with Query Layers. However, this is only supported if the query layer is referencing a table and not a view. That has to do with being able to support editing on enterprise spatial data even if it is not registered with the geodatabase, e.g. as a migration path for users of SDS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(Keep in mind also that "technically working" and "officially supported" are two different things - if you had a query layer referencing a view with INSTEAD OF triggers and a unique ID field, I'm not sure if the analyzer would know the difference. I have not tried it. However, there would be no guarantee that it wouldn't cause data corruption or that a future service pack or update won't break it; best avoided.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Sep 2013 23:06:21 GMT</pubDate>
    <dc:creator>BruceDodson</dc:creator>
    <dc:date>2013-09-10T23:06:21Z</dc:date>
    <item>
      <title>Is it possible to publish a Spatial View in a Map Service with Feature Access enabled</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/is-it-possible-to-publish-a-spatial-view-in-a-map/m-p/71624#M2777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are using AGS 10.1 with Oracle 11g/ArcSDE, High Precision with the ESRI Binary spatial type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) I have a &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;feature class&lt;/SPAN&gt;&lt;SPAN&gt; and a &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;table&lt;/SPAN&gt;&lt;SPAN&gt; that are related in a &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;spatial view&lt;/SPAN&gt;&lt;SPAN&gt; created with the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;SDETABLE&lt;/SPAN&gt;&lt;SPAN&gt; ArcSDE command. The related table in the SV provides attributes used for symbolization.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) After the view was created, I 'registered it with the geodatabase' using the context menu in ArcCatalog. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Then I granted create, read, update, delete privileges, using the ArcCatalog 'Manage...' context menu, on the dataset containing the feature class, and to the spatial view itself, to the Oracle account by which I connect to Oracle in ArcMap to add the layer to my map document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) To be extra sure, I verified using TOAD that those privileges were granted to the feature class and spatial view.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I try to publish my map document as a map service with the&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;Feature Access&amp;nbsp; capability enabled&lt;/STRONG&gt;&lt;SPAN&gt;, I get this Error in the Analyze step: Code 00163 "Enabled Feature Access capabilities (Create, Update, Delete) do not match feature layer user privileges (Feature Service)".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What secret sauce am I missing? Or is it not possible to publish a Spatial View with Feature Access?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 18:39:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/is-it-possible-to-publish-a-spatial-view-in-a-map/m-p/71624#M2777</guid>
      <dc:creator>markcheyne</dc:creator>
      <dc:date>2013-05-30T18:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to publish a Spatial View in a Map Service with Feature Access ena</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/is-it-possible-to-publish-a-spatial-view-in-a-map/m-p/71625#M2778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;interesting. we got this working as follows: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) use ArcMap to publish the service with the Feature Access capability enabled, but limited to the Query operation. That successfully publishes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) once published, use the ArcGIS Server Manager web app to change the Feature Access operations to include Create, Update, Delete. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So - bottom line, ArcMap may complain about things that will work without complaint when configured in the Server Manager.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 20:02:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/is-it-possible-to-publish-a-spatial-view-in-a-map/m-p/71625#M2778</guid>
      <dc:creator>markcheyne</dc:creator>
      <dc:date>2013-05-30T20:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to publish a Spatial View in a Map Service with Feature Access ena</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/is-it-possible-to-publish-a-spatial-view-in-a-map/m-p/71626#M2779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's actually a bug that your workaround worked. When you add capabilities after publishing, it doesn't go through all the same checks and balances that the Analyzer performs when you publish or update the service. Feature Access capability is not supported when working with views.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I encountered this when attempting to publish a Feature Layer with a Query Layer, which is also not supported. In my case, I added Feature Access capability after publishing the service, and all was well until I later tried to update the service. (I did not need Feature Access capability for that particular layer so I resolved it by putting it in a separate service.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For completeness I should mention that in 10.2 you can use Feature Access Capability with Query Layers. However, this is only supported if the query layer is referencing a table and not a view. That has to do with being able to support editing on enterprise spatial data even if it is not registered with the geodatabase, e.g. as a migration path for users of SDS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(Keep in mind also that "technically working" and "officially supported" are two different things - if you had a query layer referencing a view with INSTEAD OF triggers and a unique ID field, I'm not sure if the analyzer would know the difference. I have not tried it. However, there would be no guarantee that it wouldn't cause data corruption or that a future service pack or update won't break it; best avoided.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 23:06:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/is-it-possible-to-publish-a-spatial-view-in-a-map/m-p/71626#M2779</guid>
      <dc:creator>BruceDodson</dc:creator>
      <dc:date>2013-09-10T23:06:21Z</dc:date>
    </item>
  </channel>
</rss>

