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, table data, ERDs and relationships
- screens, palettes, layouts and components
- images and styles
- workflows and actionflows.
To share the items, group them into one or more package then add the package to an application. 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.
Package Templates
A package template is predefined package provided by PhixFlow. When you create a new application in PhixFlow version 9.0 or later, you can choose a package template. A package template includes:
- a palette and all its components, to provide a consistent look-and-feel for your application
- some configuration, to provide default styles and components.
If you use the same package template for several applications, they will automatically have the same look-and-feel, as well as access to the same resources; see Understanding Template Packages.
When you drag a table, view or attribute onto a screen canvas, PhixFlow adds the appropriate component from the first default palette it finds. It looks in the following locations, in order:
- the Application Properties
- the 9615719746 propertiesPackage properties
- the System Configuration.
Moving Packages Between Instances
Whenever you copy an application to another instance, for example from the Development to the Production instance, we recommend you also export the packages it uses; see Import Configuration. This ensures all the resources are available for the application in the target instance.
Note |
---|
If you move an item from an application to a package so that it can be shared, 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 |
---|
| _property_toolbar |
---|
| _property_toolbar |
---|
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 pane; 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 pane; 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 pane; 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 |
---|
|