By the end of this section you will be able to associate an Excel template with a view.
First, specify the location of excel templates.
- Find System Configuration in In the repository browser. It is right at , scroll to the bottom of the list and open System Configuration.
- Open System Configuration and expand Expand the System Directories section.
- Make a note of directory specified in the Template Location, which is set to something like
/opt/phixflow/excelTemplates
.
...
Open the model
Dashboards and Forms 01-08: Views, filters and dashboards
in the workspace.Expand title ReminderHow? Insert excerpt _open_model _open_model nopanel true Click In the model, click on the icon for the
Overall Debt Levels
stream to open its configuration formproperties.- In the stream properties → Views section, double-click on
Overall Debt Levels
. This opens the stream view configuration form to open the stream view properties. - In the stream view properties → Advanced section , in the → Excel Template box, enter
debtOverview.xls and p
ress .The template itself , then click
.Insert excerpt _finish _finish nopanel true The
debtOverview.xls
template is stored on the PhixFlow server but you can have a look at copy.- Download Download train.zip and extract the contents to a folder on your computer (indicated as <path> in the following instructions).
- Open <path>\train\excelTemplates\debtOverview.xls. The file opens with one worksheet, called Formatted Data, which shows how the data will be formatted.
- If the file is protected, enable editing.
- There is a another, hidden worksheet. To view it, right-click on Formatted Data and select Unhide.
The Excel file now has a tab called Basic Data. This worksheet is blank ready for PhixFlow to populate it with data. Once the first sheet is populated, you can use the data in other sheets.
Info When PhixFlow exports data to Excel, it always writes the data to the first worksheet.
- Open the stream view
Overall Debt Levels
and export the data to Excel. How?? - You will see the exported data from PhixFlow in the first worksheet and the formatted output on the second worksheet.