laptop and a wrench

Bug

'lyr.supports("SHOWLABELS")' evaluates to false when labels are supported but turned off.

Last Published: August 5, 2021 ArcGIS Pro
Bug ID Number BUG-000141872
SubmittedAugust 2, 2021
Last ModifiedJune 5, 2024
Applies toArcGIS Pro
Version found2.8.1
Operating SystemWindows OS
Operating System Version10.0
Version Fixed2.9
StatusFixed

Workaround

Using either is3DLayer, isFeatureLayer, isGroupLayer, isRasterLayer, or isServiceLayer with the desired property accomplishes the same task.

Steps to Reproduce

Bug ID: BUG-000141872

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options