<?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 Developers Ideas</title>
    <link>https://community.esri.com/t5/developers-ideas/setnewalias-method-for-fieldinfo-objects/idi-p/937330</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/developers-ideas/setnewalias-method-for-fieldinfo-objects/idi-p/937330</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/developers-ideas/setnewalias-method-for-fieldinfo-objects/idi-p/937330</guid>
      <dc:creator>JohnDye</dc:creator>
      <dc:date>2014-08-01T13:35:49Z</dc:date>
    </item>
  </channel>
</rss>

