This is some strange stuff…
On a website we have a notes form with and attachment called somedoc.pdf we are then trying to link to it via the web using something similar to this…
http://www.server.com/folder/db.nsf/view/form_name/$File/somedoc.pdf
Yeah this should work from a HREF and open the PDF, but it doesnt.
Instead you get an ITEM NOT FOUND EXCEPTION.
When I navigated to the document using URLS and got to the page I could see the file was there all present and correct, I then clicked on the file and it gave me the following URL.
http://www.server.com/folder/db.nsf/view/form_name/$File/ATTP0TEO/somedoc.pdf
The pdf opened and displayed correctly, but note the ATTP0TEO contained in the URL… I then changed my link to this URL and it now works… Yeah I kinda solved my problem and everything works now but why has the unknown part of the URL had to be added.
If any of you peeps on here know why this is so or can shed some kind of light on the subject I will be most grateful…