<?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: Publish a web layer returns error 00241 in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/publish-a-web-layer-returns-error-00241/m-p/1296740#M69968</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/109905"&gt;@RickLederer-Barnes&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I know this is a super old post but I just came across this problem myself.&amp;nbsp; I managed to fix the problem by going into the feature class properties and changed the &lt;STRONG&gt;Display field&lt;/STRONG&gt;.&amp;nbsp; Why Shape_Length is the default when it is know that this field cannot be used when publishing services is beyond me.&amp;nbsp; If you change this to any other field you should be good to go.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DJB_0-1686153388548.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72552i74CCDB1A78017514/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DJB_0-1686153388548.png" alt="DJB_0-1686153388548.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&amp;nbsp; Sorry for the super late response.&lt;/P&gt;&lt;P&gt;~Dan&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jun 2023 15:58:05 GMT</pubDate>
    <dc:creator>DJB</dc:creator>
    <dc:date>2023-06-07T15:58:05Z</dc:date>
    <item>
      <title>Publish a web layer returns error 00241</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/publish-a-web-layer-returns-error-00241/m-p/1207420#M59217</link>
      <description>&lt;P&gt;I'm trying to publish a web layer, it's a single feature layer in my map. When I go to publish I get an error: "00241 Field Shape_Length cannot be used as display field" - well yes, I know that, but I'm not using Shape_Length, I'm using a text field called "Status". I've tried closing and reopening the map. I've tried changing to a different display field. Same error each time. I'm stumped.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 21:03:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/publish-a-web-layer-returns-error-00241/m-p/1207420#M59217</guid>
      <dc:creator>RickLederer-Barnes</dc:creator>
      <dc:date>2022-08-29T21:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Publish a web layer returns error 00241</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/publish-a-web-layer-returns-error-00241/m-p/1296740#M69968</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/109905"&gt;@RickLederer-Barnes&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I know this is a super old post but I just came across this problem myself.&amp;nbsp; I managed to fix the problem by going into the feature class properties and changed the &lt;STRONG&gt;Display field&lt;/STRONG&gt;.&amp;nbsp; Why Shape_Length is the default when it is know that this field cannot be used when publishing services is beyond me.&amp;nbsp; If you change this to any other field you should be good to go.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DJB_0-1686153388548.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72552i74CCDB1A78017514/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DJB_0-1686153388548.png" alt="DJB_0-1686153388548.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&amp;nbsp; Sorry for the super late response.&lt;/P&gt;&lt;P&gt;~Dan&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 15:58:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/publish-a-web-layer-returns-error-00241/m-p/1296740#M69968</guid>
      <dc:creator>DJB</dc:creator>
      <dc:date>2023-06-07T15:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Publish a web layer returns error 00241</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/publish-a-web-layer-returns-error-00241/m-p/1299153#M70218</link>
      <description>&lt;P&gt;Thanks Dan, I eventually figured out that was the problem. I am surprised that Shape_Length would be the default over OID, but at least it's an easy fix (once you know where to look)&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 14:05:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/publish-a-web-layer-returns-error-00241/m-p/1299153#M70218</guid>
      <dc:creator>RickLederer-Barnes</dc:creator>
      <dc:date>2023-06-14T14:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Publish a web layer returns error 00241</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/publish-a-web-layer-returns-error-00241/m-p/1512274#M86176</link>
      <description>&lt;P&gt;Yes! It did help. Since the error is still common, I would call this timely--or timeless and not late at all.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 12:51:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/publish-a-web-layer-returns-error-00241/m-p/1512274#M86176</guid>
      <dc:creator>SierraNevada</dc:creator>
      <dc:date>2024-07-30T12:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Publish a web layer returns error 00241</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/publish-a-web-layer-returns-error-00241/m-p/1535197#M87959</link>
      <description>&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/make-display-field-default-to-objectid/idi-p/1350948" target="_blank" rel="noreferrer noopener"&gt;https://community.esri.com/t5/arcgis-pro-ideas/make-display-field-default-to-objectid/idi-p/1350948&lt;/A&gt;&amp;nbsp;Give this Idea Kudos! It is to make the display field default to ObjectID instead of shape_length.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 18:44:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/publish-a-web-layer-returns-error-00241/m-p/1535197#M87959</guid>
      <dc:creator>AndreaB_</dc:creator>
      <dc:date>2024-09-04T18:44:44Z</dc:date>
    </item>
  </channel>
</rss>

