Select to view content in your preferred language

GDB extraction using GP service in Web app Builder

883
5
07-20-2022 10:35 AM
Tarunvisvanadula1994
Emerging Contributor

Hi ,

How to publish a GP service and consume it in ESRI web application which will extract data in to gdb format  ,from available layers on map dynamically using  spatial search(polygon geometry).

Basically ,it should export what every layers available in that Area of Interest in to gdb file

 

Thanks

Tarun

5 Replies
smevans88
Emerging Contributor

I am looking to do the same. But export the layers to a single Excel Spreadsheet, with each tab inside showing the different layers from the map. I have written it in Python, but WAB for Portal is limited.

0 Kudos
Tarunvisvanadula1994
Emerging Contributor

@smevans88  Any luck on above requirement

Have you tried publishing GPService and sending layer information and Area of Interest to GP Service ?

Any third party tools that convert Shapefile/GeoJson to File gdb ?

0 Kudos
Tarunvisvanadula1994
Emerging Contributor

@Noah-Sager  

Can you provide your suggestion on above query

Thanks

Tarun V

0 Kudos
Tarunvisvanadula1994
Emerging Contributor

@RobertScheitlin__GISP 

Can you provide your suggestion on above query

Thanks

Tarun V

0 Kudos
smevans88
Emerging Contributor

Tarun,

I worked through this with an analyst at Esri. The GPMultiValues parameter is not supported in WAB for Portal. So, if you create a script, and want to use "user defined" (draw a box) input, it only lets you pick one map layer at a time from a drop down. If you try to use another input method, "choice list", "default layers", etc, from the service publisher before publishing, the selection box you make in the Web app doesn't really select anything. Instead, it just exports the same data selection that you used when running the tool in ArcMap before publishing. 

Very frustrating. Seems like GP tools in Python have some limitations in WAB. They have to work perfectly in ArcMap or ArcPro before publishing. Even then, the tool may not work the same after being published.

We are looking at writing something in JavaScript, that mimicks the out of box "Select" WAB tool. All it needs is just and extra button to "Export All Layers".

I will keep you posted on the progress. Thanks.

0 Kudos