arcgis-python-api icon indicating copy to clipboard operation
arcgis-python-api copied to clipboard

Cannot access popupInfo for a Table in a WebMap using PopupManager.info

Open Clubdebambos opened this issue 5 months ago • 4 comments
trafficstars

Describe the bug When attempting to access a the PopupInfo object via the PopupManager.info for a Table I am returned an AttributeError.

It seems to be looking for a popup_info attribute which should be popupInfo instead.

To Reproduce Steps to reproduce the behavior:

from arcgis.gis import GIS
from arcgis.map import Map

agol = GIS("home")

wm_item = agol.content.get("WM_ITEM_ID")

webmap = Map(wm_item)

print(webmap.content.popup(index=0, is_table=True).info)

error:

AttributeError: 'SubtypeGroupTableSubtypeGroupTable' object has no attribute 'popup_info'

Screenshots If applicable, add screenshots to help explain your problem.

Expected behavior According to the documentation if there was no popupInfo, None would be returned. However, there is popupInfo for this table and the fact it is looking for popup_info instead indicates a bug.

Platform (please complete the following information):

  • OS: Windows 11 Home
  • Browser Chrome
  • Python API Version 2.4.0

Additional context Add any other context about the problem here, attachments etc.

Clubdebambos avatar May 26 '25 16:05 Clubdebambos