<?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: Hosted Feature Layer String Field Indexing Fail in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-string-field-indexing-fail/m-p/250255#M12259</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/33516"&gt;Sang Hyouk Oum&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Setting a unique index on a text field is still supported - "&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;you can set a unique constraint on any field type except system fields such as ObjectID, GlobalID, and FID."&amp;nbsp;&lt;/SPAN&gt;Are you setting the index in ArcGIS Online following this workflow:&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/arcgis-online/manage-data/add-unique-constraint.htm" title="https://doc.arcgis.com/en/arcgis-online/manage-data/add-unique-constraint.htm"&gt;Add a unique constraint to a field—ArcGIS Online Help | ArcGIS&lt;/A&gt;?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can send a zipped FGDB of your data to &lt;A href="mailto:pklingman@esri.co"&gt;pklingman@esri.co&lt;/A&gt;m I would be happy to publish a Hosted Feature Layer on my end and see if I run into the same error when creating the index.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Oct 2019 23:53:51 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2019-10-01T23:53:51Z</dc:date>
    <item>
      <title>Hosted Feature Layer String Field Indexing Fail</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-string-field-indexing-fail/m-p/250254#M12258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to set an index on string field and it fails with following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Column 'COUNTY' in table 'db_45156.user_45156.SWITRS_20190830_PRO_SWITRS_20190830' is of a type that is invalid for use as a key column in an index.&lt;BR /&gt;(Error Code: 400)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been using the same column for indexing years without an issue. Is this no longer supported?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2019 16:54:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-string-field-indexing-fail/m-p/250254#M12258</guid>
      <dc:creator>SangHyouk_Oum</dc:creator>
      <dc:date>2019-09-26T16:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Feature Layer String Field Indexing Fail</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-string-field-indexing-fail/m-p/250255#M12259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/33516"&gt;Sang Hyouk Oum&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Setting a unique index on a text field is still supported - "&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;you can set a unique constraint on any field type except system fields such as ObjectID, GlobalID, and FID."&amp;nbsp;&lt;/SPAN&gt;Are you setting the index in ArcGIS Online following this workflow:&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/arcgis-online/manage-data/add-unique-constraint.htm" title="https://doc.arcgis.com/en/arcgis-online/manage-data/add-unique-constraint.htm"&gt;Add a unique constraint to a field—ArcGIS Online Help | ArcGIS&lt;/A&gt;?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can send a zipped FGDB of your data to &lt;A href="mailto:pklingman@esri.co"&gt;pklingman@esri.co&lt;/A&gt;m I would be happy to publish a Hosted Feature Layer on my end and see if I run into the same error when creating the index.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2019 23:53:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-string-field-indexing-fail/m-p/250255#M12259</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-10-01T23:53:51Z</dc:date>
    </item>
  </channel>
</rss>

