This page is for application designers who need to configure functionality for components or events. It explains the properties for the view node, which is part of an actionflow.
Overview
Use a
Insert excerpt |
---|
| _action_view |
---|
| _action_view |
---|
nopanel | true |
---|
|
node to provide additional data to the actionflow.
Sometimes When you are designing screens, you use a view to select and filter data for display. In an actionflow, the originating screen or component does may not include all of the data that the actionflow requires. In this case, add use a view node , which can provide data from a table and related attributes that you can use in both driving and lookup connections.
Adding an View Nodeto select and filter data to use in the actionflow.
Header row has colum control options - need docs somewhere.
Requested is made through a wizard? Filter refers to the request - UID is requestinput.uid then do something
Adding an View Node
When you drag a new view node from the toolbar onto the canvas, PhixFlow guides you through the process.
- Drag a view node from the actionflow toolbar onto the canvas.
- Choose whether this view will be driving or lookup (see below).
- Select the table on which this view is based. PhixFlow opens the View Attributes window and the view node properties.
- Drag attributes onto the Data Attributes and, for lookup views, Request Attributes sections.
Lookup and Streaming Views- You can add attributes from the base table and from related tables.
- Close the View Attributes window and save the view node properties.
View Types
There are two ways to use a view node.
How the actionflow processes the view data depends on whether the view is a connected as a driving or lookup node. When you drag a view node onto an actionflow canvas, PhixFlow prompts you to choose between a streaming/driving or lookup connection.
- If the you connect a view node is connected via a driving connection, records are returned individually to the connected node and flow one by one through the remainder of the actionflow.
- If the you connect a view node is connected via a lookup connection, the records are returned as an array within one recordset. Lookup views require both:
- Data Attributes: add attributes from the view. PhixFlow looks-up data from these attributes.
- Request Attributes: when the actionflow runs, PhixFlow uses this section of the properties to list the attribute data returned by the look-up. This maps to an input on the destination point.
Example
TBC
- returns the data to these attributes.
Insert excerpt |
---|
| _property_tabs |
---|
| _property_tabs |
---|
name | basic-h |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| _property_toolbar |
---|
| _property_toolbar |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| _parent |
---|
| _parent |
---|
nopanel | true |
---|
|
Basic Settings
Field | Description |
---|
Name | Enter the name for the action node. |
Insert excerpt |
---|
| _actionflow_properties |
---|
| _actionflow_properties |
---|
name | show-name |
---|
nopanel | true |
---|
|
| Insert excerpt |
---|
| _actionflow_properties |
---|
| _actionflow_properties |
---|
name | show-text |
---|
nopanel | true |
---|
|
|
Subtype | Read-only. PhixFlow displays the type, selected when the the view node was created. Types are - Streaming - a driving view
- Requested - a lookup view
This miight be changing as the query may be option |
Default Sort Order | Select a sort order, or click to create a new one; see Sort Order. The sort order determines the order the data is retrieved. |
Default Filter | Select a filter, or click to create a new one; see Sort Order. A filter determines what data is retrieved. To reference attributes present in the Filter Attributes, use _filter.[AttributeName] . |
Include History Records | Insert excerpt |
---|
| _check_box_tick |
---|
| _check_box_tick |
---|
nopanel | true |
---|
| to include superseded records in the view data.
|
Data Range | Select the data range that the view node will use: - All: use all the data
- Latest: use only the latest data.
|
This section has a toolbar with standard buttons. View nodes can have:- one
Insert excerpt |
---|
| _driving_input_connection_point |
---|
| _driving_input_connection_point |
---|
nopanel | true |
---|
|
- one
Insert excerpt |
---|
| _request_input_connection_point |
---|
| _request_input_connection_point |
---|
nopanel | true |
---|
|
The grid contains a list of all input connection points and their type.
- To add a new input connection point, in the section toolbar click to open a new input connection point and set its properties; see Input Connection Points.
- To edit an existing input connection point, double-click it in the list to open its properties.
- To remove an input connection point, select one and in the section toolbar click
Insert excerpt |
---|
| _delete |
---|
| _delete |
---|
nopanel | true |
---|
|
.
Data Attributes
A list of attributes displayed in the view. Click to show the list of attributes for the primary table. Drag the attributes you want to add to the view into this list.
In the list:
- to edit the attribute's properties, double-click an attribute; see View Attribute
- to delete an attribute, right-click and select
Insert excerpt |
---|
| _delete |
---|
| _delete |
---|
nopanel | true |
---|
|
Request Attributes
Available for lookup views. This section lists the data attributes returned by the look-up.
Filter Attributes
Todo-Fiona A list of attributes that can be referenced in the view's filter under Data Retrieval using the syntax _filter.[AttributeName]. These attributes can be mapped to attached nodes which can provide filter parameters.
Insert excerpt |
---|
| _description |
---|
| _description |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| _property_tabs |
---|
| _property_tabs |
---|
name | access-h |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| _access |
---|
| _access |
---|
nopanel | true |
---|
|