Export/Convert Browser Based Infopath 2010 forms to PDF/Excel/Word

Hi,
Is there an OOB, way of converting browser based Infopath 2010 forms to PDF/Word/Excel.
In case there isnt, can anyone please point me to a coded or a programmatic way of implementing the same. 
Soptik Dutta

Hi Soptik,
As far as I know, we can only save an InfoPath form as PDF/Excel using InfoPath Windows form application(rather than Broswer-based InfoPath).
In this case, we can
Open the library that save the forms
Selec the form that is wanted to be PDF/Excel(Just select it, don't open it)
Click the "inverse trangle", and then click "Edit in Microsoft InfoPath"
In InfoPath, click "File" > "Save & Send" to save the form as PDF/Excel
In this following thread, there are some code snippets, which will help you to export an form to PDF using custom code:
http://www.infopathdev.com/forums/t/8746.aspx?PageIndex=1
Please feel free to ask, if you have any more questions.
Thanks,
Jinchun Chen
Jinchun Chen
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff AT microsoft.com(Please replace AT with @)

Similar Messages

  • Filtering a sharepoint 2010 list using Multiple values from Multi-Select Filtering In Infopath 2010 form

    I am creating a browser based InfoPath 2010 form Calendar Filtering
    using SharePoint 2010 Calendar List (All Events) and InfoPath 2010.  This form has data connection to the Calendar list. Goal is to
    compare Calendar Events from Current Year to Previous Year. I have 2 columns called - Previous Year and Current Year. I have 2 drop-down controls in each columns called
    Select Year  and Select Week. I also have common drop down called
    Select Category which holds category of the events such as weather, power outages and so on. I wish to display specific events on specific date and specific week on both columns.
    I am able to filter the list based upon Year and Week
    on both these columns by applying rules in the InfoPath 2010 form. The real issue is that I want to apply category filter on the search result of
    Year and Week. Or it needs to show all the values if I
    select Category value as All. So I wish to apply filter on Search results using Category drop-down list selection.
    Hope I could explain this better but I tried to do the best here. Any suggestions, hint, or pointers
    Thanks
    Snehal H Rana
    Thanks Snehal H.Rana SharePoint Consultant

    I am creating a browser based InfoPath 2010 form Calendar Filtering
    using SharePoint 2010 Calendar List (All Events) and InfoPath 2010.  This form has data connection to the Calendar list. Goal is to
    compare Calendar Events from Current Year to Previous Year. I have 2 columns called - Previous Year and Current Year. I have 2 drop-down controls in each columns called
    Select Year  and Select Week. I also have common drop down called
    Select Category which holds category of the events such as weather, power outages and so on. I wish to display specific events on specific date and specific week on both columns.
    I am able to filter the list based upon Year and Week
    on both these columns by applying rules in the InfoPath 2010 form. The real issue is that I want to apply category filter on the search result of
    Year and Week. Or it needs to show all the values if I
    select Category value as All. So I wish to apply filter on Search results using Category drop-down list selection.
    Hope I could explain this better but I tried to do the best here. Any suggestions, hint, or pointers
    Thanks
    Snehal H Rana
    Thanks Snehal H.Rana SharePoint Consultant

  • Browser based InfoPath Forms in SharePoint 2010 performance has slowed down after SharePoint 2010 SP2

    hi All,
    Our Browser based Infopath forms have slowed down drastically after applying SharePoint 2010 SP2. Prior to this, we had SharePoint 2010 SP1 and the timings was around 10 seconds (single user) for the entire infopath form to be displayed which has 10-12
    views and 5 data connections and 15 business rules and around 100 fields.
    But now after applying sharepoint 2010 sp2, the performance has slowed down and it now takes for a single user around 50 seconds.
    Refer to the link below, which we followed by applying the patch as well, but the performance is still the same very slow.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/0b673324-01c4-49f7-86cb-647aa43fefd6/infopath-browser-forms-extremely-slow-after-service-pack-2-upgrade?forum=sharepointadminprevious
    We have raised a ticket with Microsoft, but there is no concrete resolution as to what component of the infopath has made the form rendering and display slow.
    Can someone point me to the right resource or knowledge base where i can do a kind of debug, which tells me exactly which infopath dlls are the issue or which part of my form is taking more time. I am using AOLPageTest and Fiddler, but they do not give me
    any details where exactly is the bottleneck.
    Any tools that give me the details of the bottleneck.
    Thanks and appreciate your help in this.
    Regards
    Ram
    Thanks Ram

    hi inderjeet,
    The application has gone live and its on production, the same application is on pre-prod and UAT, system testing and integration environments.
    The infopath form used to work very well on all these environments before we installed sharepoint 2010 sp2. but the moment we installed sharepoint 2010 sp2, the infopath forms have slowed down.
    Microsoft has acknowledged that there is an issued with sharepoint 2010 sp2 and infopath form performance, but they are not able to provide an appropriate fix on this.
    We have another environment where there is no sharepoint 2010 sp2 applied only sp1 is applied and the infopath form works very well within fraction of seconds.
    So your point no. 1 and 2 and 3. does not reveal anything. Fiddler does not give any detailed component by component breakup where the time is taking more.
    The form used to work very well before we applied sp2.
    I want to know a tool that gives me exactly component by component grant chart kind of breakup of time taken when the infopath url is requested on the browser.
    Thanks
    ram
    Thanks Ram

  • Browser based InfoPath form deployed on a Claims based Web Application calling a Secure Web Service via Data Connection

    hi,
    We have a Browser based InfoPath Form deployed on a Claims based Web Application. We are tyring to call WCF Services that are secure using Certificates via the Data Connections on Infopath Form.
    Earlier we used to get the Data in BCS External List via the WCF Services and the Data Connections used to get the Data from the BCS External List. Due to Performance Issues, we want to remove the BCS External List and straightaway call the secure WCF Services
    via the Data Connections.
    Have anyone implemented this scenario.
    Thanks
    Ram
    Thanks Ram

    Hi Ram,
    As these are browser based InfoPath forms, you have two options 
    1) Deploy as sandboxed forms
    In this case you have to create a secure store application id and then set the credentials for that account.
    You then have to export the data connection to Data connections library and modify the .udcx file to utilize the newly created secure store application id.
    This may sometime give issues related to sandboxed code service. You have to give permissions on the secure store for the user account which the sandboxed code service is running.
    2) Deploy as administrator approved forms
    This would be ideal way of doing things as you have full control over the web request if you write code behind InfoPath forms.
    3) Deploy as a Hybrid solution
    a) Write a full trust proxy solutions (extend SPProxyOperation class and override execute method) and make the web request call inside this and return the response
    b) Invoke above operation from the sandboxed InfoPath form's code behind by SPUtility.RegisteredProxyOperation(four part assembly name, operation args)
    Hope this helps.
    Thanks,
    Srikanth

  • Migrating InfoPath 2010 Forms(Lists/Libraries) to InfoPath 2013

    Hi All,
     We have lots of InfoPath Forms in SP2010 and migrating to SP 2013. It would be helpful if anyone could suggest a suitable way to migrate the Forms. 
    Trying to avoid external tools just planning to inhouse.
    Thanks,

    Hi,
    According to your post, my understanding is that you wanted to migrate InfoPath 2010 Forms(Lists/Libraries) to SharePoint 2013.
    The issue is caused by the security and Claims-Based authentication.
    There is a new Secure Store Service ID that needs to be created to allow InfoPath to connect over Claims Based Authentication
    Here is a great blog for your reference:
    http://thatssharepoint.blogspot.com/2013/12/issues-with-infopath-forms-after.html
    More information:
    InfoPath and SharePoint 2013 – Upgrading your forms
    Migrating InfoPath Forms Services applications from 2010 to 2013
    Thanks,
    Linda Li
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Is possible to capture the SP username of who is making submission of the data from an InfoPath 2010 form?

    Hi all,
    Does anyone know how to capture the SP username of who is making submission of the data from an InfoPath 2010 form? I looking to avoid the user need to type extra information like username/ manager name, etc; and then use code behind to be doing validation
    before to push that data to an sql server.
    Any suggestion , book reference , link is acceptable 
    thanks in advance
    CRISTINA& MICROSOFT Forum

    Hi Cristina,
    Please check the following article with using web service UserProfileService.asmx to get the current user profile in InfoPath code behind and use the validating event to do some complex validation, it should help.
    http://blogs.msdn.com/b/infopath/archive/2007/03/07/get-the-user-profile-through-moss-web-services.aspx
    http://codesupport.wordpress.com/2010/04/05/sharepoints-userprofileservices-getuserprofilebyname-method/
    http://www.bizsupportonline.net/infopath2007/infopath-basics-3-ways-validate-data-infopath.htm
    http://henry-chong.com/2010/12/infopath-validation-gotcha/
    Thanks
    Daniel Yang
    TechNet Community Support

  • Convert list item attachment from docx to pdf using Word Automation Services

    I have been trying to convert List Item attachments from docx to pdf using word automation services, it works in a normal document library but when I use the list attachment it throws a null reference error.
    var settings = new ConversionJobSettings();
    settings.OutputFormat = Microsoft.Office.Word.Server.Conversions.SaveFormat.PDF;
    var conversion = new ConversionJob("Word Automation Services", settings);
    conversion.UserToken = SPContext.Current.Site.UserToken;
    var wordFile = SPContext.Current.Site.RootWeb.Url + "/" + wordForm.Url;
    var pdfFile = wordFile.Replace(".docx", ".pdf");
    conversion.AddFile(wordFile, pdfFile);
    conversion.Start();
    Using reflector I was able to see my problem lies in Microsoft.Office.Word.Server.FolderIterator.cs where it uses SPFile.Item which returns NULL
    internal void CheckSingleItem(SPFile inputFile, SPFile outputFile)
    Microsoft.Office.Word.Server.Log.TraceTag(0x67337931, Microsoft.Office.Word.Server.Log.Category.ObjectModel, Microsoft.Office.Word.Server.Log.Level.Verbose, "OM: FolderIterator start a single item: source='{0}'; dest='{1}'", new object[] { inputFile.Url, outputFile.Url });
    Stopwatch stopwatch = Microsoft.Office.Word.Server.Log.StartPerfStopwatch();
    try
    this.CheckInputFile(inputFile.Item);
    this.CheckOutputFile(outputFile.Url);
    Is there any way to get around this?

    Hi Qfroth,
    According to your description, my understanding is that when you use word automation service to convert Word to PDF for list item attachment, it throws the null reference error.
    I suggest you can create an event receiver and convert the word to memory stream like below:
    private byte[] ConvertWordToPDF(SPFile spFile, SPUserToken usrToken)
    byte[] result = null;
    try
    using (Stream read = spFile.OpenBinaryStream())
    using (MemoryStream write = new MemoryStream())
    // Initialise Word Automation Service
    SyncConverter sc = new SyncConverter(WORD_AUTOMATION_SERVICE);
    sc.UserToken = usrToken;
    sc.Settings.UpdateFields = true;
    sc.Settings.OutputFormat = SaveFormat.PDF;
    // Convert to PDF
    ConversionItemInfo info = sc.Convert(read, write);
    if (info.Succeeded)
    result = write.ToArray();
    catch (Exception ex)
    // Do your error management here.
    return result;
    Here is a detailed code demo for your reference:
    Word to PDF Conversion using Word Automation Service
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • Approval Workflows with Browser-Based InfoPath Forms Not Opening In Browser

    Hello,
    I have an InfoPath forms document library with browser-based forms.  Once a user submits a form, I have them utilize the built-in Approval workflow.  The approval workflow emails the approver and provides a link to the document.  When they click the link in the email, it trys to download the InfoPath XML form instead of opening in the browser.
    How do I get it to open the form in the browser when I user clicks the link to it from the email or the approval task in the tasks list?
    Thanks

    Hi chapman85,
    Could you please let me know if Clayton’s suggestion is helpful for your issue?
    If you need further assistance, please feel free to let me know.
    Have a nice day!
    Lambert Qin
    TechNet Subscriber Support in forum
    If you have any feedback on our support, please contact [email protected]  
    Sincerely,
    Lambert Qin
    Posting is provided "AS IS" with no warranties, and confers no rights.

  • Hide/Show items in Multiple selection in InfoPath 2010 Form

    I have an I an InfoPath 2010 browser enabled form with four sections. Inside each section is  a checkbox and a textbox
    What I need to do is, have a user select a desired items by checking the checkBox and the items that are not Checked are hiden. They can select (Checked) all the four CheckBoxes. I am using rules but can't seems to get this working. Any help will be appreciated.
    Ebenezer

    Ok, here is how you have to do , use expression as I mentioned in my previous post, and then use a condition like this
    (../my:group1/my:field1 = string(true()) and ../my:group2/my:field4 = string(false()) and my:field6 = string(false())) or
    (../my:group1/my:field1 = string(false()) and ../my:group2/my:field4 = string(true()) and my:field6 = string(false())) or
    (../my:group1/my:field1 = string(false()) and ../my:group2/my:field4 = string(false()) and my:field6 = string(true()))
    here I am checking for all three fields, if either of these is true then it will hide other section
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • InfoPath 2010 form parsing error with 3600 execution timeout value in SharePoint 2010

    Hi,
    I have a list in SharePoint 2010 with 100 columns where 25 of them are calculated columns. This list is designed by InfoPath 2010 with two secondary data connections to pull a few data from another two lists. There are 25 set value rules with the submit
    button in InfoPath from. At present, the list is containing around 1000 items.
    The problem is, when I published the InfoPath form it throws an error:
    The SOAP message cannot be parsed.
    In fact, the execution timeout is set to 3600 in config file. When I delete items from the list and keep it around 700 the InfoPath form publish then.
    Could somebody tell me why this problem and what is the possible solution.
    Thanks in advance.

    Hi pointtoshare,
    According to your description, my understanding is that you got an error when you published InfoPath form.
    Please modify the web.config file like :
    <location path="_layouts/UploadEx.aspx">
         <system.web>
           <httpRuntime maxRequestLength="51200" executionTimeout="300" />
         </system.web>
       </location>
    And modify the <securityPolicy> section like :
    The web.config file is in C:\inetpub\wwwroot\wss\VirtualDirectories\spwebappname.
    There is another reason for this issue, please take a look at :
    http://www.heyweb.net/2011/07/infopath-the-soap-message-cannot-be-parsed/
    Here are some similar posts for you to take a look at:
    http://social.technet.microsoft.com/Forums/en-US/ea8da113-fe9a-4878-9994-c1f24cc85c37/soap-error-when-publishing-infopath-form-to-sharepoint?forum=sharepointcustomizationprevious
    http://sharepointshah.blogspot.in/2012/11/soap-message-cannot-be-parsed-error.html
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to Prevent duplicates on Combination of Lookup columns in sharepoint 2010 using infopath 2010 form.

    Hi All,
    I have list with some Lookup columns like  City, Pin, and Text Column Name. All these are required columns.
    Now I want to prevent duplicates while submitting InfoPath form if a Combination of  City,Pin & Name. (like a Composite primary in Database is used.)
    Can some one help me on how to achieve this using InfoPath  2010 Rules, writing  rule in Xpath.
    Thanks in Advance.

    1. Add a secondary data connection to the list where the form will be submitted.
    2. Prior to submit via rules, set the query fields in the above connection: City, Pin & Name with values entered in the form. Query the data source and check if the result has values.
    3. Show error messages accordingly if exists else continue with Submit.
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • How to convert Infopath forms into pdf or word ?

    I have an urgent requirement. I need to covert approx 50k infopath forms into pdf/word.
    Is there any way to convert it without using a third party software?
    Is this possible via Powershell script ? 

    Not with Microsoft tools. This would be something supplied by a 3rd party, if available at all.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Cascading dropdowns in infopath 2010 form

    Hi,
        I want to create an infopath form with 2 drop downs in it such as one contains (Parent) all the states. Upon selecting one state the other dropdown should get populated by the corresponsing cities.
    I have created 2 lists already, states(Parent) and Cities(Child) with a lookup column in the Cities list fetching the statename from the State list.
    But not getting exactly how to connect the 2 dropdowns in Infopath 2010.
    Any one with any suggestion

    Hi spad, you should have both the state and city in the same list. Check out this link:
    http://blog.erikvl87.nl/2010/10/how-to-create-a-cascading-drop-down-list-in-sharepoint-2010/
    cameron rautmann

  • Printing InfoPath 2010 Forms

    Hi all,
    This is probably really easy but I can't seem to get the "Print" option to appear in an InfoPath form under SharePoint 2010.
    This used to work out of the box in InfoPath 2007 but for some reason does not appear in 2010. Does anyone have any advice?
    Thanks

    I wouldn't say you're going about it in the wrong way - it's just that this is brand new functionality that can easily be confused with the full-blown use of InfoPath.  In 2007, we couldn't customize list forms with InfoPath - that is an awesome new feature of 2010.  What may be confusing is that you started in InfoPath.  Typically, you would create the list the way you want it in SharePoint, and you would add columns to it that were created at the site level or even site collection level.  That way, the columns are usable all over SharePoint and not just in your list.  Then, after you've gotten the list created and ready, you click on "Customize Forms" from the ribbon, which allows you to immediately convert all the built-in ASPX forms into InfoPath forms that you can then modify and spruce up to your heart's content.  There is a fundamental difference in these two approaches.
    If you built the list form template first, and create the list + columns from this direction, then you do not get the same administrative controls for determining the exact nature of your list nor the columns.  Columns should be carefully planned not just for the list but for your entire site and site collection.  If you create the same column over and over again, then you aren't utilizing the robust nature of SharePOint.  I know it seems cool that you are creating these lists by starting in InfoPath, but you aren't really creating Expense forms and Time Off forms.  You are creating lists that you simply get to modify the look and feel of with InfoPath.  The built-in forms of a list do this, too, except the built-in list forms are not nearly as capable.  You can't design the layout and graphics of a built-in list form, and you can't add in custom logic or other data connections with built-in list forms.  InfoPath forms can do this, and so can list forms customized with InfoPath, but it's not the same thing as if you built a regular InfoPath form and submitted to a form library.  When you do that, you actually have a full-fledged FORM with a document (XML) that stores your data.  The list version is just using InfoPath as a beefed-up front end, but in the end, it's just a list item in the content database, not an XML form.
    Typically, for expenses, time off, timesheets, etc., you would have a full-fledged form where someone goes to a form library, fills out the form, submits that physical XML form back to the library, and you have full functionality and capability of InfoPath (browser or rich client - either way).
    I think it's important to also point out that Beta will not have an upgrade path to RTM, so don't build more than you're willing to rebuild after RTM release.  Also, browser forms utilize Forms Services, which is only available in the Enterprise version.  Be sure you plan to purchase, license, and implement the full Enterprise level of 2010 when going this route with testing.  Just a heads-up on those things!  I will be doing Enterprise all day long, so I'm with ya!  =)SharePoint Architect || My Blog

  • Getting Prompt for Credentials When Opening InfoPath 2010 Form in Sharepoint 2010

    I have a domain user who runs Office 2010 x32 and uses a Sharepoint 2010 site daily. Lately a specific page on that site has been randomly giving prompts for credentials when opening existing documents and creating new ones. The process can be most easily
    replicated by opening the new document template in Infopath by going to Documents -> New in the ribbon bar of the SP page. Most of the time the Windows credentials for the user are passed to Infopath/Sharepoint automatically (which is normal), but on the
    fourth or fifth attempt to create a new form, the prompt appears. The user can still enter the credentials and open the blank template form, but a prompt should not appear. The user is also the administrator for that page, so I'm thinking it's not a permissions
    issue.
    The user is running IE 9 on Windows 7 Pro x64. I have performed the following:
    Reset advanced IE settings and all user cache data
    Cleared cached Sharepoint credentials in Windows credential manager
    Re-applied group policy for the machine using gpupdate /force
    Logged in with a clean temporary profile
    Logged in to another domain account using the user's Sharepoint credentials
    Cleared Infopath cache
    Re-installed Office 2010 x32
    The problem only occurs only on this particular machine. There are no Sharepoint or authentication-related errors or warnings in the application and system event logs. There are also no error messages on-screen when the prompt appears. I also considered
    the possibility of this being a performance related issue in the case that maybe Infopath was taking too long to start, causing the credential pass-through process to time out and fall back to a prompt. I ran disk cleanup, deleted some temporary files, and
    checked for excessive CPU/memory load. I didn't find any issues and doing these things did not help.
    I'm convinced there is another setting somewhere in Windows that is causing this. Interestingly it always happens after four or five attempts, never the first time. Can someone point me in the right direction?

    Hi Titan, this sounds like an IE security setting issue. Things to do:
    1. In Internet options>Security>Local Intranet, make sure "Enable Protected Mode" is not selected.
    2. Under Sites>Advanced, add https://*.sharepoint.com (and make sure "Require server verification..." is not checked).
    3. Under Security>Custom Level, scroll all the way to the bottom and make sure "Automatic logon with current user..." is checked.
    cameron rautmann

Maybe you are looking for