<?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 allow local file upload with the Analysis widget using a Custom web tool published from a Notebook (ArcGIS Online) in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-allow-local-file-upload-with-the-analysis/m-p/1614405#M18933</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/673373"&gt;@MarcHoogerwerf_EsriNL&lt;/a&gt;&amp;nbsp;Thanks for your detailed investigation. I have forwarded the info to Notebook team and hope they can help. Meanwhile, you may post your question also in the Notebook channel see if you can get a quicker response:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-notebooks-questions/bd-p/arcgis-notebooks-questions" target="_blank"&gt;https://community.esri.com/t5/arcgis-notebooks-questions/bd-p/arcgis-notebooks-questions&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 14 May 2025 06:12:38 GMT</pubDate>
    <dc:creator>Wei_Ying</dc:creator>
    <dc:date>2025-05-14T06:12:38Z</dc:date>
    <item>
      <title>How to allow local file upload with the Analysis widget using a Custom web tool published from a Notebook (ArcGIS Online)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-allow-local-file-upload-with-the-analysis/m-p/1575550#M16901</link>
      <description>&lt;P&gt;In an experience builder, I need to allow users to upload an Excel file for further processing in a notebook published as a Custom web tool.&lt;/P&gt;&lt;P&gt;I created a notebook, configured the input parameters with a "file" type, declared it in the notebook code and published it.&lt;/P&gt;&lt;P&gt;In Experience Builder, I configured the analysis widget to use the published Custom web tool.&lt;/P&gt;&lt;P&gt;However, when configuring the Analysis widget, the checkbox "Allow local file upload" was disabled in the input parameter for the file.&lt;/P&gt;&lt;P&gt;I discovered that I could edit the json service file for the web tool (webtoolService.json) using ArcGIS Assistant and allow uploads with&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;"capabilities": "Uploads".&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I can now enable the "Allow local file upload" option in the widget and I can click on the "upload" button then choose a local file to upload from my computer (small 1kb csv file). But when I do, I get the error:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;"Error performing upload operation, file size or type not supported for this service"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What am I missing? I swear I could do this operation like 4-5 weeks ago when exploring the functionalities of notebooks and analysis widget.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 19:05:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-allow-local-file-upload-with-the-analysis/m-p/1575550#M16901</guid>
      <dc:creator>PatricePineaultWSP</dc:creator>
      <dc:date>2025-01-14T19:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to allow local file upload with the Analysis widget using a Custom web tool published from a Notebook (ArcGIS Online)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-allow-local-file-upload-with-the-analysis/m-p/1576707#M16958</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/869006"&gt;@PatricePineaultWSP&lt;/a&gt;&amp;nbsp;Thanks for reaching out. Some questions:&amp;nbsp;&lt;BR /&gt;1. What version of ExB are you using?&amp;nbsp;&lt;BR /&gt;2. What type of the file you are trying to upload?&amp;nbsp;&lt;BR /&gt;3. Can you check your web tool service's&amp;nbsp;&lt;STRONG&gt;admin&lt;/STRONG&gt;&amp;nbsp;point see its allowing file types and max file size.&lt;BR /&gt;Such as "&lt;A href="https://domainname/server/admin/services/Tooname.GPServer" target="_blank"&gt;https://domainname/server/admin/services/Tooname.GPServer&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Wei_Ying_0-1737075947105.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/123524i28ED1D9D42D5EF74/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Wei_Ying_0-1737075947105.png" alt="Wei_Ying_0-1737075947105.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 01:06:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-allow-local-file-upload-with-the-analysis/m-p/1576707#M16958</guid>
      <dc:creator>Wei_Ying</dc:creator>
      <dc:date>2025-01-17T01:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to allow local file upload with the Analysis widget using a Custom web tool published from a Notebook (ArcGIS Online)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-allow-local-file-upload-with-the-analysis/m-p/1577520#M17015</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;1.16.0&lt;/LI&gt;&lt;LI&gt;At the moment, CSV. But need it to&amp;nbsp; be XLSX&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/" target="_blank"&gt;https://notebooksservices3.arcgis.com/admin/services/&amp;lt;myToolId&amp;gt;.GPServer&lt;/A&gt; There are no properties about "Max upload file size" or "Allowed upload file types"&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 18:33:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-allow-local-file-upload-with-the-analysis/m-p/1577520#M17015</guid>
      <dc:creator>PatricePineaultWSP</dc:creator>
      <dc:date>2025-01-21T18:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to allow local file upload with the Analysis widget using a Custom web tool published from a Notebook (ArcGIS Online)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-allow-local-file-upload-with-the-analysis/m-p/1600138#M18169</link>
      <description>&lt;P&gt;CVS and XLSX are supported to be upload as long as your gp service allow to do so.&lt;BR /&gt;You have to check with the gp service on server admin side, such as. Please contact your server admin maybe to help verify the supported type for the gp service you are using.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Wei_Ying_0-1743108148460.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/128873i84DE1FB89B9FF9D9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Wei_Ying_0-1743108148460.png" alt="Wei_Ying_0-1743108148460.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 20:43:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-allow-local-file-upload-with-the-analysis/m-p/1600138#M18169</guid>
      <dc:creator>Wei_Ying</dc:creator>
      <dc:date>2025-03-27T20:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to allow local file upload with the Analysis widget using a Custom web tool published from a Notebook (ArcGIS Online)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-allow-local-file-upload-with-the-analysis/m-p/1611017#M18747</link>
      <description>&lt;P&gt;Hi Wei Ying,&lt;/P&gt;&lt;P&gt;I'm trying to do a similar thing from a WebTool published from an &lt;STRONG&gt;ArcGIS Online&lt;/STRONG&gt; Notebook. However, the services directory seems to be disabled for the WebTools published from online notebooks. Is this a permission issue or is it disabled across the board? Is there any way to enable local file uploads to a Webtool?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcHoogerwerf_EsriNL_0-1746170839057.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/131341i4DBDC76F7EF8271A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarcHoogerwerf_EsriNL_0-1746170839057.png" alt="MarcHoogerwerf_EsriNL_0-1746170839057.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Currently this is a showstopper for a customer who is planning to move their entire GIS operation from ArcGIS Enterprise to ArcGIS Online. A common workflow in many of their domains is allowing users to upload project files (Excel, CSV, images, CAD files) to a GP service that process them and adds the results to a company wide repository (hosted feature layers, image mosaics, oriented imagery layer, etc).&lt;/P&gt;&lt;P&gt;I've updated webtoolService.json with entries for capabilities, maxUploadFileSize and allowedUploadFileTypes&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
    "currentVersion": 11.4,
    "cimVersion": "2.9.0",
    "serviceDescription": "uplolad excel",
    "executionType": "esriExecutionTypeAsynchronous",
    "resultMapServerName": "",
    "maximumRecords": 1000,
    "capabilities": "Uploads",
    "maxUploadFileSize": 2000,
    "allowedUploadFileTypes": "xlsx,xls",
    "tasks": [
        "Upload_Excel"
    ],
    "serviceUrl": null,
    "timeoutInMinutes": 15
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So allow local file upload is now enabled in Experience Builder&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcHoogerwerf_EsriNL_0-1746193724577.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/131357i197D85D93FB87148/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarcHoogerwerf_EsriNL_0-1746193724577.png" alt="MarcHoogerwerf_EsriNL_0-1746193724577.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I'm getting this error when selecting a small .xlsx from my local machine&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcHoogerwerf_EsriNL_1-1746193900923.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/131358iFCE6B7423DB83955/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarcHoogerwerf_EsriNL_1-1746193900923.png" alt="MarcHoogerwerf_EsriNL_1-1746193900923.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I opened up DevTools to see what's happening when I try to upload the .xlsx file.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/" target="_blank"&gt;https://notebookswebtools.arcgis.com/arcgis/rest/services/5492156d2f0c48caaee9b7f03febdc50/GPServer/uploads/upload?token=&amp;lt;token_here&amp;gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It fails with a 400 Bad Request Error:&lt;/P&gt;&lt;P&gt;curl ^"&lt;A href="https://notebookswebtools.arcgis.com/arcgis/rest/services/5492156d2f0c48caaee9b7f03febdc50/GPServer/uploads/upload?token=" target="_blank"&gt;https://notebookswebtools.arcgis.com/arcgis/rest/services/5492156d2f0c48caaee9b7f03febdc50/GPServer/uploads/upload?token=&lt;/A&gt;&amp;lt;token_here&amp;gt;^" ^&lt;BR /&gt;-H ^"Accept: */*^" ^&lt;BR /&gt;-H ^"Accept-Language: en-US,en;q=0.9^" ^&lt;BR /&gt;-H ^"Connection: keep-alive^" ^&lt;BR /&gt;-H ^"Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryugnpt6fxyHxjo6jc^" ^&lt;BR /&gt;-H ^"Origin: &lt;A href="https://experience.arcgis.com^" target="_blank"&gt;https://experience.arcgis.com^&lt;/A&gt;" ^&lt;BR /&gt;-H ^"Referer: &lt;A href="https://experience.arcgis.com/experience/2079130ecf924c77a08f3f56a8df2cc6?draft=true^" target="_blank"&gt;https://experience.arcgis.com/experience/2079130ecf924c77a08f3f56a8df2cc6?draft=true^&lt;/A&gt;" ^&lt;BR /&gt;-H ^"Sec-Fetch-Dest: empty^" ^&lt;BR /&gt;-H ^"Sec-Fetch-Mode: cors^" ^&lt;BR /&gt;-H ^"Sec-Fetch-Site: same-site^" ^&lt;BR /&gt;-H ^"User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0^" ^&lt;BR /&gt;-H ^"sec-ch-ua: ^\^"Microsoft Edge^\^";v=^\^"135^\^", ^\^"Not-A.Brand^\^";v=^\^"8^\^", ^\^"Chromium^\^";v=^\^"135^\^"^" ^&lt;BR /&gt;-H ^"sec-ch-ua-mobile: ?0^" ^&lt;BR /&gt;-H ^"sec-ch-ua-platform: ^\^"Windows^\^"^" ^&lt;BR /&gt;&lt;STRONG&gt;--data-raw ^"------WebKitFormBoundaryugnpt6fxyHxjo6jc^&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Content-Disposition: form-data; name=^\^"file^\^"; filename=^\^"Test.xlsx^\^"^&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet^&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;^&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;^&lt;/P&gt;&lt;P&gt;------WebKitFormBoundaryugnpt6fxyHxjo6jc^&lt;/P&gt;&lt;P&gt;Content-Disposition: form-data; name=^\^"f^\^"^&lt;/P&gt;&lt;P&gt;^&lt;/P&gt;&lt;P&gt;json^&lt;/P&gt;&lt;P&gt;------WebKitFormBoundaryugnpt6fxyHxjo6jc^&lt;/P&gt;&lt;P&gt;Content-Disposition: form-data; name=^\^"token^\^"^&lt;/P&gt;&lt;P&gt;^&lt;/P&gt;&lt;P&gt;&amp;lt;token_here&amp;gt;^&lt;/P&gt;&lt;P&gt;------WebKitFormBoundaryugnpt6fxyHxjo6jc--^&lt;/P&gt;&lt;P&gt;^"&lt;/P&gt;&lt;P&gt;Then I had a look at the request that was done before the upload request:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/" target="_blank"&gt;https://notebookswebtools.arcgis.com/arcgis/rest/services/5492156d2f0c48caaee9b7f03febdc50/GPServer?f=json&amp;amp;token=&amp;lt;token_here&amp;gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And got this response&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
    "currentVersion": 11.4,
    "cimVersion": "2.9.0",
    "serviceDescription": "Upload Excel Nieuw",
    "executionType": "esriExecutionTypeAsynchronous",
    "resultMapServerName": "",
    "maximumRecords": 1000,
    "capabilities": "Uploads",
    "tasks": [
        "Upload_Excel"
    ],
    "timeoutInMinutes": 15
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, obviously, the service doesn't allow my Excel files to be uploaded. The allowedUploadFileTypes I specified in the webtoolService.json don't end up in the service definition.&lt;/P&gt;&lt;P&gt;Am I missing something? Is there another place where I can specify allowUploadFileTypes? In ArcGIS Enterprise I can get to the right place to edit the GPService definition, but where should this be done in AGOL?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 07:15:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-allow-local-file-upload-with-the-analysis/m-p/1611017#M18747</guid>
      <dc:creator>MarcHoogerwerf_EsriNL</dc:creator>
      <dc:date>2025-05-08T07:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to allow local file upload with the Analysis widget using a Custom web tool published from a Notebook (ArcGIS Online)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-allow-local-file-upload-with-the-analysis/m-p/1614405#M18933</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/673373"&gt;@MarcHoogerwerf_EsriNL&lt;/a&gt;&amp;nbsp;Thanks for your detailed investigation. I have forwarded the info to Notebook team and hope they can help. Meanwhile, you may post your question also in the Notebook channel see if you can get a quicker response:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-notebooks-questions/bd-p/arcgis-notebooks-questions" target="_blank"&gt;https://community.esri.com/t5/arcgis-notebooks-questions/bd-p/arcgis-notebooks-questions&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 06:12:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-allow-local-file-upload-with-the-analysis/m-p/1614405#M18933</guid>
      <dc:creator>Wei_Ying</dc:creator>
      <dc:date>2025-05-14T06:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to allow local file upload with the Analysis widget using a Custom web tool published from a Notebook (ArcGIS Online)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-allow-local-file-upload-with-the-analysis/m-p/1620528#M19168</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/869006"&gt;@PatricePineaultWSP&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/673373"&gt;@MarcHoogerwerf_EsriNL&lt;/a&gt;, thank you for the detailed information! Currently, notebook web tools only support input files provided via a URL or an item from the content. We are actively exploring the possibility of supporting file uploads directly within the tool interface. We appreciate your feedback!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 18:28:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-allow-local-file-upload-with-the-analysis/m-p/1620528#M19168</guid>
      <dc:creator>xlt208</dc:creator>
      <dc:date>2025-06-03T18:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to allow local file upload with the Analysis widget using a Custom web tool published from a Notebook (ArcGIS Online)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-allow-local-file-upload-with-the-analysis/m-p/1698848#M23197</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/321441"&gt;@xlt208&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/869006" target="_blank"&gt;@PatricePineaultWSP&lt;/A&gt;&amp;nbsp;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/673373" target="_blank"&gt;@MarcHoogerwerf_EsriNL&lt;/A&gt;,&lt;BR /&gt;Any update? Trying to get a script tool imported into ExB to upload a locally stored table (xlsx, csv) seems impossible. The Add Data Tool was the only thing that allowed what seems like such a simple task and that is currently suffering from a &lt;A href="https://my.esri.com/#/support/bugs/bugs?bugNumber=BUG-000184028" target="_self"&gt;BUG&lt;/A&gt; that errors on a CSV with an 'Address' field.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2026 20:38:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-allow-local-file-upload-with-the-analysis/m-p/1698848#M23197</guid>
      <dc:creator>JaredPilbeam2</dc:creator>
      <dc:date>2026-04-28T20:38:22Z</dc:date>
    </item>
  </channel>
</rss>

