Excel designer

Excel designer

Excel Support

It is possible to generate Excel output in InterFormNG2, and it is also possible to convert Excel files into XML. You need however to have a license for InterFormNG2, that includes the Excel functionality, which can be support for either Excel input, Excel output or both.

 

The supported Excel format is .xlsx.

 

The related topics are:

 

1.Excel designer. How to define the excel output based on an input XML file or spooled file.

2.How to generate an output Excel file in the workflow.

3.How to convert an input Excel file into XML.

Excel Designer:

This section explains how you can define the mapping from an input file (either XML or a spooled file) into an output Excel file. This functionality require a license for InterFormNG2, that includes Excel output.

 

The mapping is saved in the Library with the other templates with the extension .iet. Your templates can be saved in a folder structure as described in the section, Library.

 

The general use of Excel is covered in the section, Excel support.

 

This section covers this:

1.How to start the Excel designer.

2.How to load a sample XML or spooled file for the design process.

3.How to preview the merged result.

4.Excel templates: How to work with Excel templates. The Excel templates contains the definition of the Excel output.

5.Excel sheets: How to set the name, create a new sheet and delete a sheet.

6.Excel rows: How to setup and edit rows.

7.Excel cells: How to setup and edit cells.

8.Excel styles: How to setup the layout and cell format including the font including the cell/column width including autofit (automatic adjustment) of the column width to fit the data.

9.Excel condition: How to insert an if-element in the excel template.

10.Excel repeat: How to implement repeats in the excel template.
11.Excel variables: How to define and use variables in the Excel designer.
12.How to use an Excel template file. This can e.g. be used, if you want to present the data in a predefined excel file and use e.g. a chart or pivot table.
13.How to implement the Excel file creation in the workflow via the workflow component, Create Excel document.
14Example: Convert a generic CSV file into Excel.

 

 

How to start the Excel designer

The Excel designer can be started in two ways:

 

1.Either by clicking on the Excel designer icon in the ribbon on the top right (e.g. from the Dashboard):

NG2ExcelDesigner0001

 

2.Or you can click on an existing .iet file from the templates section in the Library.

 

 

How to load a sample XML or spooled file for the design process

In order to map data from an input file in the Excel designer you first need to load a sample input file, which can either be an XML file or a sample spooled file. A prerequisite is, that the sample file has already been loaded into the documents library. In the Excel designer you can now load the sample input file (either XML or a spooled file) from the documents library if you click this icon on the left:

 

NG2DesignerLoadInputFile0001

 

Then you can select and load the sample file from the documents folders.

 

 

Preview the merged Excel result

If you want to preview the merged result in the Excel designer, then you simply click this icon on the top left:

 

NG2ExcelDesigner0003

 

When you click this icon, then a merge will be done between the Excel template and the loaded sample file (if you have loaded one). When you have downloaded and opened the Excel file you will most likely see a protected view message on the top. You need to click enable on this message in order to execute any formulas, that you may have defined.

 


    • Related Articles

    • Excel sheets

      This section describes how to work with the sheets of an output Excel file in the Excel designer. The sheets are shown as tabs in the bottom of the final Excel file: This section covers these areas: 1.Set the name of the excel sheet in the Excel ...
    • Excel templates

      Excel templates contains the setup of the Excel output based on an input file. The Excel templates are saved with other templates in the templates section of the Library. Templates can be organized by placing them in sub-directories in the Template ...
    • Excel repeat

      You can insert a repeat element in the excel designer. The Excel repeat element works exactly like the repeat-element of the normal template designer. You can insert the repeat element in two ways: 1.You can click the repeat-element on the top to ...
    • Excel variables

      You can use variables in the Excel designer exactly like the variable element in the normal template designer. These variables can be used in any Xpath expression. You can create a new variable or update the value of a variable in two ways: 1.You can ...
    • Excel rows

      This section explains how to work with rows in the Excel designer. In order to add data into an Excel sheet you first need to add at least one row within a sheet and then at least one cell in a row. These are the actions you can do related to Excel ...