Hello,
In 2022, I had a python notebook that would connect to hosted AGOL services and look for attachments and then download to local folders so we could easily view all attachments. In the process I had it rename the attachments based on the feature object ID, date, and photo number (which by default was Photo 1, Photo 2,...in 2022).
Today I was running the same notebook to download attachments and now see attachments have different naming convention (org_2a9e4e6ad....._16800314xxxxxx.jpg) See below examples:
The first screenshot are attachment file names in 2022 and the second screenshot is attachment file names in 2023. I do not know officially when these changed, but what is the naming structure refer to? It makes it way harder to loop thru attachments and download with a sensible name at least at first glance.
Appreciate any insight on this!
Thanks!,
Kathy
Solved! Go to Solution.
Update!:
This is an oversight on my part, in this particular group of hosted feature layers the surveyors were uploading attachments they had taken on other devices as attachments. When looking at a few other Esri hosted feature layers, attachments taken in Field Maps using the device are all Photo1, Photo2 still.....
I wish I would have realized this sooner! Sorry for the false alarm.
Update!:
This is an oversight on my part, in this particular group of hosted feature layers the surveyors were uploading attachments they had taken on other devices as attachments. When looking at a few other Esri hosted feature layers, attachments taken in Field Maps using the device are all Photo1, Photo2 still.....
I wish I would have realized this sooner! Sorry for the false alarm.