I have an InfoPath 2010 form with a "Resume" attachment. When the form gets submitted to the SharePoint document library, I need to display the resume attachment as a document library's column. Every solution method that I am finding is based on InfoPath/SharePoint 2007, which is not working the same way with 2010. I know there should be a workflow to create in the SharePoint Designer, and can't figure out what it is. If anybody has this knowledge, please help.
I would recommend to move all c# code out of the InfoPath form. Full Trust forms w/ code inside couldn't be deployed w/ CI or powershell to defferent SharePoint farms and that's pity.
In that case, it's better to move code to event receiver to sync attachments between InfoPath forms and 3rd part source like additional column/list/whatever it is.
You will have to include custom code in the submit button of your InfoPath form and you will have to give the InfoPath form template Full Trust for the code to work in SharePoint.
Please visit the Step 5 of this post to get the different options- http://www.bizsupportonline.net/blog/2010/04/top-10-questions-infopath-file-attachments/
or view this post directly- http://www.bizsupportonline.net/blog/2010/01/upload-document-sharepoint-infopath-form/