<?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>idea Layer/table definition files (readable in a text editor) in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/layer-table-definition-files-readable-in-a-text/idi-p/1237937</link>
    <description>&lt;P&gt;I wonder if it would be useful to have an ArcGIS file type that’s kind of like a .LYR file, except you can view and edit the definition in a text editor. Or edit the definition text directly with Python.&lt;/P&gt;&lt;P&gt;For example, it might be a full blown SELECT query, with SELECT, FROM, and WHERE clauses.&amp;nbsp;&lt;SPAN&gt;It could be thought of as an .SQL file for ArcGIS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maybe it would be similar to a query layer, except it’s a file, and works for all supported ArcGIS layer &amp;amp; &lt;U&gt;table&lt;/U&gt; types. Not just enterprise geodatabase feature classes/tables.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Dec 2022 09:55:15 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2022-12-06T09:55:15Z</dc:date>
    <item>
      <title>Layer/table definition files (readable in a text editor)</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/layer-table-definition-files-readable-in-a-text/idi-p/1237937</link>
      <description>&lt;P&gt;I wonder if it would be useful to have an ArcGIS file type that’s kind of like a .LYR file, except you can view and edit the definition in a text editor. Or edit the definition text directly with Python.&lt;/P&gt;&lt;P&gt;For example, it might be a full blown SELECT query, with SELECT, FROM, and WHERE clauses.&amp;nbsp;&lt;SPAN&gt;It could be thought of as an .SQL file for ArcGIS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maybe it would be similar to a query layer, except it’s a file, and works for all supported ArcGIS layer &amp;amp; &lt;U&gt;table&lt;/U&gt; types. Not just enterprise geodatabase feature classes/tables.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 09:55:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/layer-table-definition-files-readable-in-a-text/idi-p/1237937</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2022-12-06T09:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Layer/table definition files (readable in a text editor)</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/layer-table-definition-files-readable-in-a-text/idc-p/1238223#M22413</link>
      <description>&lt;P&gt;Something like this would be really useful to me right now!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am trying to reconcile layer styles between an old version and new version of a project, the problem being that in the new version a lot of the layer names and features have been changed. There are many hundreds of layers, so I want to find a way to open the old .lyr files, search and replace the old layer names with the new ones, and then save as a new .lyr file I can use to update styling in the new project version.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 14:11:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/layer-table-definition-files-readable-in-a-text/idc-p/1238223#M22413</guid>
      <dc:creator>TomKirkpatrick</dc:creator>
      <dc:date>2022-12-06T14:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Layer/table definition files (readable in a text editor)</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/layer-table-definition-files-readable-in-a-text/idc-p/1266427#M23675</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/564923"&gt;@TomKirkpatrick&lt;/a&gt;&amp;nbsp;On further investigation, it seems like .lyrx files might already do what we want.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If I open a .lyrx file in a text editor, the source code is in JSON format and is human-readable.&lt;UL&gt;&lt;LI&gt;The definition query SQL expression is human-readable in the file too.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;An EGDB query layer can be saved as a .lyrx file. The full query (SELECT/FROM/WHERE/ETC.) is human-readable in a text editor.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;In Pro 3.1 (not 2.6.8),&lt;/STRONG&gt; .lyrx files seem to support standalone tables too, not just layers, which is good.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1678459987698.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/64902iF941118140E0E9DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_0-1678459987698.png" alt="Bud_0-1678459987698.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do you agree that .LYRX files do everything we need (at least in Pro 3.1)?&lt;/P&gt;&lt;P&gt;Or is there other functionality that is needed? Are you able to batch-update .LYRX files using Python? Or does ArcPy not let you do that?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 14:58:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/layer-table-definition-files-readable-in-a-text/idc-p/1266427#M23675</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-03-10T14:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Layer/table definition files (readable in a text editor)</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/layer-table-definition-files-readable-in-a-text/idc-p/1266429#M23676</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/129401"&gt;@KoryKramer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I understand correctly, somewhere between ArcGIS Pro 2.6.8 and 3.1, functionality was added so that .LYRX files can be created for &lt;STRONG&gt;standalone tables&lt;/STRONG&gt;, not just layers.&lt;/P&gt;&lt;P&gt;If that's the case, then I think this idea can be closed. Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ArcGIS Pro 2.6.8:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_1-1678461055944.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/64906iE0D35E8DB5D6464F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_1-1678461055944.png" alt="Bud_1-1678461055944.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;ArcGIS Pro 3.1:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1678460935894.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/64904i08E145850FC14178/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_0-1678460935894.png" alt="Bud_0-1678460935894.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 15:11:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/layer-table-definition-files-readable-in-a-text/idc-p/1266429#M23676</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-03-10T15:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Layer/table definition files (readable in a text editor) - Status changed to: Implemented</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/layer-table-definition-files-readable-in-a-text/idc-p/1266435#M23677</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/351335"&gt;@Bud&lt;/a&gt;&amp;nbsp;Yes, in ArcGIS Pro 2.9:&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/2.9/get-started/whats-new-in-arcgis-pro.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/2.9/get-started/whats-new-in-arcgis-pro.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KoryKramer_0-1678461029101.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/64905i9E87A830226FB31D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KoryKramer_0-1678461029101.png" alt="KoryKramer_0-1678461029101.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 15:10:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/layer-table-definition-files-readable-in-a-text/idc-p/1266435#M23677</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2023-03-10T15:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Layer/table definition files (readable in a text editor)</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/layer-table-definition-files-readable-in-a-text/idc-p/1266466#M23685</link>
      <description>&lt;P&gt;Idea:&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/update-the-docs-lyrx-layer-files-support/idi-p/1266438" target="_self"&gt;Update the docs: .LYRX layer files support standalone tables, not just layers&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 16:00:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/layer-table-definition-files-readable-in-a-text/idc-p/1266466#M23685</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-03-10T16:00:37Z</dc:date>
    </item>
  </channel>
</rss>

