I am batch exporting photo attachments from a FGDB using the ExportAttachment script (as attached). The FGDB consists of points which have a field called MapID (which contains a unique identified for each point).
Is there script I can add to this so that the exported photo is named as 'FieldValue_PhotoNo'?
I have also used the Export Attachments tool by @UriGilad_EsriAu but would rather not have to group the photos by field value if possible (so the output consists of a single folder containing all photos rather than multiple folders).