I have a very simple directory setup as follows:
- Map\
- Data\
- LayerFile.lyrx
- Project.aprx
The layers in my LayerFile.lyrx are connecting to my Data Source MappingData.sqlite to display my features. This works absolutely fine.
However, I now want to easily transfer that setup to a new computer. If I copy the entire contents of the root Map folder and paste it onto another machine, the Data Sources within the layers are absolute paths referencing the full path from my previous computer. So if I open the Project.aprx project that has layers in it reference the SQLite data, they're all now unconnected.
I thought ArcGIS Pro layers automatically used relative paths to connect to data sources so you could move this setup between machines without having to reconnect layers. What am I doing wrong here? Is there a way I can force relative connectivity to the SQLite data within the Project file?