Select to view content in your preferred language

Project Template not copying geodatabase/toolbox to new projects

952
3
04-28-2023 06:39 AM
SuzyFer
Emerging Contributor

I am running on the latest ArcGIS Pro (3.1.1) and am having some trouble with project template contents being copied into new projects.
In my project template I have a geodatabase with feature classes as well as a toolbox with custom tools to fit that project. When I use this template to create a new project, the geodatabase shows up in the geodatabases list in catalog but with a data source to the original master copy of the project template. The toolbox also does not get copied into new projects either. Instead I get blank default gdb and atbx for new projects. What I want is for a template geodatabase to be copied into a new project along with a copy of the toolbox, without having to copy the geodatabase from the master folder and then relink data sources. 

I have gone through all the settings in the Options and for the life of me cannot figure out how to do this. This works perfectly fine on a different Pro project template and the settings are the same. Maybe it's just one of those freaky things that Pro does.. and I need to try to start from scratch.. sigh.

3 Replies
caulumts15
New Contributor

I am having the same issue.  I restored a project using 2.9.5 and a template that came from 2.9.5 and everything looks good.  When I use that same template in 3.1.1, it does not transfer the .sde connections or create the new geodatabase into the file.  From what I can tell, this is something that was changed in 3.0, I don't know if the change is intentional.

SW_Oz
by
New Contributor

I am having similar challenges. I have just found the below which I am about to try. I know my toolbox is an older .tbx file and I am thinking this is hopefully the issue. Update: This may be part of my issue but unfortunately while models copy across toolboxes, scripts don't so I have abandoned this option for now in favour of starting again on a working project that shares 😞

If your toolbox is an ArcGIS toolbox (.atbx), this behavior is managed differently. If the script is in the same directory as the.atbx file or is in a child folder from where the.atbx is stored, a relative path is maintained. If the script and.atbx file are completely separate, an absolute path is maintained.

0 Kudos
lah
by
Regular Contributor

Having this issue as well in 3.1.4. It actually copies a toolbox to the original template .aprx folder and not wherever the user has designated their project to be stored. Happens when saving the project to a file or publishing to Enterprise. 

ESRI was able to reproduce it in 3.2.2 as well and logged BUG-000166170

0 Kudos