This page is for application designers who want to share PhixFlow items and components across multiple applications.
todo-fiona See flow: 5.13.2 Marking a Package as a Template
Overview
If you are designing multiple applications, you are likely to have a set of items that you want to use in all your applications. Items can include:
- analysis models and modelling objects
- streams and steam data
- dashboards and components
- images and styles.
You can group together the items that you want to share in a package. When is created, different applications can use it. You can also group items into multiple packages as applications can use several packages. Packages may be used to group objects required by a number of applications.
We supply the Theme 1 and Theme 2 palettes as packages. To import Theme 1 and Theme 2 to your instances, see Installing Template Packages. You can use the theme in any application; see About Template Packages.
Moving Packages Between Instances
You can export packages and then import them to another instance of PhixFlow. If you export an application, you must also export the packages it uses.
The import process compares the contents of the import with the items that are present on the target instance.
- If an item is not present on the target system and is present in the import, the new item is created on the target system.
- If an item is present on the target system and in the import, PhixFlow replaces the item on the target system.
- If an item is present on the target system but is not present in the import, PhixFlow permanently deletes the item on the target system. This includes streams and stream set data.
Note |
---|
If you have moved an item from an application to a package, remember to export/import the application and package together. The item is deleted from the application and added to the package. If you do not export/import the package, the item is deleted from the application and is no longer available. This also deletes references, so adding the package at a later date will not reinstate the reference between the application and the item. To reinstate the deleted object and references to it, export/import the application and the package together. |
Insert excerpt |
---|
| _property_tabs |
---|
| _property_tabs |
---|
name | basic-h |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| _standard_settings |
---|
| _standard_settings |
---|
nopanel | true |
---|
|
Basic Settings
Field | Description |
---|
Name | The name of the package. |
Model Validation Status | Insert excerpt |
---|
| _validate |
---|
| _validate |
---|
name | status |
---|
nopanel | true |
---|
|
|
Version | The version of the package. |
Template | Insert excerpt |
---|
| _check_box_untick |
---|
| _check_box_untick |
---|
nopanel | true |
---|
|
to Insert excerpt |
---|
| _check_box_tick |
---|
| _check_box_tick |
---|
nopanel | true |
---|
|
to Packages now have a new option "Template" when marked as true the package gains new features, including a "Template Icon" as well as default styles and a default palette as well as default components. Upon creating a new application you will be given the option to choose a template and doing so will copy all of these default properties over to the new application. Additionally the default components have been moved from the default palette directly onto the system configuration / application. |
Template Details
Available when Template is ticked. When you create an application, you can set default styles, pallets and components for the application project. These options are set in the parent package and can be changed or set in the following properties.
Field | Description |
---|
When you drag a table or view onto a screen canvas, and select a grid component to display the table data, PhixFlow adds a grid. In this section, set the default appearance of grid views: |
|
Grid Header | For the Grid options, select the default styles for grids. You can: - Select an existing style from the drop-down list.
- Click
Insert excerpt |
---|
| _styles |
---|
| _styles |
---|
nopanel | true |
---|
| to show only the styles that already belong to this package. - Click to open a new properties panel; see Style.
The styles you select override any styles set in System Configuration. You can override these defaults for individual grids using the style settings in the View properties. |
Default Date Format | For the Date options, select the default formats for dates and date-times to use in components and attributes. You can: - Select an existing date or date-time format from the drop-down list.
- Click to show only the date formats that already belong to this package.
- Click to open a new date format properties panel; see Date Style and Date Time Format.
|
Default Date/Time Format |
Default Number Format | Select the default format for. You can: - Select an existing number format from the drop-down list.
- Click to show only the date formats that already belong to this package.
- Click to open a new date format properties panel; see Date Style and Date Time Format.
|
Default Component Palette | Select the palette that you want to use when you drag a table, view or attribute onto a screen canvas. If the list is empty, add the palette you want to use to the package. If you do not select a default palette, PhixFlow uses the system default palette.
|
Template Image | Select an image from the drop-down list. PhixFlow displays the template image in the list of available templates when you create applications. If the list is empty, add the image you want to use to the package. |
Applications
A list of applications linked to the package. Drag applications from the repository into this list to add them to the package.
Errors
Insert excerpt |
---|
| _validate |
---|
| _validate |
---|
name | error |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| _description |
---|
| _description |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| _property_tabs |
---|
| _property_tabs |
---|
name | access-h |
---|
nopanel | true |
---|
|