AnsweredAssumed Answered

Best way to access ArcPro 'Databases' folder with ArcPy?

Question asked by TradeWinner on Jul 29, 2020

In Arcpy, is there a shortcut method for database connection strings to refer to the Databases folder within a ArcPro project?

 

For example, I have multiple databases in my Databases folder.  Is there a shortcut path I can specify in ArcPy (e.g. Databases/fgdb2.gdb)?  Or do I need to specify the full path (e.g. c:\arcgis\myproject\fgdb2.gdb)? 

 

Is there a better method to refer to the Databases folder?

Outcomes