InterFormNG2 can generate an output excel file in the format .xlsx based on a special formatted XML file. Such an XML file can be generated by the related workflow component, Excel to XML. You can also use an SPLF input when you execute the component.
The advanced, Create Excel document component has these parameters:
Excel template
This refers to an Excel template (a form), that has been setup in the Excel designer. You can here select a fixed template by clicking on the line whereby a drop down list. The template can also be selected via an XPath expression, if you click the rightmost icon on the same line.
Existing XLSX document
Here you can refer to an optional excel template. If you select an excel template file here, then the input XML will add data into this template excel file, when the new output excel file is built. In this way you can e.g. add predefined formulars, images and charts etc. in the template, and this component can then add variable data to this template.
The excel file can be selected from the Others Library folder and subfolders. If the optional attribute is empty, a new document is created. Otherwise the document will write into the existing XLSX document. More information about this option can be found in the section, Excel template file.
The workflow component accepts XML as the input payload and outputs a payload in the Excel format.
To actually output the Excel file you can consider to insert one of these workflow components after the Create Excel document component depending on what you want to output to:
Save in a folder
Use the workflow component, To filesystem to save the Excel file in a folder.
Attachment in an email
If you want to send an email with the Excel file as attachment, then you can consider to insert the workflow components below:
The last component can be replaced with the component, Create PDF email, if you want to attach both a PDF and the Excel file. You can also add multiple attachments like above.