Bug ID Number |
BUG-000176330 |
Submitted | May 9, 2025 |
Last Modified | August 15, 2025 |
Applies to | ArcGIS API for Python |
Version found | 2.4.1 |
Operating System | Windows Server |
Operating System Version | 2022 |
Status | As Designed
After review by the development team, it has been determined that this behavior is as designed. See the Additional Information section for details.
|
Additional Information
This issue is reported for ArcGIS Pro 2.4.1, but properties to enable extensions using MapServiceDraft were added in ArcGIS Pro 3.3. Help document mentioned in the reported issue links to the latest ArcGIS Pro version.
Please update Pro to 3.3 or newer version to use the new properties like below of OGC feature extension:
service_draft.extension.wfs.isEnabled = True
Instead of service_draft.extensions["OGCFeature"].enabled = True
Workaround
Edit the XML file either via scripting or manually before uploading. Properties to enable extensions using MapServiceDraft were added in ArcGIS Pro 3.3. Please update ArcGIS Pro to use this new functionality.
Steps to Reproduce