Select to view content in your preferred language

Analysis widget cannot get a field list if the input comes from the Select widget

54
1
yesterday
Labels (1)
DougBrowning
MVP Esteemed Contributor

Found another quirk in the Analysis widget today.

If you go from a popup then Set As Analysis input to a tool that uses a field list off that layer works fine.

DougBrowning_0-1768600427326.png

But if you use the Select widget, select a polygon, then do Set as Analysis input from there, then the field list will not populate at all.

DougBrowning_1-1768600500142.png

@Wei_Ying I think this is similar to the Search widget issue with the first popup.  The tool is getting an input of just # somehow. 

We also see that if you have a popup from the last session up and come back later then try Set As Analysis input that will fail also saying the input layer is #.  The user must reclick the polygon, get a new popup, then its happy.

I am happy to show the team all these quirks if it will help (I have 10 now I think).   This is a AGOL ExB.

thanks a lot

0 Kudos
1 Reply
DougBrowning
MVP Esteemed Contributor


Update to show here is what we see in the server logs.  It gets # as the layer input in these cases.


line 1228, in ListFields return gp.listFields(dataset, wild_card, field_type) , line 378, in listFields self._gp.ListFields(*gp_fixargs(args, True)))   OSError: "#" does not exist

Hope that helps find it.

0 Kudos