AnsweredAssumed Answered

get geodatabase name

Question asked by Hjmcea on Oct 3, 2018
Latest reply on Oct 3, 2018 by Hjmcea

I'm fairly new to python scripting for GIS.  I have some photo attachments in a Collector geodatabase that I want to export to a folder as JPG files with unique names.  I have the export portion of the script done, but I'm having trouble with the naming convention.  I'd like to include a line to append the name of the geodatabase (which already contains the site name and inspection date) to the exported file's name.  What's the best method to get the geodatabase name?