laptop and a wrench

Bug

The add-in for ArcGIS Pro SDK for .NET 3.3 returns an error when writing XML due to the failure of the CIMObject.WriteXML method.

ArcGIS Pro SDK for .NET
Bug ID Number BUG-000169806
SubmittedAugust 8, 2024
Last ModifiedAugust 16, 2024
Applies toArcGIS Pro SDK for .NET
Version found3.3
Operating SystemWindows OS
Operating System Version11.0 64 bit
StatusAs Designed

Additional Information

Starting from ArcGIS Pro SDK for .NET 3.0, add-ins should use JSON as the persistence format. XML support was dropped starting from version 3.0. This is documented in the ArcGIS Pro SDK for .NET 3.0 Migration Guide: https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-3.0-Migration-Guide#arcgiscoredll The (static) XML methods are still present on the base class for internal purposes. Please use the instance '.ToJson()' method and static 'FromJson()' method for persistence.

Steps to Reproduce

Bug ID: BUG-000169806

Software:

  • ArcGIS Pro SDK for .NET

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