Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Suppose that a user have attached a Jack.jpg file as a attachment to a online InfoPath 2007 form, is there a way to retrieve or extract the full URL of this attachment file Jack.jpg?

share|improve this question
add comment

2 Answers

If I haven't misunderstood your situation, the attachment files are stored as blob data inside the xml of the form, so there's no permanent URL for the image.

share|improve this answer
add comment

I think it will be stored as a Base64 encoded string inside the XML file. I would suggest writing a custom .aspx page which takes a querystring parameter to identify the document that can retrieve the raw XML and convert the Base64 encoded attachment into binary and send it back to the browser.

share|improve this answer
    
Yip, correct answer. All Sharepoint content is stored within Content DBs. You have to do a response.write of the byte[] which represents the image/file –  Fox Mar 9 '12 at 12:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.