<?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 'setnewalias' method for fieldInfo objects in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/setnewalias-method-for-fieldinfo-objects/idi-p/963810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;fieldInfo objects are pretty neat but it seems to me they are missing a pretty important method. Currently, you can get field names, assign new names, set visibility, establish split policy, remove fields and return a list of the visible. I noticed you can't set a new field alias though.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you can set a new name using the setnewname() method, you should also be able to set a new alias using a setnewalias() method. I mean, names and alias' go hand-in-hand.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Without this method, the only alternative to do this in python is to iterate through the fields after export and use the AlterFields tool.

&lt;!-- content transformation source ID: 087E00000005EbS --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Aug 2014 13:35:49 GMT</pubDate>
    <dc:creator>JohnDye</dc:creator>
    <dc:date>2014-08-01T13:35:49Z</dc:date>
    <item>
      <title>'setnewalias' method for fieldInfo objects</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/setnewalias-method-for-fieldinfo-objects/idi-p/963810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;fieldInfo objects are pretty neat but it seems to me they are missing a pretty important method. Currently, you can get field names, assign new names, set visibility, establish split policy, remove fields and return a list of the visible. I noticed you can't set a new field alias though.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you can set a new name using the setnewname() method, you should also be able to set a new alias using a setnewalias() method. I mean, names and alias' go hand-in-hand.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Without this method, the only alternative to do this in python is to iterate through the fields after export and use the AlterFields tool.

&lt;!-- content transformation source ID: 087E00000005EbS --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 13:35:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/setnewalias-method-for-fieldinfo-objects/idi-p/963810</guid>
      <dc:creator>JohnDye</dc:creator>
      <dc:date>2014-08-01T13:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: 'setnewalias' method for fieldInfo objects - Status changed to: Closed</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/setnewalias-method-for-fieldinfo-objects/idc-p/1333229#M26357</link>
      <description>&lt;P&gt;Thank you for your idea! Broadly speaking, the FieldInfo object isn't as heavily used as some other approaches to achieve this goal. We recommend using&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/alteraliasname.htm" target="_self"&gt;arcpy.AlterAliasName&lt;/A&gt; on the resulting dataset in order to make the requested change. &amp;nbsp;This is not as elegant as your suggestion, but it should be effective.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 02:30:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/setnewalias-method-for-fieldinfo-objects/idc-p/1333229#M26357</guid>
      <dc:creator>ShaunWalbridge</dc:creator>
      <dc:date>2023-09-28T02:30:20Z</dc:date>
    </item>
  </channel>
</rss>

