Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: DEV-5545 comment 1: clarified viewing the Excel template

By the end of this section you will be able to :

...

associate an Excel template with a view.

First you will , specify the location of excel templates:

  • Click on the Admin button in the top right of PhixFlow and select System Configuration
  • Go to the System Directories tab

Take a note of what the Template Location property is set to (something like /external/training/landing/excelTemplates).

  1. Find System Configuration in the repository browser. It is right at the bottom of the repository list.
  2. Open System Configuration and expand the System Directories section.
  3. Make a note of directory specified in the Template Location, which is set to something like /opt/phixflow/excelTemplates.

You will now use a template in this directory to format one of the views you created:

  1. Open the model Dashboards and Forms 01-08: Views, filters and dashboards.

...

  1. Click on the icon for the Overall Debt Levels

...

  1.  stream to open

...

  1. its configuration form

...

  1. .
  2. In the Views section, click on Overall Debt Levels

...

  • If you have sftp access, e.g. via FileZilla, you can retrieve the file from the cloud server from templates directory noted above
  • If not, a copy of the template is available in the control framework:
    • Press Image Removed - Show the control framework in the left-hand menu bar of PhixFlow
    • Expand the folder PhixFlow Training
    • Double click on the control Excel template to open it
    • Go to the Files tab
    • Double-click on the template file to open or download it

...

  1. . This opens the stream view configuration form.
  2. In the Advanced section, in the Excel Template box, enter debtOverview.xls and press Image Added.
  3. The template itself is stored on the PhixFlow server but you can have a look at copy.
    1. Download  train.zip and extract the contents to a folder on your computer (indicated as <path> in the following instructions).
    2. Open <path>\train\excelTemplates\debtOverview.xls. The file opens with one worksheet, called Formatted Data, which shows how the data will be formatted.
    3. If the file is protected, enable editing.
    4. There is a another, hidden worksheet. To view it, right-click on Formatted Data and select Unhide.
    5. 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.


  4. Open the view Overall Debt

...

  1. Levels and export the data to Excel.
  2. You will see the exported data from PhixFlow in the first worksheet

...

  1. and the formatted output on the second worksheet

...

  1. .