Hi all, I just put together a quick widget for adding a zipped shapefile to a webmap as a new operational layer. This is very helpful with custom geoprocessing services that need a feature/operational layer as input. I essentially just wrapped the AddShapefile jsapi sample from Esri so the interface is pretty simple so you can customize the html as needed.
You can download or fork it on GitHub: https://github.com/URSpatial/WAB_AddShapefile
Thanks for clarifying that the latest "Add Data" widget has the ability to add local shapefiles. Can you please list exactly what versions of each ESRI software component needs to be installed in order to access the latest version of this widget? Is it just the WAB v2.3 that needs to be upgraded? I work in a corporate setting that has licencing for all the latest ESRI software releases as needed. We have tried downloading the latest updates but it seems that in the Web Mapping Application in Portal for ArcGIS the "Add Data" widget remains as the "old version" which only allows for upload of web services and layers without the option to add local shapefiles.
What release of Portal for ArcGIS are you using? As Robert Scheitlin, GISP commented, typically the version of Web AppBuilder included with Portal is slightly behind in functionality compared to Web AppBuilder in ArcGIS Online.
FYI, Portal for ArcGIS 10.5.1 includes Web AppBuilder v2.4.
I suggest that you download and use Web AppBuilder for ArcGIS Developer Edition with your Portal instance. So you can leverage the lastst functionality with your GIS assets.
Hope this helps,
Thanks so much for the response Robert and Derek, we now have version 10.5.1 installed and running. I just got the chance to publish a quick web map to test the new Add Data widget, I uploaded a zipped shapefile but get the following error "Generate Features error: Unexpected: no hosting server available." The same error mentioned in the following post (https://community.esri.com/thread/204102-error-on-add-data-widget ) from last week. Any thoughts? Thanks again.