Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Overview
Coming SoonActionflows can be used to pass data between screens. This page will discuss how to pass an ID (primary key) of a contact from a grid to an edit form and display the contacts name as the header on the form.
This page assumes that the user has a grid of contact data with a primary key configured. See Understanding ERDs for more information.
A user has the following screen containing a contacts grid and no actions associated with the add, edit or delete buttons.
Note |
---|
To create this screen either
|
A user also has the following edit screen containing form fields from the same Contacts table.
Note |
---|
To create this screen either
Both routes automatically backs the form by the Contacts table and will display the first record by default. |
Wiring data into the actionflow
To configure the edit button on the contacts to pass the selected user ID to a new screen
- Right click on the edit button and select Add Actionflow
- Name the actionflow Open Edit Form
- Click Connect in the connections section
- Select the Contacts Grid
- On the mappings screen drag and drop the ContactID (primary key) to create a mapping into the actionflow. This ID is now available to be used within the actionflow.