Select to view content in your preferred language

MMPK Labels with Python Expression not displaying

522
2
Jump to solution
02-07-2022 08:43 AM
AndrewBowne
Frequent Contributor

I have a couple feature classes in an MMPK that use very simple Python expressions to label features.  For some reason these labels aren't being rendered.

Are there limitations to labeling features with any sort of label expressions?

 

MMPK created using ArcGIS Pro 2.9.1

0 Kudos
1 Solution

Accepted Solutions
MarkBockenhauer
Esri Regular Contributor

Use an Arcade expression instead.   Arcade expressions are supported throughout the ArcGIS System (ArcGIS Pro, ArcGIS Runtime, ArcGIS online).  Python is not supported for all.

View solution in original post

0 Kudos
2 Replies
MarkBockenhauer
Esri Regular Contributor

Use an Arcade expression instead.   Arcade expressions are supported throughout the ArcGIS System (ArcGIS Pro, ArcGIS Runtime, ArcGIS online).  Python is not supported for all.

0 Kudos
AndrewBowne
Frequent Contributor

That worked, Thanks.  

Any thoughts on adding some sort of notification when packaging the MMPK?  I believe there is one when it's a VBScript expression.  Maybe it would be worth while to add one for Python?  This would have been helpful to know before creating 129 MMPKs!