<?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 attempting to edit query layer in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/error-attempting-to-edit-query-layer/m-p/1121023#M48425</link>
    <description>&lt;P&gt;For me, this seems to have stemmed from the layer's "Alias" (see Layer Properties &amp;gt; Source &amp;gt; Alias) being appended with _1, then _1_2, then _1_2_3, etc. until it reached 68 characters.&lt;/P&gt;&lt;P&gt;My workaround was to export the layer as a Layer File (.lyrx), edit the file using a text editor to remove the _1_2_3 suffix, and then replace the layer from the layer file. This way, you don't have to re-apply any symbology, labelling, scale ranges etc. which you would if you recreate the query layer from scratch.&lt;/P&gt;&lt;P&gt;This workaround might also be achieved using arcpy by modifying the layer's CIM, but I haven't tested this myself.&lt;/P&gt;&lt;P&gt;If anyone knows what the purpose of the alias is in query layers I'd be pleased for an explanation, particularly the % sign and suffixes that get inserted/appended.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Nov 2021 21:45:59 GMT</pubDate>
    <dc:creator>TristanMcHardie</dc:creator>
    <dc:date>2021-11-29T21:45:59Z</dc:date>
    <item>
      <title>Error attempting to edit query layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-attempting-to-edit-query-layer/m-p/539483#M23763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After successfully editing the SQL query in a query layer multiple times (~10), the next edit attempt generates a "Name is empty" error after pressing Validate. The only way to recover seems to be to create a new query layer and redo all the configuration.&amp;nbsp;Has anybody experienced this behavior?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2020 21:51:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-attempting-to-edit-query-layer/m-p/539483#M23763</guid>
      <dc:creator>EricIsaak</dc:creator>
      <dc:date>2020-09-09T21:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error attempting to edit query layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-attempting-to-edit-query-layer/m-p/1040354#M38954</link>
      <description>&lt;P&gt;I am experiencing the same problem and had to do the same workaround as you. I don't know of another way around this.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 20:08:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-attempting-to-edit-query-layer/m-p/1040354#M38954</guid>
      <dc:creator>MikeNelsonOP</dc:creator>
      <dc:date>2021-03-24T20:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error attempting to edit query layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-attempting-to-edit-query-layer/m-p/1047632#M39775</link>
      <description>&lt;P&gt;I have the same issue too&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 15:56:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-attempting-to-edit-query-layer/m-p/1047632#M39775</guid>
      <dc:creator>kshahmmp</dc:creator>
      <dc:date>2021-04-15T15:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error attempting to edit query layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-attempting-to-edit-query-layer/m-p/1062151#M41381</link>
      <description>&lt;P&gt;I have the same issue as well&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 00:37:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-attempting-to-edit-query-layer/m-p/1062151#M41381</guid>
      <dc:creator>LaurentP</dc:creator>
      <dc:date>2021-05-27T00:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error attempting to edit query layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-attempting-to-edit-query-layer/m-p/1062155#M41382</link>
      <description>&lt;P&gt;A known bug.&amp;nbsp;&lt;STRONG&gt;&lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEzNDA1Mg==" target="_self"&gt;BUG-000134052&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Currently, there is no other documented workaround than to create a new query layer.&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 00:46:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-attempting-to-edit-query-layer/m-p/1062155#M41382</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-05-27T00:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error attempting to edit query layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-attempting-to-edit-query-layer/m-p/1121023#M48425</link>
      <description>&lt;P&gt;For me, this seems to have stemmed from the layer's "Alias" (see Layer Properties &amp;gt; Source &amp;gt; Alias) being appended with _1, then _1_2, then _1_2_3, etc. until it reached 68 characters.&lt;/P&gt;&lt;P&gt;My workaround was to export the layer as a Layer File (.lyrx), edit the file using a text editor to remove the _1_2_3 suffix, and then replace the layer from the layer file. This way, you don't have to re-apply any symbology, labelling, scale ranges etc. which you would if you recreate the query layer from scratch.&lt;/P&gt;&lt;P&gt;This workaround might also be achieved using arcpy by modifying the layer's CIM, but I haven't tested this myself.&lt;/P&gt;&lt;P&gt;If anyone knows what the purpose of the alias is in query layers I'd be pleased for an explanation, particularly the % sign and suffixes that get inserted/appended.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 21:45:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-attempting-to-edit-query-layer/m-p/1121023#M48425</guid>
      <dc:creator>TristanMcHardie</dc:creator>
      <dc:date>2021-11-29T21:45:59Z</dc:date>
    </item>
  </channel>
</rss>

