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.When you are designing screens, you use a view to select and filter data for display. In an actionflow, the originating screen or component may not include all of the data that the actionflow requires. In this case, use
a view node to 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. 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 nodea
Insert excerpt |
---|
| _action_view |
---|
| _action_view |
---|
nopanel | true |
---|
|
node to select and filter additional data to use in the actionflow.
How the actionflow processes the view data depends on whether the view is a connected as wired via a driving or lookup nodelookup connection.
- If you connect a view node via a For a driving connection, records are returned individually to the connected view node and flow one by one through the remainder of the actionflow.
- If you connect a view node via a For a lookup connection, the records are returned as an array within one recordset. Lookup views require both:
- Data Attributes: add the attributes from being passed into the view . PhixFlow looks-up data from these attributes.node.
- Request Attributes: when the actionflow runs, PhixFlow returns the data to these attributes.the attributes from which you need to lookup data.
When you create a view node, PhixFlow prompts you to select the table on which this view is based. PhixFlow opens the Attributes window and the view node properties.
Drag attributes from the Attributes window and onto the Data Attributes or Request Attributes sections. You can add attributes from the base table and from related tables..
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 This section has a toolbar with standard buttons. The grid contains a list of the attributes 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 |
---|
|
Field | Description |
---|
Name | Enter the name for the action node. |
Attribute | Why does this let you go to another properties that are basically the same?? |
Type | Select the type of data this attribute contains; see Understanding Data Types. - String
- Bigstring
- Integer
- Float
- Decimal
- Date
- Datetime
- Graphic
- TrueFalse
|
Order | The order of the attribute. Attribute expressions are evaluated in this order. This is important when you need to use the results of a calculation in another attribute: - either in its expression
- or in a $ variable.
In the attribute list, the attribute that calculates the result must come before the attribute that requires the result. |
Request Attributes
Available for lookup views. This section lists the data attributes returned by the look-up.
Filter Attributes
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. view nodes connected via a lookup input connection point.
This section has a toolbar with standard buttons. The grid contains a list of the attributes from which this view node will look for data. In the list:
- To create a new attribute: click and set the Name and Type; see Attribute.
- To change its properties, double-click an attribute in the list; see View Attribute
- To delete an attribute, right-click and select
Insert excerpt |
---|
| _delete |
---|
| _delete |
---|
nopanel | true |
---|
|
.
Map the request attribute to an attribute in a table.
Insert excerpt |
---|
| _description |
---|
| _description |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| _property_tabs |
---|
| _property_tabs |
---|
name | access-h |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| _access |
---|
| _access |
---|
nopanel | true |
---|
|