Configure a preferred parent for a layout or component that is either already on the palette, or that you intend to add to the palette. The nature and naming of parent types is up to you.
The following palettes predate version 9.0.0 and the template components are not configured with preferred parents.
- Pre-installed palettes
- Basic Components
- Labelled Fields
- Packaged palette
- Theme 1 - App Builder Base Components
- Theme 1 - App Builder Prebuilt Components
- Packaged palette installed in version 8.3 or earlier
- Theme 2 - App Builder
- Theme 2 - App Builder Base Components
- Theme 2 - Buttons
This means when you drag components from them, PhixFlow is unable to highlight potential parent areas.
To install the latest version of Theme 2, which has been updated to add preferred parents, see Installing Template Packages.
See also
How to Configure Preferred Parents
- Create layout categories; see Layout Category Properties, below.
- Either in the repository, expand the Layout Categories section and click Add New.
- Or in an area component properties, in Basic Settings → Layout Categories, click Add New.
- Edit an area component. In Basic Settings → Layout Category, select a layout category.
- Open the repository and expand Layout Categories.
- Drag the repository tab to the left to display it next to the other tabs.
- Open a component's properties.
For example, in the palette, right-click on a component and select Edit. - From the repository, drag a layout category onto the Preferred Parent Categories list.
The following table shows some examples of the layout categories you could create, and the components that would be appropriate for them.
Template component | Layout category/preferred parent |
---|---|
static and dynamic text fields | header-area, form-area |
data fields | form-area |
buttons | button bar |
Step 4 illustrated:
Notes
When you are dragging a component from the palette, you can drop it onto any suitable container - it does not have to be a preferred parent. However, if you drop a component onto a container that is not a preferred parent, PhixFlow will look at any other containers in order to put it in there?
Layout Category Properties
Use layout categories to configure highlighting of an area that is a preferred parent, when you drag components from the palette onto a screen.
Property Pane Toolbar
For information about the toolbar options, see the Common Properties page, Toolbars and Controls section.
Parent Details
If this item is within or belongs to another, it's parent name is shown here. See the Common Properties page, Parent Details section for more details.
Basic Settings
Field | Description |
---|---|
Name | Enter the name for the layout category, which PhixFlow will add to the Layout Categories section of the repository. Drag layout categories from the repository into the Preferred Parent Categories section of components. |
Description
We recommend that you always enter a description to explain the purpose of this item.
Audit Tab
Audit Summary
See the Common Properties page, Audit Summary section.