Select to view content in your preferred language

Cannot run tool with featureSet parameter

179
2
Sunday
ModyBuchbinder
Esri Regular Contributor

I have my own gp service that gets a point as parameter.

After I published it I can run it from Pro, I can add it and run t from a WebMap and I can build a Web AppBuilder (old) that running it with no problem.

When I try to build experience builder and run it (Enterprise 11.5) I get the error you can see in the attachment.

Tring to run it with EB developer works fine!!

Is it a bug??

 

 

0 Kudos
2 Replies
Ke_Xu
by Esri Regular Contributor
Esri Regular Contributor

Hi @ModyBuchbinder ,

Could you share the app or detailed steps for us to troubleshoot?

 

Thanks,

Ke

 

0 Kudos
ModyBuchbinder
Esri Regular Contributor

Hi @Ke_Xu 

It is very simple.

Create a Python script that get one parameter

The script should not do anything else, the problem is before the script is running.

You can open a cursor on the FeatureSet and print the coordinates (just for check).

In a atbx I created a new script tool, the first parameter is a feature set that get point only (filter in the parameter screen) and pointing to my script.

Run and publish.

Try to use in experience builder

As I said it works in REST, Pro, WebMap, old WAB and EB developer

0 Kudos