AnsweredAssumed Answered

Name of local gdb?

Question asked by anders.mark@metria.se on Apr 30, 2020
Latest reply on May 6, 2020 by anders.mark@metria.se

I want to read the name of the local gdb currently checked out from a map service. This is because I want to write some Pythoncode to access it. My problem is that the name will change and I cant know it in advance. 

 

So, what do I do?

 

1. Connect to a map service and drag the service to the layer area in ArcMap. 

2. Right click on the group layer (which has the same name as the service). 

3. Select "Edit Features/Create Local Copy for Editing"

4. Now I got a local copy with a random name. It can be something like: 

        "C:\temp\NNK\nnkautv1_plsql\fs129D23DB12304BF58962DB1A9F1037AE.gdb"

5. And now the question: How do I figure out this name and location?

Outcomes