Versions Compared

Key

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

Insert excerpt
HELP100:_Banners
HELP100:_Banners
nameanalysis
nopaneltrue

Overview

There are a number of ways to quickly create test data in PhixFlow, which can be manually edited and added to. 

Creating an Editable Grid

Data can be manually added or updated using a simple ERD and Screen setup.

Creating a table

  1. On an ERD, either:

    1. Create a new table by dragging

      Insert excerpt
      HELP100:_tables
      HELP100:_tables
      nopaneltrue
       from the toolbar onto your ERD canvas

    2. Add an existing table by clicking 
      Insert excerpt
      HELP100:_tables
      HELP100:_tables
      nopaneltrue
       on the toolbar, then dragging a table from the Repository onto your ERD canvas 
    3. Import an Excel CSV file by dragging it from your PC onto your ERD canvas
  2. If you create a new table, PhixFlow automatically adds the following attributes to the table:

    1. Insert excerpt
      HELP100:_key_primary
      HELP100:_key_primary
      nopaneltrue
      : UID

    2. Insert excerpt
      HELP100:_display_name
      HELP100:_display_name
      nopaneltrue
      : Name 

  3. Add as many new attributes to your table as you need by clicking 

    Insert excerpt
    HELP100:_addIcon
    HELP100:_addIcon
    nopaneltrue
    Add on the table, and give your attributes appropriate names

Creating a Screen 

  1. To create a screen using your ERD data, click 
    Insert excerpt
    HELP100:_more_options_erd_IconOnly
    HELP100:_more_options_erd_IconOnly
    nopaneltrue
     on your table and choose 
    Insert excerpt
    HELP100:_screen_icon_only
    HELP100:_screen_icon_only
    nopaneltrue
     Create Screen
  2. On the Create Screen wizard, enter the following:
    1. Name: give your screen an appropriate name
    2. Open Maximised: toggle 
      Insert excerpt
      HELP100:_toggle_off
      HELP100:_toggle_off
      nopaneltrue
    3. Description: give your screen an appropriate description to indicate its purpose
    4. Template: choose Edit Form
      1. Image RemovedImage Added
    5. Click Create Screen
  3. The Available Attributes selector will automatically appear, press the cross to close this
  4. To select the attributes you wish to see on your screen, select
    Insert excerpt
    HELP100:_attributes
    HELP100:_attributes
    nopaneltrue
     in the toolbar 
  5. Click the tickbox next to each attribute, or click the top tickbox to select all the attributes, and drag them onto your screen
    1. Image RemovedImage Added
  6. PhixFlow will ask how you would like the attributes to be displayed, choose
    Insert excerpt
    HELP100:_grid
    HELP100:_grid
    nopaneltrue
    1. Image RemovedImage Added
  7. PhixFlow will ask if you would like to add actions, choose Yes
    1. Image RemovedImage Added
  8. On the Grid Actions wizard, drag Delete Selected Records onto the Delete button on your screen 
    1. Image RemovedImage Added
  9. Close the Grid Actions and Available Attribute wizards

Setting up the Screen

  1. Click on the grid on your screen to highlight it in the Layers panel on the left within the Body
  2. The View Component Properties will show on the right, click the View hyperlink 
    1. Image RemovedImage Added
  3. In the View Properties, toggle on 
    Insert excerpt
    HELP100:_toggle_on
    HELP100:_toggle_on
    nopaneltrue
     Auto Save
  4. Click
    Insert excerpt
    HELP100:_finish
    HELP100:_finish
    nopaneltrue
  5. In the Layers panel, click on the area FieldContainer to open its Properties on the right
  6. Click on the 
    Insert excerpt
    HELP100:_property_tabs
    HELP100:_property_tabs
    namestyle
    nopaneltrue
     and within the Style Settings section, change the Width and Height to 100%
  7. Click
    Insert excerpt
    HELP100:_finish
    HELP100:_finish
    nopaneltrue
  8. Click on the Name header on the grid to open the View Attribute Properties on the right
  9. On the 
    Insert excerpt
    HELP100:_property_tabs
    HELP100:_property_tabs
    nopaneltrue
    , within the Grid Settings section, untick Read Only
  10. Repeat this step for all of your attribute headers, except UID
    1. Note: Unticking Read Only will allow you to manually enter information into these columns on your grid
  11. Then click
    Insert excerpt
    HELP100:_finish
    HELP100:_finish
    nopaneltrue

Adding a Button

  1. Open the Palette by clicking 
    Insert excerpt
    HELP100:_palette
    HELP100:_palette
    nopaneltrue
     on the toolbar
  2. Expand the Buttons - Primary section and drag the Add button onto your screen - the screen will highlight the areas where the button should be dropped
  3. Give your button a name
    1. Optional: In the Layers panel, expand the area Window CRUD Bar. Then, while holding shift, drag and drop your Add button onto either the Left or Right area within the Window CRUD Bar

Check Point

At this point, your screen should look similar to this:

Image RemovedImage Added

Adding New Records via an Actionflow

  1. Right-click on your new Add button and choose 
    Insert excerpt
    HELP100:_actionflow_add
    HELP100:_actionflow_add
    nopaneltrue
  2. Give your actionflow a name
  3. To configure the input connection, within the Connections section on the left, click on Click to Connect within the Connections section on the leftConnect
  4. Choose the On Click Action Event, then select Connect Input
  5. Drag the Calculate node from the toolbar onto the canvas
  6. Give your calculate node a name
  7. The Properties for the Calculate Action node will show on the right
  8. In the Output Attributes section, add a new attribute by selecting 
    Insert excerpt
    HELP100:_addIcon
    HELP100:_addIcon
    nopaneltrue
  9. Give it a name and set the expression to "new"
  10. Drag the Save Node from the toolbar onto the canvas, give it a name, set the Type to Auto Insert/Update, and from the Table dropdown list, choose your table
  11. Connect the out pipe from the calculate node to the save node
    1. Image Added
  12. Map across your attribute from the calculate node onto the save node
    1. Image Added

Using Input Multipliers

Coming soon