<?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: Error adding rest service, &amp;quot;Can't add layer. (Shape field missing).&amp;quot; in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/error-adding-rest-service-quot-can-t-add-layer/m-p/1163637#M32952</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/152557"&gt;@BrittanyBurson&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I can't seem to find the &lt;STRONG&gt;Shape&lt;/STRONG&gt; field in the Field list screenshot you shared. It has Shape_Length and Shape_Area but not &lt;STRONG&gt;Shape&lt;/STRONG&gt;. As you know, that usually happens when you publish a map service with Shape field's visibility turned off. It is the reason Map Viewer throws the error and Pro doesn't display features on the map.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;However, adding as an entire collection does not let me move the layer up or down in the map contents&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;On this one, if you have &lt;A href="https://enterprise.arcgis.com/en/server/latest/publish-services/windows/about-dynamic-layers.htm" target="_self"&gt;Dynamic Layers capability&lt;/A&gt; enabled for this map service, then you should be able move/shuffle child layers &lt;STRONG&gt;within&lt;/STRONG&gt; the map service layer. &lt;EM&gt;Not sure if that is going to help you in this case, but I just wanted to mention here for other users who might come across this post later&lt;/EM&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Apr 2022 19:01:11 GMT</pubDate>
    <dc:creator>TanuHoque</dc:creator>
    <dc:date>2022-04-12T19:01:11Z</dc:date>
    <item>
      <title>Error adding rest service, "Can't add layer. (Shape field missing)."</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/error-adding-rest-service-quot-can-t-add-layer/m-p/1163633#M32951</link>
      <description>&lt;P&gt;I am getting an error&amp;nbsp;&lt;STRONG&gt;"Can't add layer. (Shape field missing)."&lt;/STRONG&gt; trying to add rest services hosted in our 10.8.1 Enterprise server into a web map.&lt;/P&gt;&lt;P&gt;They add and display if I add the entire collection of service endpoints ie.&amp;nbsp;&lt;A href="https://webmaps.sandiego.gov/arcgis/rest/services/{sample_folder}/MapServer" target="_blank" rel="noopener"&gt;https://webmaps.city.gov/arcgis/rest/services/{sample_folder}/MapServer&lt;/A&gt;&amp;nbsp;but not via single endpoint ie.&amp;nbsp;&lt;A href="https://webmaps.sandiego.gov/arcgis/rest/services/{sample_folder}/MapServer/32" target="_blank" rel="noopener"&gt;https://webmaps.city.gov/arcgis/rest/services/{sample_folder}/MapServer/32&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, adding as an entire collection does not let me move the layer up or down in the map contents -- it must sit as the bottom layer.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrittanyBurson_0-1649788984372.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/38709i700AEAD4FE17BF80/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrittanyBurson_0-1649788984372.png" alt="BrittanyBurson_0-1649788984372.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I see the shape fields visible in the service information...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrittanyBurson_1-1649789059513.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/38710i1052758168492FF9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrittanyBurson_1-1649789059513.png" alt="BrittanyBurson_1-1649789059513.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As well as when I pull the layer into Pro 2.9.2. I can open the table and view the features, but not see the features on the map, despite the field being visible.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrittanyBurson_2-1649789122267.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/38711i4E1CF60CB8898ACC/image-size/large?v=v2&amp;amp;px=999" role="button" title="BrittanyBurson_2-1649789122267.png" alt="BrittanyBurson_2-1649789122267.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thoughts? I have tried searching this error in the existing Community posts but have not had any luck.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 18:50:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/error-adding-rest-service-quot-can-t-add-layer/m-p/1163633#M32951</guid>
      <dc:creator>BrittanyBurson</dc:creator>
      <dc:date>2022-04-12T18:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error adding rest service, "Can't add layer. (Shape field missing)."</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/error-adding-rest-service-quot-can-t-add-layer/m-p/1163637#M32952</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/152557"&gt;@BrittanyBurson&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I can't seem to find the &lt;STRONG&gt;Shape&lt;/STRONG&gt; field in the Field list screenshot you shared. It has Shape_Length and Shape_Area but not &lt;STRONG&gt;Shape&lt;/STRONG&gt;. As you know, that usually happens when you publish a map service with Shape field's visibility turned off. It is the reason Map Viewer throws the error and Pro doesn't display features on the map.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;However, adding as an entire collection does not let me move the layer up or down in the map contents&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;On this one, if you have &lt;A href="https://enterprise.arcgis.com/en/server/latest/publish-services/windows/about-dynamic-layers.htm" target="_self"&gt;Dynamic Layers capability&lt;/A&gt; enabled for this map service, then you should be able move/shuffle child layers &lt;STRONG&gt;within&lt;/STRONG&gt; the map service layer. &lt;EM&gt;Not sure if that is going to help you in this case, but I just wanted to mention here for other users who might come across this post later&lt;/EM&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 19:01:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/error-adding-rest-service-quot-can-t-add-layer/m-p/1163637#M32952</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2022-04-12T19:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error adding rest service, "Can't add layer. (Shape field missing)."</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/error-adding-rest-service-quot-can-t-add-layer/m-p/1163640#M32953</link>
      <description>&lt;P&gt;Thanks so much for your reply&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2620"&gt;@TanuHoque&lt;/a&gt;. I was hoping there would be a way to work with it without needing to republish, but you're right, the Shape field is indeed missing in the service screenshot. Appreciate the guidance and info about dynamic layers!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 19:16:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/error-adding-rest-service-quot-can-t-add-layer/m-p/1163640#M32953</guid>
      <dc:creator>BrittanyBurson</dc:creator>
      <dc:date>2022-04-12T19:16:33Z</dc:date>
    </item>
  </channel>
</rss>

