infopath-open

Open an .xsn file

An .xsn file is an InfoPath form template: a cabinet archive holding the form's views, its fields and its pictures. Drop it here to see its blank form, or drop it together with filled-in .xml forms to see each one laid out. Nothing is uploaded.

A folder of forms?

One PDF per form, plus one spreadsheet (CSV) with every field across all of them, built in this browser like the rest. It is not built yet. If you would use it, say so: the click is counted, and nothing else is sent unless you then leave an email.

What is inside an .xsn

  • manifest.xsf, the form definition: its views, its data sources and its rules;
  • view1.xsl, and one more per view: how the form is laid out;
  • myschema.xsd: the fields;
  • template.xml and sampledata.xml: the blank form;
  • pictures, and any code the form ran.

Microsoft publishes the format as an open specification, [MS-IPFF2] (https://learn.microsoft.com/en-us/openspecs/sharepoint_protocols/ms-ipff2/). This viewer follows it.

If it will not open

  • Some templates are compressed in a way this viewer does not read yet. Rename a copy to .cab, unpack it with your computer's archive tool or 7-Zip, and drop the unpacked folder.
  • A template published to a SharePoint form library is kept in that library's Forms folder, as template.xsn.

What does not render

  • Secondary data connections — lists from SharePoint, a web service or a database — are not loaded. A drop-down shows the value stored in the form rather than the list's label.
  • Code in the template (managed code or script) and its rules do not run. Values that only code would have calculated are shown as they were stored.
  • Functions this viewer does not know are named next to the form and treated as empty.
  • Digital signatures in a form are not verified.
  • Pictures linked by a web address are not fetched; the address is shown instead.

Nothing is uploaded

The form and its template are read with your browser's own file reader and laid out by an XSLT engine (libxslt, compiled to WebAssembly) running in this tab. The page's security policy allows requests to this site only, and the only things it sends are a page view and one word saying how a form was shown — never the form, its file name or any field.

Questions

Can I change the template here?

No. This is a viewer: it shows the template's views and the forms filled in from it.

Is this made by Microsoft?

No. Not affiliated with Microsoft. It reads the published file format.

More

Not affiliated with Microsoft.