1

I've created a Infopath 2010 form with file attachment control as one of its fields. When I publish the form in SharePoint 2013, and fill up the form uploading a document in the attachment field, the attached document is not being displayed in the list. The data type of the column in list settings -> advanced settings is single line of text. So, what could be the solution to this problem?

  • I'm having the same issue. When I open my email > open the InfoPath attachment > right click on the attached document in my InfoPath form > I have no option to open or save. If I click on the attachment, I receive a "the webpage cannot be displayed" message. Is this a security setting? – user84412 May 20 at 13:36
1

Actually InfoPath attachments are stored as pieces of text called base64 encoded strings within the InfoPath form itself.

To be able to store a file as a string, InfoPath converts the binary data of the file to a string.

Once you’ve added a file as an attachment to an InfoPath form, you can use the menu options Open or Save As on the File Attachment control to retrieve the file that was stored in the InfoPath form.

When you select either menu option, InfoPath converts the string it stored previously back to binary data and presents you with the file again.

So AFAIK its not possible to display the attachment as column value in the list.

  • Where should I use the menu options? in the Info path form or elsewhere? @Karthik – Jivan Nov 14 '13 at 14:44
  • @Zane, In the InfoPath File Attachment control. – Karthik Jaganathan Nov 14 '13 at 14:47
  • would you please elaborate it? I'm a little bit beginner in InfoPath. @Karthik – Jivan Nov 14 '13 at 14:50
  • If you have worked on file attachment control, on click of an attachment, system will ask for Open or Save as for the attachment, thats what I meant. – Karthik Jaganathan Nov 14 '13 at 14:55
  • In the list view in sharepoint, it shows up an image button of attachment not the file name of the document that I uploaded. Moreover, once I click on that small button nothing happens. @Karthik – Jivan Nov 14 '13 at 15:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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