I have a web app that allows users to upload an attachment with the map note they draw on the map. That seems to work as expected. but once I have attachments, I do not see logically where they should be accessed & how they can be related to the GDB that contains the feature classes to which the attachments belong.
My uploaded attachments are visible at the REST endpoint, such as
//myserver/arcgis/rest/services/Folder/ServiceName/FeatureServer/1/26/attachments
I also see that the attachments are in the following folder on my AGS machine:
\\arcgisserver\directories\arcgissystem\arcgisuploads\scratch- all attachments are seen here
My question now is how to make the connection between the scratch folder contents (with long numeric file names) and my attachments? I can click on the REST endpoint to get them. They are also listed in the ATTACH table in my SQL GDB that is the managed database for my data. But I do not see the connection between the two.
I also see some non-image attachments here:
\\arcgisserver\directories\arcgisoutput\Folder\ServiceName_MapServer
I would like to be able to have some way to more easily find the attachments on my server after users upload content. Right now there does not seem to be a way to relate the files by name or other field.
Please help me untangle the web.....thanks