ipywidgets FileUpload widget

1023
0
04-15-2021 04:47 PM
JhonEricAuntaDuarte
New Contributor

Hi all!

I'm using Arcgis Notebooks in order to update some tables that I have published in portal.

the script takes a xls file, then It cleans a little bit the data and then it edits the table in the service.

That script is going to be used for other users, so I would like to include the option, when they want to run the Notebook, they could select the xls file.

So I was trying to use File Upload() widget from ipywidgets library but when I select the file to be uploaded,  a message appers that says : Notebook Disconnected, Your active notebook session has lost connectivity unexpectedly (image below) btw, sorry all portal is in Spanish

 

JhonEricAuntaDuarte_0-1618528851840.png

The lines that I'm running:

JhonEricAuntaDuarte_1-1618529534928.png

 

I am not a full-time developer but I like to automate processes and ArcGIS Notebooks seem pretty good for that purpose

 

I appreciate any  suggestions, thank you!

 

Jhon Aunta

 

 

0 Replies