Flow field control
How to configure a flow field control
Overview
A flow field control allows you to create a basic data field with a label to appear within a flow type document. You can add multiple field controls within a flow document if required. For example, where you need to display single points of data in you report such as job number, report owner or report date.
A field control automatically expands to contain the content within the field.
Creating a flow field control
Select the Field control from the Add control dialog. The field control is created and displayed within the layout editor.
A configuration dialog is displayed on the right hand side. Each field within the dialog can be defined dynamically or as a constant. See Dynamic fields.
The configuration dialog allows you to define the following fields for the control:
-
Header type
This field allows you to define the Label name. You can configure the field to be defined dynamically, where the field is linked to a data source and populated when the report is run. When you select the constant field to define the Header type a dialog is displayed that allows you to select one of the following:
- Id - internal Id of the data source header, this will usually be in the form of an attribute code
- Name - the name of the data source header
-
Label
This field allows you to define the Label name and overrides any configuration of the Header type. You can configure the field to be defined dynamically, where the field is linked to a data source and populated when the report is run. When you select the constant field this allows you to enter a label name directly and appears in the report.
-
No wrap
This allows you to define how the content of the Value field is displayed. You can configure the field to be defined dynamically, where the field is linked to a data source and populated when the report is run. This is a Yes / No option, the default is No, selecting the constant field sets option to Yes. The content of the Value field is wrapped if it exceeds the width of the container and has more than one line of content. If the option is set to Yes, then the content is truncated.
-
Value
This field allows you to define the value that is displayed within the field control. You can configure the field to be defined dynamically, where the field is linked to a data source and populated when the report is run. You can enter the default content in the constant field, which will appear in the report within this field. You will be able to override the default value when you run the report based on this document.
-
Margins
This field allows you to define the margins around the control, see Flow control margins.
-
Relative width
This field allows you to control the relative horizontal width of the control, see Flow control width.