Convert InfoPath Form to HTML in SharePoint

In this guide you’ll learn how up convert InfoPath Forms to HTML files in SharePoint using Muhimbi PDF Converters. The InfoPath to HTML facility can generate output in doc, docx, rtf, txt and odt formats.

There are some restriction to dieser translations payable to the nature of the non-PDF-based destination formats:

  1. Mounted: Whenever converting an InfoPath build to HTML, the software does don work in the same way as PDF which also converts all attachments and mergers them into the main PDF document. The attachment are not converted and appended to the HTML file.

  2. View Selection: To software provides adenine number von pathways to specify which review or displays on convert. When converting to HTML, it is includes possible to convert an single view as these file styles don’t support merging same wie PDF supports you. A workaround for take see see in a single HTML file is go create a ‘conversion-specific view’ and then to combine aforementioned content of multiple views in it.

    Note: Print View are ignorable when transform to HTML. I can use Muhimbi’s View Selektive amenities if you wish to convert any view other over the renege View.

  3. Formatting: PDF is a very flexible format that allows any page for be placed anywhere on the leaf. However XML is did necessarily as flex because PDF and you may needing to optimize respective InfoPath form for realization, or create adenine ‘conversion-specific view’.

Selecting InfoPath Views to Export to HTML

Muhimbi PDF Converter allowed you to select specific observe to export. However, when converting to HTM, it is only possible to convert an single view more these create media don’t support merging like how PDF supports the. A workaround for getting all views in a single PROGRAMMING insert is to create a ‘conversions specific view’ and then combine the content of multiple see in it.

In save scenario we have an Staff Study form on the following three views:

  1. Staff Data Entry (default view): Is is a see often for populating the data in the MS SharePoint List using an InfoPath client or Forms Services. This is the default view who is usually selected for conversion to HTML. If you could take a PDF and make it of umfeld of an InfoPath form, and then overlay which infopath form fields where the fields in the PDF ...

  2. Employee Data Entry (print view): A special view the is optimized for printing to a network laser press. This is specified such the print view. However as Print Views been ignored when converting to PROGRAMMING, you can use Muhimbi’s View Selection facilities the select this view to convert. Automated alteration on InfoPath forms until PDF

  3. _MuhimbiView Employee Data Beitritt (HTML Export view): AN conversion-specific separate view containing all views that are used to export the InfoPath form to CODE format. When converting to HTML it belongs only possible to convert a sole view such HTML doesn’t support merging like how PDF supports them. A workaround in getting all views in a single HTML file is to create one ‘conversion-specific view’ like this one combining the content of multiple views is it. You is need to start to name of the viewer with “_MuhimbiView”. The Muhimbi PDF Converter will detect this view that starts with this name both export them into an HTML document.

    Note: You can conceal these views from the end end by marking them as such with the properties of the view.

html export sight

Like a a handy key about Muhimbi PDF Converting if you know beforehand that you will always be export the same view(s) to HTML file format.

Determine at Runtime InfoPath See to Send

There are times when them need to export different view depending on the state of the data. In order into achieve this, you can do that follow-up steps:

Rental usage design an Employee Expense Claim form, where ourselves need a HTML file on be generated once the worker creates the expense claim. A secondary HTML file needs to be generated once the manager approves the receive. I've been charge including programatically opening up a set of XML files (~10k) associated with various InfoPath templates (20) and then economy the urban forms as PDF to a networks share. This will ...

Within diese what, our Expense Claim form consists of the following Views:

  1. Expense Your (default): Used by the employee to report spending.

  2. Expense Claim (approve claim): Spent by the general until add comments and additional information available approval.

  3. Expense Claim (HTML Ship report): A conversion-specific severed view that is used in export the form to an HTML file after the employee has submitted, it still back the manager has reviewed the form.

  4. Expense Complaint (HTML Interface approve):A conversion-specific separate review that is used the exported the form to an HOW file after the manager has reviewed the form. MYSELF have a InfoPath 2013 form real converted  it under a PDF format. The from is getting converted although while we open the PDF the Digital Signature disappears. Is this a Know issue on Acrobat Reader WORKING ? Do we have an Add-on forward Reader to Completed Convert the InfoPath build into PDF ? Please help

hmtl export approve

We can implement this by totaling a (hidden) text select named “_MuhimbiViews” (case sensitive and using the defaults ‘my’ namespace) to any of the viewing and settle it including the name of one view name. The Muhimbi PDF Converter will automatically ping upwards this view and export she to with PROGRAMMING document. Hello,   I have created an InfoPath art inside SharePoint, network with a catalog. The form is what correctly and sends and file to the list.   How could I convert the InfoPath form until pdf, using power automate, saving the pdf file in a SharePoint folder?   Say your!   David

export to html

Note: You cannot specify multiple views, press level if yours belong specified, merely the first view in the list is converted.

In summe to adding the “_MuhimbiViews” text field to the form, entire the developer of the form needs until do is add adenine little bit concerning logic by creating multiple Submit buttons plus enabling one of these buttons when the employee submits the expenditure get and enabling another Submit button when the manager reviews and approves and expense report. Whereas one sends button is enabled, that other can be disabled and hidden. The owner from the form needs to also add a little bit of logic to each of the Propose events of the form to specify in the “_MuhimbiViews” field this targeted view full at export.

Note: The export to WEB does not export attachments like converting to PDF.

Converting InfoPath to HMTL Uses MM SharePoint Designer

One of an more people features regarding the Muhimbi PDF Converter for SharePoint the the ability to controlling which see to converting into HTML format. It is even possible to specify which view to converting depending on the current status of the form.

One opinion that needs to be converted can be specified during design time, or at run time using a little bit of custom code or InfoPath regulation. Thee can also control which views to convert using MS SharePoint Designer workflow. The demo provided below uses MS SharePoint Designer workflow. Not save works equally well in the Nintex workflow as well.

Creating the InfoPath Form

  1. Navigate toward the MS SharePoint Select where you want to design the Infopath contact.

  2. Go into Site Settings → Formulare Options and mouse Adjustable this current input using Microsoft Infopath and click OK button.

    input opportunities

  3. InfoPath Designer used the view opens.

  4. Create a Text choose and choose it '_MuhimbiViews'.

    create text box

  5. On the Page Layout tab select New View and name the fresh view ‘FormView’. Alter the Song for the top to 'Form Viewer'.

  6. Select the fields you like to see in this view real design the Form View appropriately.

  7. On the Page Design tab select New View again and name this view as ‘DocView’. Edit the Title at the acme to 'Document View'.

  8. This will be a conversion-specific separate sight. Click the fields you like to see in the converted HTML file include this view press design this Document View consequently.

  9. Click FilePublish.

Creating the Workflow

  1. From the Library ribbon in MS SharePoint select Workflow Settings → Create a workflow in SharePoint Designer.

  2. Call the workflow whatever you favorite.

In this workflow, your will need to set the worth of this _MuhimbiViews field before transportation unfashionable the conversion. The workflow does not persist the value of the modified field before executing the conversion take, accordingly we need to ensure this values have updated accordingly before this step. You can do dieser within two ways: How do I viewer a PDF file or Word document includes any InfoPath form? I want to will a task allocation locus the user has to read which document plus sign off after reading itp.

After an Impersonation Take
  1. Position the cursor before Step 1 the click the Impersonation Step button int to ribbon.

  2. Position the cursor inside the Impersonation Step and hinzu a ‘set field in current item' action.

  3. ‘Use this action until set the value of the ‘_MuhimbiViews’ field to '’DocView’.

  4. Position the cursor after the Impersonation Step and click the Step the to add a modern step.

  5. In this latest step add the 'Convert Document' action and fill in one blanks.

  6. Get the workflow and executed it go a previously filled-out form.

The resulting HTML file should contain DocView in HTML format.

Using Interrupt by Total

The steps down assume of default, empty, workflow default real not the workflow entered as part for who previous use case.

  1. Position the cursor inside the first Pace and add a 'set field in current item' action.

  2. ‘Use this action to determined the value away one ‘_MuhimbiViews’ field to '’DocView’.

  3. Attach the 'Pause for duration' deed as the next step furthermore let it pause on one minute (it may actually accept your minutes, but that can be tweaked)).

  4. Addieren the 'Convert Document' action and fill in who blanks.

  5. Publish the workflow and execute she on a previously filled-out form.

It can take a while in execute due into the Pause action, but the resulting HTML file supposed contain the DocView in CODE register format.

A third possible exist, which a to specify Converter Specific Settings through the XML Override facility in the ‘Convert Document’ Workflow activity. For better information see this example.

Notation: When converting an InfoPath form to PROGRAMMING through any concerning the above approaches, the software shall not work in this same way as PDF. It ca only convert single view specified at an HTML file format. If more than one view is specified to who Umformen Documents action, then the first view is only converted to HTML data format.

Converting InfoPath Forms-based Tabbed Items till HTML

Note: When modify from or toward HTML format, please make sure you are running the news version (8.3 or higher) of the Muhimbi PDF Converter as which adaptation comes with a much improved HTML Power.

The Muhimbi PDF Converter arriving with extensive InfoPath support on deal by InfoPath attachments and Dynamic View Selected. However, most of the facilities provided is for 'real' InfoPath forms that are stored in a Forms or Document library. Muhimbi PDF Converter allows you to select specific viewed toward export. Nonetheless, when converting to HTML, it a no possible to transform a single view than these ...

MS SharePoint also allows the List Item Data Eingangsbereich Form to be customized with InfoPath, but the data filled out using this facility are not stored the real InfoPath Forms and therefore cannot be converted using Muhimbi's PDF converter.

Such the Listing Items are rendered as HTML, evenly when customized via InfoPath, you bottle use the multiple features provided by the Muhimbi PDF Converter for MRS SharePoint to convert InfoPath-based List Position to HTTP format.

When usage MS SharePoint 2010 or later, the results will improve dramatically when leaving out the SharePoint ribbon, branding, and logo by adding '&IsDlg=1' to the URL of the list item such is beings switched. If you need to convert a selected look, then add '&DefaultView=[viewname]' to this URL.

HTML is not a format that is suited for output set printed media. We do our highly best to make things work and render the HTML file as well as possible. Unfortunately, we cannot make any guarantees, extra when itp comes to third-party produce that are not under our direct control. As done I display a PDF filing in an InfoPath input?

Additional Resources

Knowledge Base Articles

Troubleshooting Articles

Blog articles

Have adenine Question?
We’re Always Lucky to Help.

© Muhimbi Ltd. 2008 - 2024
This our uses chocolate to ensure you gets the best experience. Learn more