I am trying to edit the popup fields for a featureset layer (of points) I have added to a WebMap class item. I have been trying to follow the sample notebook from DevSummit2022 on editing popups, but I am stuck at
In [23]: national_forest = webmap.get_layer(title="national_forest")
national_forest.popupInfoWhen I do the same operation on my webmap layer, for 'national_forest' I get an object of type 'arcgis._impl.common._mixins.PropertyMap' and an error that says:
'PropertyMap' instance has no attribute 'popupInfo'
I've tried pulling the definition for the layer, and seeing if popupInfo is one of the keys, but it's not.
Ideally, I'd love to be able to :
- filter/select which fields are in the popup (at minimum)
- include additional text
- pull in info for intersecting polygon layers
The last two would be similar to what I have done in arcade, so I don't know if it's possible with the API.
I'm new to the API as well as to posting, so please let me know if I haven't provided enough information and I'd be happy to. Thanks so much!