I am using Arcgis Desktop 10.4.1 and Arcgis Collector.
I've followed the guide for exporting attachments as described on ESRI's webpage here: http://support.esri.com/technical-article/000011912
It works really well, but I want to change the filenames. I want each filename to have the name from a field from the shapefile, and then a suffix (like _1,_2,_3)
I did fiddle a bit with this line, trying to add field names and whatnot, but I didnt get it to work.
filename = filenum + str(item[1])
Anyone able to point me in the right direction?