<?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: Add Data Widget Upload Limit in Experience Builder Custom Widgets</title>
    <link>https://community.esri.com/t5/experience-builder-custom-widgets/add-data-widget-upload-limit/m-p/1636162#M615</link>
    <description>&lt;P&gt;Yes, with the &lt;STRONG&gt;Dev Edition&lt;/STRONG&gt;, you definitely have the flexibility to customize out-of-the-box widgets like &lt;STRONG&gt;Add Data&lt;/STRONG&gt;.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;First, locate the widget source – usually under:&lt;BR /&gt;client/your-app/widgets/common/add-data&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Look inside files like widget.tsx for upload validation logic. There’s typically a maxUploadSize or similar check you can tweak. Just bump that limit up as needed.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;After changes, don’t forget to rebuild your app (npm run build:dev) so it reflects in the UI.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Thu, 24 Jul 2025 20:48:15 GMT</pubDate>
    <dc:creator>VenkataKondepati</dc:creator>
    <dc:date>2025-07-24T20:48:15Z</dc:date>
    <item>
      <title>Add Data Widget Upload Limit</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/add-data-widget-upload-limit/m-p/1636140#M612</link>
      <description>&lt;P&gt;The limit on the &lt;A href="https://doc.arcgis.com/en/experience-builder/latest/configure-widgets/add-data-widget.htm" target="_self"&gt;Add Data Widget&lt;/A&gt; is surprisingly small. It doesn't tell you the limit either. It won't even take a 46KB .csv file. That almost makes it kind of useless. I'm here wondering if I can manipulate the widget to increase the limit? Or can you even customize out-of-the-box widgets?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EDIT:&lt;/STRONG&gt;&amp;nbsp;The actual error/warning reads:&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;The number of records in &amp;lt;file&amp;gt; exceeds the maximum threshold.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 22:19:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/add-data-widget-upload-limit/m-p/1636140#M612</guid>
      <dc:creator>JaredPilbeam2</dc:creator>
      <dc:date>2025-07-24T22:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Add Data Widget Upload Limit</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/add-data-widget-upload-limit/m-p/1636154#M613</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/294090"&gt;@JaredPilbeam2&lt;/a&gt;,&lt;BR /&gt;The Add Data widget has a small, hardcoded upload limit — even small CSVs get blocked. You can’t change it in standard Experience Builder, but if you’re using the Developer Edition, you could tweak the widget code to lift that limit. Otherwise, best workaround is uploading the CSV as a hosted layer and pulling it in that way.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 20:35:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/add-data-widget-upload-limit/m-p/1636154#M613</guid>
      <dc:creator>VenkataKondepati</dc:creator>
      <dc:date>2025-07-24T20:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Add Data Widget Upload Limit</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/add-data-widget-upload-limit/m-p/1636158#M614</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/923685"&gt;@VenkataKondepati&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Yes, my question is referring to the dev edition. (1) I'm not sure how to get the source file of an out-of-the-box widget such as the Add Data widget. (2) I then was wondering where to tweak it.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 20:41:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/add-data-widget-upload-limit/m-p/1636158#M614</guid>
      <dc:creator>JaredPilbeam2</dc:creator>
      <dc:date>2025-07-24T20:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Add Data Widget Upload Limit</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/add-data-widget-upload-limit/m-p/1636162#M615</link>
      <description>&lt;P&gt;Yes, with the &lt;STRONG&gt;Dev Edition&lt;/STRONG&gt;, you definitely have the flexibility to customize out-of-the-box widgets like &lt;STRONG&gt;Add Data&lt;/STRONG&gt;.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;First, locate the widget source – usually under:&lt;BR /&gt;client/your-app/widgets/common/add-data&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Look inside files like widget.tsx for upload validation logic. There’s typically a maxUploadSize or similar check you can tweak. Just bump that limit up as needed.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;After changes, don’t forget to rebuild your app (npm run build:dev) so it reflects in the UI.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 24 Jul 2025 20:48:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/add-data-widget-upload-limit/m-p/1636162#M615</guid>
      <dc:creator>VenkataKondepati</dc:creator>
      <dc:date>2025-07-24T20:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Add Data Widget Upload Limit</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/add-data-widget-upload-limit/m-p/1636192#M616</link>
      <description>&lt;P&gt;I found a few lines referring to the file sizes allowed in the data-file-upload.tsx file. 10MB is the limit for a .csv file. That can't be what's stopping me.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const MaxFileSize: { [key in SupportedFileTypes]: number /** bytes */ } = {
  [SupportedFileTypes.CSV]: 10485760,
  [SupportedFileTypes.GeoJson]: 10485760,
  [SupportedFileTypes.Shapefile]: 2097152,
  // KML size limitaion: https://doc.arcgis.com/en/arcgis-online/reference/kml.htm
  [SupportedFileTypes.KML]: 10485760,
  [SupportedFileTypes.GPX]: 10485760
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;So, I looked to the Exceeded Max Records error in the same file, which is apparently 1000. But, I haven't seen where to change it yet.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 21:59:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/add-data-widget-upload-limit/m-p/1636192#M616</guid>
      <dc:creator>JaredPilbeam2</dc:creator>
      <dc:date>2025-07-24T21:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Add Data Widget Upload Limit</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/add-data-widget-upload-limit/m-p/1636224#M617</link>
      <description>&lt;P&gt;You're right to dig into data-file-upload.tsx. The 10MB size limit isn’t the issue here — your 46KB CSV is well within range. The real problem is the &lt;STRONG&gt;record count limit&lt;/STRONG&gt;, which is capped at &lt;STRONG&gt;1,000 records&lt;/STRONG&gt; in the default Experience Builder Add Data widget.&lt;/P&gt;&lt;H3&gt;What’s Actually Happening&lt;/H3&gt;&lt;P&gt;In the widget’s logic, there’s a check like this:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;if (features.length &amp;gt; 1000) {
  throw new Error('Exceeded Max Records')
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So even if your file is tiny, if it has over 1,000 rows, it’ll throw that error.&lt;/P&gt;&lt;P&gt;What You Can Do&lt;BR /&gt;Since you’re using Developer Edition, you can:&lt;/P&gt;&lt;P&gt;Navigate to the data-file-upload.tsx file.&lt;/P&gt;&lt;P&gt;Locate the line that throws the “Exceeded Max Records” error.&lt;/P&gt;&lt;P&gt;Increase the threshold (e.g., 5000 or more based on your needs).&lt;/P&gt;&lt;P&gt;Rebuild your app using:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;npm run build:dev&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Restart Experience Builder and test.&lt;BR /&gt;&lt;BR /&gt;Please check the link below.&lt;BR /&gt;&lt;A href="https://doc.arcgis.com/en/experience-builder/11.2/configure-widgets/add-data-widget.htm?utm_source=chatgpt.com" target="_blank"&gt;https://doc.arcgis.com/en/experience-builder/11.2/configure-widgets/add-data-widget.htm?utm_source=chatgpt.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 23:37:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/add-data-widget-upload-limit/m-p/1636224#M617</guid>
      <dc:creator>VenkataKondepati</dc:creator>
      <dc:date>2025-07-24T23:37:38Z</dc:date>
    </item>
  </channel>
</rss>

