<?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: Update FeatureCalss Alias - the mythical arcpy.AlterAliasName in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/update-featurecalss-alias-the-mythical-arcpy/m-p/6069#M535</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In SDE schema there is a table SDE.GDB_FEATURECLASSES - you do select (ORACLE) like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;SQL&amp;gt; select id,name,aliasname from gdb_objectclasses where name like '%COUNCIL_WARDS_2012_RESULTS';&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to find ID then update the alias and commit the changes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;SQL&amp;gt; update gdb_objectclasses set aliasname='NLC Councillors 2012' where id=1173;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;1 row updated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;SQL&amp;gt; commit;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to refresh the connection in Arc Catalog to see your alias updated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have used that method several times - no problems so far.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrzej&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jun 2012 12:31:31 GMT</pubDate>
    <dc:creator>AndrzejBieniek</dc:creator>
    <dc:date>2012-06-01T12:31:31Z</dc:date>
    <item>
      <title>Update FeatureCalss Alias - the mythical arcpy.AlterAliasName</title>
      <link>https://community.esri.com/t5/python-questions/update-featurecalss-alias-the-mythical-arcpy/m-p/6067#M533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a funny - if I create a feature class via import XML workspace document the alias is just the feature class name eg COUNTY, but if I create it using arcpy.CreateFeatureclass_management the alias is schema name '.' feature class name eg GISLOADER.COUNTY.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have not found a means to set the alias when the feature class is created, and as much as I read that 10.1 will have arcpy.AlterAliasName I'm at 10.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any pointers in sorting this out, using ArcCatalog or arcpy ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 10:02:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-featurecalss-alias-the-mythical-arcpy/m-p/6067#M533</guid>
      <dc:creator>MikeSweetman</dc:creator>
      <dc:date>2012-04-12T10:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Update FeatureClass Alias</title>
      <link>https://community.esri.com/t5/python-questions/update-featurecalss-alias-the-mythical-arcpy/m-p/6068#M534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For what its worth this is what I have learnt so far.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the sde schema table sde_xml_doc1 the column xml_doc_val CLOB contains xml which is interesting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where my featureclass (PRUG_WKG) was loaded via xml workspace document import you would see:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; typens:Names ; PRUG_WKG ; false ; typens:PropertySet&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where my featureclass was created via a python script you would see:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; typens:Names ; false ; typens:PropertySet&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I would imagine that is I could successfully edit this column, and probably regenrate the content of the XML_DOC BLOB column, I might get the effect I am looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone from ESRI wish to suggest how I do this without damaging my database ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cheers Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 10:25:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-featurecalss-alias-the-mythical-arcpy/m-p/6068#M534</guid>
      <dc:creator>MikeSweetman</dc:creator>
      <dc:date>2012-04-20T10:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Update FeatureCalss Alias - the mythical arcpy.AlterAliasName</title>
      <link>https://community.esri.com/t5/python-questions/update-featurecalss-alias-the-mythical-arcpy/m-p/6069#M535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In SDE schema there is a table SDE.GDB_FEATURECLASSES - you do select (ORACLE) like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;SQL&amp;gt; select id,name,aliasname from gdb_objectclasses where name like '%COUNCIL_WARDS_2012_RESULTS';&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to find ID then update the alias and commit the changes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;SQL&amp;gt; update gdb_objectclasses set aliasname='NLC Councillors 2012' where id=1173;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;1 row updated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;SQL&amp;gt; commit;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to refresh the connection in Arc Catalog to see your alias updated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have used that method several times - no problems so far.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrzej&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 12:31:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-featurecalss-alias-the-mythical-arcpy/m-p/6069#M535</guid>
      <dc:creator>AndrzejBieniek</dc:creator>
      <dc:date>2012-06-01T12:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Update FeatureCalss Alias - the mythical arcpy.AlterAliasName</title>
      <link>https://community.esri.com/t5/python-questions/update-featurecalss-alias-the-mythical-arcpy/m-p/6070#M536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Andrzej, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the advice, I really thought I was on to a winner, BUT, in my 10.0 SDE schema I do not have a gdb_featureclasses or a gdb_objectclasses table. Are you using an earlier version perhaps?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have looked for columns with ALIAS in their name, but only have SDE.SDE_XML_INDEX_TAGS.TAG_ALIAS. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SDE.GDB* tables I have are GDB_ITEMS, GDB_ITEMRELATIONSHIPTYPES, GDB_ITEMRELATIONSHIPS, GDB_ITEMTYPES, GDB_REPLICALOG, GDB_TABLES_LAST_MODIFIED.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2012 09:06:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-featurecalss-alias-the-mythical-arcpy/m-p/6070#M536</guid>
      <dc:creator>MikeSweetman</dc:creator>
      <dc:date>2012-06-26T09:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Update FeatureCalss Alias - the mythical arcpy.AlterAliasName</title>
      <link>https://community.esri.com/t5/python-questions/update-featurecalss-alias-the-mythical-arcpy/m-p/6071#M537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Andrzej, &lt;BR /&gt;Are you using an earlier version perhaps?&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, we are still having SDE 9.3.1 on production server. The table might be gone in 10...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrzej&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 08:31:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-featurecalss-alias-the-mythical-arcpy/m-p/6071#M537</guid>
      <dc:creator>AndrzejBieniek</dc:creator>
      <dc:date>2012-07-19T08:31:37Z</dc:date>
    </item>
  </channel>
</rss>

