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

PopupManager disable_popup does not work for a Table

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

Describe the bug Probably related to https://github.com/Esri/arcgis-python-api/issues/2296

You cannot use the PopupManeger disable_popups = True/False on a Table

To Reproduce Steps to reproduce the behavior:

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

"""Access AGOL"""
agol = GIS("home")

"""Access the WebMap Item"""
wm_item = agol.content.get("WM_ITEM_ID")

webmap = Map(wm_item)

webmap.content.popup(index=0, is_table=True).disable_popup = False

webmap.update()

error:

ValueError: "SubtypeGroupTableSubtypeGroupTable" object has no field "disable_popup"

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

Expected behavior The popup for the table would be enabled without error

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 Jun 01 '25 10:06 Clubdebambos