Skip to main content
Nintex Community Menu Bar

InfoPath Empty File Attachments

  • December 12, 2008
  • 2 replies
  • 20 views

Forum|alt.badge.img+6

I am using InfoPath to upload file to SharePoint Library. For that i am using K2 Sharepoint Document Event Wizard. After i upload any documents to share point Document library, i am removing the file attachment from the Infopath form and updating the Sharepoint document Library link. In some cases user might save the InfoPath form temporarily because he/she need more information.


When user open the same form again and try to upload some more attachments, then i am getting error because previous file attachments wont have any valid file names(Remember i just set null to file attachment node).


So i can i hadle empty file attachments in SharePoint Document Event Wizard or is there any other solution handle according to my requirement


 

2 replies

Forum|alt.badge.img+11
  • December 12, 2008

What works well for me is actually removing the attachment nodes from the InfoPath document rather than setting them to null.


David


Forum|alt.badge.img+6
  • Author
  • December 12, 2008

Thanks for your reply.  If i remove the entire node, how do you handle the situation like user want to modify the attachment i.e Remove already exising documnet and then upload new document.


Do you know any better solution then mine?