Calculate Field for Photo Path

267
2
09-17-2021 12:04 PM
Labels (1)
KamillePreto
Occasional Contributor II

Hi everyone - I have a Calculate Field question.

I have data that I need to add the beginning of the path where the photos are stored to the existing data that is within the attribute table. See screenshot below.

I've tried this with both arcade and python, with both ' ' marks, and " ", and also none at all, and it fails for me every time. I know it's something simple, but I cannot figure it out.

Can anyone help?

 

Path.JPG

0 Kudos
2 Replies
David_Brooks
MVP Regular Contributor

@KamillePreto if you're just combining strings, wrap the folder path in r" ". 


David
..Maps with no limits..
KamillePreto
Occasional Contributor II

Hi David,

I apologize for the delayed response. So meaning what I would put in would be the following:

r"\\...........\Paver\" + $feature.Image3D

The dots just represent the server path

If this is correct, what does the "r" do?

0 Kudos