Versions Compared

Key

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

Insert excerpt
_Banners
_Banners
namescreen
nopaneltrue

Overview

Moving data between screens is achieved through a combination of an ActionFlow and form fields on screensa screen. In this example, We have a Company Name on Screen 1 that we want to pass to Screen 2.

Image Added

Setup

This is achieved by:setup assumes Screen 1 has Company Data already displayed on it. The company data is available from the Learning Centre. See Designing Screens for guidance on setting up screens.

  1. Create the Actionflow
    1. Open Screen 1 and add an actionflow that opens Screen 2.
      1. A shortcut for doing this is to find Screen 2 in the repository and dragging it onto Screen 1, PhixFlow automatically creates a button and actionflow that opens Screen 2.
    Edit
    1. Open the actionflow by right-clicking the button on screen 1 and selecting Display Actionflow.
  2. Change 
Image Removed
  1. Edit the Actionflow
    1. Click on the On-Click Event, select the datasource that has your data . For example Screen 1.
    2. The mapping screen will open.
      1. Note this can be accessed at a later date by right-click on the line between the datasource and the connection point and clicking  
        Insert excerpt
        _mapping
        _mapping
        nopaneltrue
        .
    3. Drag the required attributes you wish to pass to the next screen In our example we will send the Company Name.
    4. Image Added
    5. Right-click on the connector, screen, connected to your Screen 2 and select Remove Connector.
      1. Connecting using screen, only opens the screen, we need to pass data. Therefore we will connect to the form in the next steps.
    6. Confirm the removal.
    7. Connect the in connection point to Open (Screen 2). This time we will select the Form as this allows us to pass data. When prompted select Screen 2.
    8. In the mapping screen which opens, map the required attributes you wish to pass to screen 2. For this example we will send the Company Name.
    9. The following illustrates these steps:
    10. Image Added 
    11. Close your actionflow
  2. Testing the setup
    1. Ensure you have Screen 1 open and switch PhixFlow into Application mode. See Design and Application Mode if you require assistance.
    2. Now when Screen 2 opens the Company Name is passed from Screen 1 to Screen 2.