I have a survey where the user will draw a polygon and the survey (using a JSON script) will query and existing point feature layer and extracts the object_id of the points that area located within the drawn polygon.
I want to be able to extract the photos attached to these overlapped points but so far far have only comes across ways to extract attachment metadata but not the attachment itself.