Select to view content in your preferred language

The relative path is incorrect when saving mapx

309
0
03-20-2024 01:24 AM
xingtian54
New Contributor

Sample

:github : arcgis-pro-sdk-community-samples\Map-Authoring\CIMExamples\ChangeLayerDataSource.cs

In the final with ChangeUSHighwaysLayerDataConnectionAsync

MapView.Active.Map.SaveAsFile($@"C:\Data\Admin\AdminSample.mapx", true);

The relative path to the layer data source is not correct in AdminSample.mapx after saving

ArcGIS Pro Version : 3.0.2

 

0 Kudos
0 Replies