<?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: arcpy.ListFields in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcpy-listfields/m-p/85539#M3579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since reading the StackExchange thread didn't appear to help you understand how ListFields works, I will point out directly that ListFields doesn't return a list of field names, it returns a list of field objects.&amp;nbsp; If you want the names of the fields, you need to add the 2nd line of code in Dan's comment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Mar 2020 15:11:55 GMT</pubDate>
    <dc:creator>JoshuaBixby</dc:creator>
    <dc:date>2020-03-24T15:11:55Z</dc:date>
    <item>
      <title>arcpy.ListFields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcpy-listfields/m-p/85534#M3574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;Hi~~~&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/486035_field.JPG" /&gt;&lt;/P&gt;&lt;P&gt;I want the following text using the arcpy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"OBJECTID", "EPOCH", "Shape_Length", "Shape_Area", "NAME", "PNAME"&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2020 06:59:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcpy-listfields/m-p/85534#M3574</guid>
      <dc:creator>KalSsin</dc:creator>
      <dc:date>2020-03-24T06:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.ListFields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcpy-listfields/m-p/85535#M3575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could this help you?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://gis.stackexchange.com/questions/330083/arcpy-listfields-displaying-numerical-field-names-instead-of-actual-field-name" title="https://gis.stackexchange.com/questions/330083/arcpy-listfields-displaying-numerical-field-names-instead-of-actual-field-name"&gt;arcgis pro - arcpy.ListFields() displaying numerical field names instead of actual field names - Geographic Information …&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2020 07:36:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcpy-listfields/m-p/85535#M3575</guid>
      <dc:creator>JohannesBierer</dc:creator>
      <dc:date>2020-03-24T07:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.ListFields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcpy-listfields/m-p/85536#M3576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you~~~&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #fdfdfd; color: #000000; font-family: Noto Sans,Noto Sans JP,Noto Sans KR,Helvetica,Microsoft YaHei,Apple SD Gothic Neo,Malgun Gothic,맑은 고딕,Dotum,돋움,sans-serif; font-size: 30px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;This is the data I've already seen.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #fdfdfd; color: #000000; font-family: Noto Sans,Noto Sans JP,Noto Sans KR,Helvetica,Microsoft YaHei,Apple SD Gothic Neo,Malgun Gothic,맑은 고딕,Dotum,돋움,sans-serif; font-size: 30px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #fdfdfd; color: #000000; font-family: Noto Sans,Noto Sans JP,Noto Sans KR,Helvetica,Microsoft YaHei,Apple SD Gothic Neo,Malgun Gothic,맑은 고딕,Dotum,돋움,sans-serif; font-size: 24px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;The table is being sent to Excel to obtain field name from Excel.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2020 08:48:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcpy-listfields/m-p/85536#M3576</guid>
      <dc:creator>KalSsin</dc:creator>
      <dc:date>2020-03-24T08:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.ListFields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcpy-listfields/m-p/85537#M3577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not really clear what you want to do? Feature Class to Excel you can use table to excel tool?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2020 09:14:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcpy-listfields/m-p/85537#M3577</guid>
      <dc:creator>JohannesBierer</dc:creator>
      <dc:date>2020-03-24T09:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.ListFields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcpy-listfields/m-p/85538#M3578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The help files have good examples in both arcmap and arcgis pro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/arcpy/functions/listfields.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/functions/listfields.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;ListFields—ArcPy Functions | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;featureclass &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;"c:\path\to_your\data\Geology"&lt;/SPAN&gt;
field_names &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;f&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;name &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; f &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ListFields&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;featureclass&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:17:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcpy-listfields/m-p/85538#M3578</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-10T23:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.ListFields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcpy-listfields/m-p/85539#M3579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since reading the StackExchange thread didn't appear to help you understand how ListFields works, I will point out directly that ListFields doesn't return a list of field names, it returns a list of field objects.&amp;nbsp; If you want the names of the fields, you need to add the 2nd line of code in Dan's comment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2020 15:11:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcpy-listfields/m-p/85539#M3579</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-03-24T15:11:55Z</dc:date>
    </item>
  </channel>
</rss>

