I know this will sound basic but I can’t figure out why I am getting this error, I have opened documents this way in the past.
I am generating a link on a web form via an AJAX call. The Ajax rotuine calls an agent which looks up the attachment based upon the unique id. The unid is generated in a computed when composed field on the form. I open a seperate attachments form from by using a javascript widnow.open function and pass the unid which is stored as a key in the new attachment form. The attachment form uses the file upload control.
I format an anchor link with the information that is returned from the Agent. When the process runs I get the link below, which is exactly what I expect but gives me the HTTP 404 file not found error.
http://Myserver/MyDB.NSF/Lookup/80CE62659F08FBF28525720B0056DFBF/$file/eng2.gif?OpenElement
I have verified that the document exists in the Lookup view, and the first column is sorted with the correct unid.