<?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: Can't create field indexes on feature layer with related table in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/can-t-create-field-indexes-on-feature-layer-with/m-p/1682133#M67758</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/22623"&gt;@RPGIS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion to overwrite the layer.&amp;nbsp; The layer gets overwritten every day via a script and after reading your comment I noticed that it took over twice as long to run this morning than usual.&amp;nbsp; So I went ahead and ran the script again.&amp;nbsp; The indexes are now working.&amp;nbsp; There must've just been an issue when the script originally ran this morning.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Feb 2026 18:32:17 GMT</pubDate>
    <dc:creator>MattCashen</dc:creator>
    <dc:date>2026-02-04T18:32:17Z</dc:date>
    <item>
      <title>Can't create field indexes on feature layer with related table</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-t-create-field-indexes-on-feature-layer-with/m-p/1682061#M67748</link>
      <description>&lt;P&gt;I have a feature layer in AGO that is published every day with a related table.&amp;nbsp; I have a script set up that creates new field indexes on the feature layer after it is republished.&amp;nbsp; I noticed today that the field indexes weren't being created.&amp;nbsp; When I run the script, I get the error &lt;STRONG&gt;"Exception: Unable to add feature service layer definition.&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;A full-text index cannot be created on the table or indexed view because duplicate column 'FIELDNAME' is specified" &lt;/STRONG&gt;I&amp;nbsp;assumed this was a problem with the script, but when I go into AGO and try and manually create the field index it tells me that an index can't be created.&amp;nbsp; I'm guessing this may have been happening since the last AGO update and I only just noticed.&amp;nbsp; I'm fairly certain it is being caused by the related table as I don't have this issue with other layers that don't have related tables.&amp;nbsp; Is this a bug within AGO or is this just a limitation I'm going to have to deal with going forward?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2026 16:11:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-t-create-field-indexes-on-feature-layer-with/m-p/1682061#M67748</guid>
      <dc:creator>MattCashen</dc:creator>
      <dc:date>2026-02-04T16:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can't create field indexes on feature layer with related table</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-t-create-field-indexes-on-feature-layer-with/m-p/1682089#M67753</link>
      <description>&lt;P&gt;One thing you can try as a simple test is to create a very small copy of the datasets/tables and run the script on that small sample to see if it is the script trying to match a field that might be duplicating. If it doesn't then it might be a potential issue with the layer possibly.&lt;/P&gt;&lt;P&gt;Another option is to overwrite the layer and see if that republished dataset/tables fixes the indexing issues.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2026 17:20:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-t-create-field-indexes-on-feature-layer-with/m-p/1682089#M67753</guid>
      <dc:creator>RPGIS</dc:creator>
      <dc:date>2026-02-04T17:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can't create field indexes on feature layer with related table</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-t-create-field-indexes-on-feature-layer-with/m-p/1682133#M67758</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/22623"&gt;@RPGIS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion to overwrite the layer.&amp;nbsp; The layer gets overwritten every day via a script and after reading your comment I noticed that it took over twice as long to run this morning than usual.&amp;nbsp; So I went ahead and ran the script again.&amp;nbsp; The indexes are now working.&amp;nbsp; There must've just been an issue when the script originally ran this morning.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2026 18:32:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-t-create-field-indexes-on-feature-layer-with/m-p/1682133#M67758</guid>
      <dc:creator>MattCashen</dc:creator>
      <dc:date>2026-02-04T18:32:17Z</dc:date>
    </item>
  </channel>
</rss>

