Select to view content in your preferred language

Relative path names (go up one directory) from current project folder in folder connections in ArcGIS Pro template

443
1
10-16-2024 03:30 AM
GretaFerloni
Occasional Contributor

I am setting up an ArcGIS Pro project template to be used across the organisation. We have many clients, each of which has their own folder, inside of which we have several folders, and inside the "GIS" folder we would create the ArcGIS Pro project using the template ("MyProject" in the example below), including the project folder that is automatically created for each new ArcGIS Pro project. So, the folder structure looks like this:

Client X

  • GIS
    • MyProject folder
      • MyProject.aprx
  • PDF
  • Data

What I want is to be able to add a folder connection in the project template that points to the "Client X" folder, regardless of what that folder is called (as it will always be a different name for different clients, and often in different paths as the folder structure above "Client X" can vary based on what department that client is in). As the ArcGIS Pro project will always be saved in locations following the folder structure Client X > GIS > MyProject folder, I was hoping there was a way to add a relative path name similar to how you would navigate folder structures in command lines, e.g., ../../ to go up two directories.

Any suggestions or suitable workarounds much appreciated 🙂

0 Kudos
1 Reply
RPGIS
by MVP Regular Contributor
MVP Regular Contributor

Hi @GretaFerloni 

Python would be your best bet for this. Here are a few sources to help you along with that.

Create a new project

Create a new folder 

0 Kudos