Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Insert excerpt
_Banners
_Banners
namescreen
nopaneltrue

This page is for application designers who want to design re-usable components and add them to palettes.

Overview

...

The easiest way to design a screen for an application is to:

  1. Create a dashboard; see Screen Reference Information
  2. Drag in pre-designed components and layouts from the palette. For information about

...

If you have a specific component that you want to reuse on multiple

...

screens, you can make a

...

Layout Template, then add it to a new or existing palette.

For the repository sections Components and Layout Templates, there is no context menu option to add a new one. 

Making a Layout Template

  1. On a

...

  1. screen, add components from a palette to create a desired layout.
  2. Set all the style options you require.

...

  1. It is recommended that styling is applied using shared styles.
  2. Right-click the

...

  1. Layout and select 
    Insert excerpt
    _repository_find
    _repository_find
    nopaneltrue
    .
  2. In the repository, right-click the component name.
  3. From the context menu, select Copy as a Template.
  4. PhixFlow opens a new property tab. This is a copy of the original component, with the Advanced → Template property ticked. It is saved in the Layout Template section of the repository. 
  5. Edit the name to reflect that this component is now a layout template.
    1. We recommend that you add a layout template to a Palette. See Using and Creating Palettes

...

    1. .

...

  1. In the repository

...

  1. open the desired palette. Drag

...

  1. the

...

  1. tab into the workspace to show

...

  1. the tab for the palette and Layout Template side-by-side.
  2. Drag the layout template

...

Reusing Components in Dashboards

To use a layout template, simply drag it into the dashboard canvas:

  • either from the repository Layout Template 
  • or from the palette.

When you drag in the layout template, PhixFlow prompts you to add a name. PhixFlow saves the copy in your application as a component on the dashboard, using the new name. This means that changing a layout template

  • does not change the components that have already been copied from it. 
  • new copies will have the change.

...

When you set up a layout template, you might want the option of changing the appearance of components that have been copied from a layout template. To do this, set up a shared style.

...

  1. into the desired group of the palette.
  2. The layout template is now ready as a reusable item that can be dragged from your palette to a screen.


Managing Layout Templates 

...

To successfully move

...

palette to a different PhixFlow instance, you must include the layout template and styles in the export. Consider adding your

...

styles, layout templates and

...

associated palette to a package, to ensure they are all included in an export; see Package for how to add items to a package.

...

To perform the export click the Administration menu options Export Full Configuration or Open Export Pane to include the layout templates and styles in your package; see Export Configuration  and Import Configuration.