Hi all,
I'm working on creating an application that allows people to upload data (shapefile, kml, etc.) and do analysis based on the data they upload in the experience builder application (e.g. finding population of block groups that intersect with a project boundary). I didn't see a way to do analysis on added data built in so I defaulted to having them select intersecting areas instead.
Is there a way to let people do analysis on their own data they upload and add to your map instead of specifying an existing layer in your map?
Thanks!
Hi @David_SumanHCCSD ,
Yes it is supported. You can add the data from Add data widget and add the added layer to Map widget. Then you would be able to select the data as input in Analysis.
And in the coming June release, there is a new data action supported in Add data widget to directly set the data as input of Analysis.
Thanks,
Wei
Interested in this workflow. Is there an example notebook that shows how to set web tool input parameter to work with the uploaded dataset?
for passing a layer added from upload data to the webtool, you can configure you input parameter for a feature set and default value you can use the dictionary from a FeatureCollectionSyntax. Something like... {'nextObjectId': 1, 'showLegend': True, 'layerDefinition': {'id': '193db8743d9-layer-40', 'name': 'Sample Grid - Selection', 'objectIdField': 'OBJECTID', 'geometryType': 'esriGeometryPolygon', 'fields': [{'alias': 'OBJECTID', 'editable': True, 'name': 'OBJECTID', 'nullable':...
This does work but it takes soo long to analyse the uploaded shapefile compare to analysing hosted feature layers... a lot of people get the 'wait' or 'restore' option because it takes too long to process. Any way of speeding this up ESRI?