Hello,
I'm writing an Extension for ArcGIS Pro. This Extension is creating special Layers which has to be recognised after saving and loading an aprx-File.
In ArcObjects I used the ILayerExtensions and stored a unique String in the Layer to identify it after loading a MXD.
What equivalent do you recommend for ArcGIS Pro? Is there a new/better way to store Data in a Layer or APRX-File?
Thank you for your Help.
Cheers
Mickey
Solved! Go to Solution.
I have found a workaround:
That's how you store data in the Project-Settings:
This way you even can store JSON or XML strings in the APRX-File.
Furthermore you can use the URI Property of a layer as a unique identifier:
https://pro.arcgis.com/en/pro-app/sdk/api-reference/index.html#topic11759.html
Who should I contact for help? I really need a solution to this problem.
Submit your request at the github repo here: GitHub - Esri/arcgis-pro-sdk: ArcGIS Pro SDK for Microsoft .NET is the new .NET SDK for the ArcGIS P...
I have found a workaround:
That's how you store data in the Project-Settings:
This way you even can store JSON or XML strings in the APRX-File.
Furthermore you can use the URI Property of a layer as a unique identifier:
https://pro.arcgis.com/en/pro-app/sdk/api-reference/index.html#topic11759.html