<?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 to validate FeatureClass names? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-validate-featureclass-names/m-p/1207204#M8666</link>
    <description>&lt;P&gt;I don't think SDK has a method to validate table names.&lt;/P&gt;&lt;P&gt;However, here are some chars that make the table/feature class name invalid - white space( ), dot (.), dash(-), @, &amp;amp;, * , etc.&lt;/P&gt;&lt;P&gt;The table name restrictions depend on the specific RDBMS used.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Aug 2022 13:52:31 GMT</pubDate>
    <dc:creator>Aashis</dc:creator>
    <dc:date>2022-08-29T13:52:31Z</dc:date>
    <item>
      <title>How to validate FeatureClass names?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-validate-featureclass-names/m-p/1206984#M8665</link>
      <description>&lt;P&gt;ArcPy has the function &lt;A href="https://pro.arcgis.com/en/pro-app/2.9/arcpy/functions/validatetablename.htm" target="_self"&gt;ValidateTableName&lt;/A&gt; to remove invalid characters.&lt;/P&gt;&lt;P&gt;&lt;FONT size="5"&gt;Summary&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Takes a table name and a workspace path and returns a valid table name for the workspace. An underscore "_" will replace any invalid character found in the table name and will honor the name restrictions for the workspace. The table name restrictions depend on the specific&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;RDBMS&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a similar function to clean a table name for .NET?&lt;/P&gt;&lt;P&gt;Or is there a list of all invalid characters and words?&lt;/P&gt;&lt;P&gt;I need a way to ensure users don't enter invalid characters when entering a layer name.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Aug 2022 10:21:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-validate-featureclass-names/m-p/1206984#M8665</guid>
      <dc:creator>JR99</dc:creator>
      <dc:date>2022-08-27T10:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate FeatureClass names?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-validate-featureclass-names/m-p/1207204#M8666</link>
      <description>&lt;P&gt;I don't think SDK has a method to validate table names.&lt;/P&gt;&lt;P&gt;However, here are some chars that make the table/feature class name invalid - white space( ), dot (.), dash(-), @, &amp;amp;, * , etc.&lt;/P&gt;&lt;P&gt;The table name restrictions depend on the specific RDBMS used.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 13:52:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-validate-featureclass-names/m-p/1207204#M8666</guid>
      <dc:creator>Aashis</dc:creator>
      <dc:date>2022-08-29T13:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate FeatureClass names?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-validate-featureclass-names/m-p/1208533#M8677</link>
      <description>&lt;P&gt;Thanks for the reply but I was hoping for an answer that was a bit more definative.&lt;/P&gt;&lt;P&gt;I'm using the default geodatabase and whilst I've written my own function to remove non-alpha numeric characters and prevent the table name beginning with a numeral, I was hoping there was somthing inbuilt since the documentation is lacking sufficient explanation on the table naming rules.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 02:25:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-validate-featureclass-names/m-p/1208533#M8677</guid>
      <dc:creator>JR99</dc:creator>
      <dc:date>2022-09-01T02:25:38Z</dc:date>
    </item>
  </channel>
</rss>

