Hi Hilary,
I have followed the instructions from the previous posts and I have a few issues. First of all, my form is an InfoPath-Browser Enabled form which I think is the issue. The two errors I get are
Error 1 'Microsoft.Office.InfoPath.View' does not contain a definition for 'Export' and no extension method 'Export' accepting a first argument of type 'Microsoft.Office.InfoPath.View' could be found (are you missing a using directive or an assembly reference?) C:\Users\j...\AppData\Local\Temp\Vsta\InfoPath\VstaSZ8wQSwu8ky9cqI5oR5d0A\VstaB__EDh8t1l0iLkOdH5__eXAg\FormCode.cs 52 34 Form1
Error 2 The name 'ExportFormat' does not exist in the current context C:\Users\j...\AppData\Local\Temp\Vsta\InfoPath\VstaSZ8wQSwu8ky9cqI5oR5d0A\VstaB__EDh8t1l0iLkOdH5__eXAg\FormCode.cs 52 60 Form1
Basically, I have a browser-enabled InfoPath form in which i want the users to be able to click on a button and convert the form to either a PDF or Word Doc. I have tried XML, XSL, XSLT stuff and I am a little stumped. We are on SharePoint 2013 and Designer Workflow does not support the conversion in 2013. We don't want to buy 3rd party.
Would you have any suggestions on how I can convert this InfoPath - browser- enabled form to PDF or DOCx ? Thank you So much in advance.
-John