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. These items can include:
- analysis models and modelling objects
- tables and table data
- screens, palettes, layouts and components
- images and styles.
To share the items, group them into one or more package. For example, you might want to create a package for sharing objects related to analysis models and another for sharing images, styles and palettes related to screen design. Then add the package to an application.
Package Templates
When you create a new application you can select a package template. This provides the palette and default styles for the application. This means each application you create based on the same package template has the same look-and-feel, as well as access to the same resources; see About Template Packages.
When you drag a table, view or attribute onto a screen canvas, PhixFlow adds the appropriate component from the first default palette finds in:
- the Application Properties
- the Package122814482 properties
- the System Configuration.
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_toolbar |
---|
| _property_toolbar |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| _property_tabs |
---|
| _property_tabs |
---|
name | basic-h |
---|
nopanel | true |
---|
|
Basic Settings
Field | Description |
---|
Name | Enter the name of the package. |
Model Validation Status | Insert excerpt |
---|
| _validate |
---|
| _validate |
---|
name | status |
---|
nopanel | true |
---|
|
|
Version | Enter the version of the package. |
Template | Insert excerpt |
---|
| _check_box_untick |
---|
| _check_box_untick |
---|
nopanel | true |
---|
|
to use this as a package, with no default design configuration Insert excerpt |
---|
| _check_box_tick |
---|
| _check_box_tick |
---|
nopanel | true |
---|
|
to use this as a package template. PhixFlow adds Order property and style options in the Template Details section. After you save a package template, it is available in the list of templates a user can select for a new application. |
Order | Available when Template is ticked. The order in which templates are listed in the Create Application window. |
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: |
| 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 |
---|
|