Hi all,
I have a table of images from a shared hosted feature service which I was able to extract to a folder locally through a script available online. However, this script just extracted the images with the image title
ie. image0-20210902-154626 and so forth
I also have a related point feature class for this table where each point has an image attached to it. What I would like to do is extract the images but use a field in the feature class as a name for each image instead of
image0-20210902-154626 or
field name + image0-20210902-154626
Is there a way to do this?
Did you actually mean for 1 field (lets call it ImgName for example) you want to store the image name for its point, so names are stored in rows, a spoofed example below?
ObjectID | Shape | ImgName |
1 | point | image0-20210902-154626 |
2 | point | image0-20210902-154627 |
3 | point | image0-20210902-154628 |
Do your points already exist or do they need creating? If they exist what is their relationship with the image, are they centroids for example?
Thank you for your reply.
I was able to use the Join and Relates tool to join my point feature table to the attachments table, then I was able to copy the field to my attachment table. This allowed me to modify that script to extract the field I needed along with the attachments. Mission accomplished!