<?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: How could I get  information  to know which tables used for each layer ? in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1286766#M4402</link>
    <description>&lt;P&gt;In the table of contents, you can also list by data source:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RhettZufelt_1-1683558556322.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70117i231C4BDA8745873D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RhettZufelt_1-1683558556322.png" alt="RhettZufelt_1-1683558556322.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
    <pubDate>Mon, 08 May 2023 15:09:29 GMT</pubDate>
    <dc:creator>RhettZufelt</dc:creator>
    <dc:date>2023-05-08T15:09:29Z</dc:date>
    <item>
      <title>How could I get  information  to know which tables used for each layer ?</title>
      <link>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1286588#M4395</link>
      <description>&lt;P&gt;I would like to get information from each layer .&lt;/P&gt;&lt;P&gt;Each feature class read different data from different tables at my database .&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How could I get &amp;nbsp;information &amp;nbsp;to know which tables used for each layer in ArcMap ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 01:29:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1286588#M4395</guid>
      <dc:creator>spiderman90</dc:creator>
      <dc:date>2023-05-08T01:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: How could I get  information  to know which tables used for each layer ?</title>
      <link>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1286649#M4399</link>
      <description>&lt;P&gt;Double click on the layer in the table-of-contents (or right click -&amp;gt; properties) to open the layer properties window.&lt;/P&gt;&lt;P&gt;Then go to the 'Source' tab at the top.&amp;nbsp; There you can see the data source the layer is reading from&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/map/working-with-layers/repairing-broken-data-links.htm" target="_blank"&gt;https://desktop.arcgis.com/en/arcmap/latest/map/working-with-layers/repairing-broken-data-links.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you need to see the sources for all layers in the MXD or across multiple MXDs you can use a simple python script&amp;nbsp;&lt;A href="https://community.esri.com/t5/python-questions/script-to-print-all-data-layer-names-and-sources/td-p/203713" target="_blank"&gt;https://community.esri.com/t5/python-questions/script-to-print-all-data-layer-names-and-sources/td-p/203713&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 10:28:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1286649#M4399</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2023-05-08T10:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: How could I get  information  to know which tables used for each layer ?</title>
      <link>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1286752#M4401</link>
      <description>&lt;P&gt;Hello SM90, I have not tried the following ArcPy Code.&amp;nbsp; I just did a quick search online and found the following:&lt;/P&gt;&lt;P&gt;Actual feature class names (as in the data source names).&lt;BR /&gt;&lt;A href="https://gis.stackexchange.com/questions/423776/listing-all-feature-classes-from-an-arcgis-project-file-from-the-data-source" target="_blank"&gt;https://gis.stackexchange.com/questions/423776/listing-all-feature-classes-from-an-arcgis-project-file-from-the-data-source&lt;/A&gt;&lt;/P&gt;&lt;P&gt;import arcpy&lt;BR /&gt;import os&lt;BR /&gt;import glob&lt;BR /&gt;import pandas as pd&lt;/P&gt;&lt;P&gt;# ArcPro = arpx&lt;BR /&gt;# ArcMap = mxd&lt;BR /&gt;aprx_dir = r'H:\007_Services-GV\02_GV_Updates\2201xx_Engineering\*.aprx'&lt;/P&gt;&lt;P&gt;aprx_dict = {}&lt;/P&gt;&lt;P&gt;for aprx_file in glob.glob(aprx_dir):&lt;BR /&gt;aprx = arcpy.mp.ArcGISProject(aprx_file)&lt;BR /&gt;for m in aprx.listMaps():&lt;BR /&gt;print (aprx_file)&lt;BR /&gt;for layer in m.listLayers():&lt;BR /&gt;print(layer.dataSource)&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;-Jeff&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 14:59:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1286752#M4401</guid>
      <dc:creator>JeffHouser</dc:creator>
      <dc:date>2023-05-08T14:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: How could I get  information  to know which tables used for each layer ?</title>
      <link>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1286766#M4402</link>
      <description>&lt;P&gt;In the table of contents, you can also list by data source:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RhettZufelt_1-1683558556322.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70117i231C4BDA8745873D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RhettZufelt_1-1683558556322.png" alt="RhettZufelt_1-1683558556322.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 15:09:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1286766#M4402</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2023-05-08T15:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: How could I get  information  to know which tables used for each layer ?</title>
      <link>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1286947#M4404</link>
      <description>&lt;P&gt;Thanks for ur reply .&lt;/P&gt;&lt;P&gt;I have looked to data source and it show me the name of feature dataset and name feature class .&lt;/P&gt;&lt;P&gt;but feature class data collected &amp;nbsp;from different tables .&lt;/P&gt;&lt;P&gt;i would like to get the name of &amp;nbsp;tables that used to provide the data to this feature class .&lt;/P&gt;&lt;P&gt;How could I get the name of them for each feature class ?&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 18:35:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1286947#M4404</guid>
      <dc:creator>spiderman90</dc:creator>
      <dc:date>2023-05-08T18:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: How could I get  information  to know which tables used for each layer ?</title>
      <link>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1286950#M4405</link>
      <description>&lt;P&gt;It shows me only the feature dataset but I need to know the name of tables the provide data for each feature class or feature dataset ? How could I get table names ?&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 18:37:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1286950#M4405</guid>
      <dc:creator>spiderman90</dc:creator>
      <dc:date>2023-05-08T18:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: How could I get  information  to know which tables used for each layer ?</title>
      <link>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1286951#M4406</link>
      <description>&lt;P&gt;Thanks for the code.I thik the idea here to get the name of layers but I am looking to find the table names that provide data for each layer ?how could I achieve it ?&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 18:38:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1286951#M4406</guid>
      <dc:creator>spiderman90</dc:creator>
      <dc:date>2023-05-08T18:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: How could I get  information  to know which tables used for each layer ?</title>
      <link>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1286958#M4407</link>
      <description>&lt;P&gt;Are you talking about joined/related tables?&lt;/P&gt;&lt;P&gt;Basically, in my example above, "Centerlines" is a table in the geodatabase.&amp;nbsp; It also has shape field holding the geometry so Arc can display it as a feature class when added.&lt;/P&gt;&lt;P&gt;So, the table "name" would be "Centerlines".&amp;nbsp; If you right-click on it and open attribute table you can view it.&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 18:54:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1286958#M4407</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2023-05-08T18:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: How could I get  information  to know which tables used for each layer ?</title>
      <link>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1286971#M4408</link>
      <description>&lt;P&gt;Not if the layer name has been changed in the TOC.&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 19:22:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1286971#M4408</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2023-05-08T19:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: How could I get  information  to know which tables used for each layer ?</title>
      <link>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1286974#M4409</link>
      <description>&lt;P&gt;Or if you have an Alias set on it.&amp;nbsp; That is why I used Centerlines as example, not Urban Growth Area (that is alias, but, it IS the table alias).&lt;/P&gt;&lt;P&gt;Just trying to clarify what a table that provides data for a layer is.....&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 19:29:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1286974#M4409</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2023-05-08T19:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: How could I get  information  to know which tables used for each layer ?</title>
      <link>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1287081#M4410</link>
      <description>&lt;P&gt;As your example , you have centerlines as table .&lt;/P&gt;&lt;P&gt;but in my case , the name here is not the same name of table at my database .&lt;/P&gt;&lt;P&gt;May be 5 tables are providing data for layer and other layer get the data from others tables .&lt;/P&gt;&lt;P&gt;in my case ,if I select on a cable as example then check the log file .&lt;/P&gt;&lt;P&gt;It shows me in the log file, that many functions used to show the data on cable .&lt;/P&gt;&lt;P&gt;select * from table a&amp;nbsp;&lt;/P&gt;&lt;P&gt;select * from table b&amp;nbsp;&lt;/P&gt;&lt;P&gt;……….&lt;/P&gt;&lt;P&gt;i mean , each layer getting the data from different tables at my database ,how could I see that tables name that joined to bring the data on layer ?&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 23:28:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1287081#M4410</guid>
      <dc:creator>spiderman90</dc:creator>
      <dc:date>2023-05-08T23:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: How could I get  information  to know which tables used for each layer ?</title>
      <link>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1287095#M4411</link>
      <description>&lt;P&gt;So, sounds like maybe you have a combination of layer with joins and/or views going on.&lt;/P&gt;&lt;P&gt;List by source will show you all layers AND tables that are currently loaded into your map document (image show View, Table, and Feature Class):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RhettZufelt_6-1683589895786.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70203i154981C8AE9574CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RhettZufelt_6-1683589895786.png" alt="RhettZufelt_6-1683589895786.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can right click the layer in ArcMap, properties, source tab to show you the layer/table name/location:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RhettZufelt_1-1683589132135.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70195iD0922A66C1B62C9D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RhettZufelt_1-1683589132135.png" alt="RhettZufelt_1-1683589132135.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you have joins or relates, you can look in the Joins and Relates tab to see what tables are joined or related:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RhettZufelt_2-1683589161775.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70196i77B20AC62E9BCAA1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RhettZufelt_2-1683589161775.png" alt="RhettZufelt_2-1683589161775.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For views, you can find the data location in the source tab, then get properties in ArcCatalog, the definition will show the SQL that creates the view:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RhettZufelt_3-1683589290142.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70198i47BC4996A8A9D66D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RhettZufelt_3-1683589290142.png" alt="RhettZufelt_3-1683589290142.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And if you have relationship classes set up in the database, you can get that info from the Relationships tab in the properties in ArcCatalog.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RhettZufelt_4-1683589609838.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70200iDC4AA30982ED529E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RhettZufelt_4-1683589609838.png" alt="RhettZufelt_4-1683589609838.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 23:52:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/how-could-i-get-information-to-know-which-tables/m-p/1287095#M4411</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2023-05-08T23:52:41Z</dc:date>
    </item>
  </channel>
</rss>

