The Data Form is the T6 feature used to view, insert, update, and remove records from a Data Table. It works as an interaction interface with the database, allowing you to configure which fields will be displayed, which actions will be available, and which rules will apply during use.
When creating a form, the first step is to decide how it will be linked to a Data Table:
To access this feature, you must enable the DataForm New Create or Edit preview.
To create and edit data forms, the following permissions will be required:
The user must have the following Manager Features enabled under Permissions:
It will also be necessary to be associated with a global group with the following Manager Features enabled:
Unlike cube Forms, a Data Form does not depend on an Application; its only dependency is the Data Table it is linked to. There is no per-application permission for data forms either; access is governed exclusively by the Explorer folder in which the object is stored.
After creating a new table through this screen, the data form will open for editing without the need to access other screens.
The editor is divided into side panels:
When adding columns in the Designer, the form preview is updated in real time.
When we add a column from the Data Table to the Designer panel, some interactions will be possible, depending on the type of column added.
→ Delete: Available for all column types. Removes a column from the Designer panel.
→ Link Column: Available for all column types. Allows linking the selected column to an existing data form; when we create the link, we can access the associated form without leaving the source form.
→ Filtering: available only for columns of type Data Table or Dimension during editing.
Name: allows changing the display name in the form header.
Column Size: allows changing the dimension of the selected column (default value 210px).
Decimal Places: Allows defining the number of decimal places to be displayed after the comma in a decimal number (available only for columns of type Value).
Column Alignment: dropdown where we can define the alignment of the data within the selected column (options Undefined, Left, Center, and Right).
Read Only: switch button; when disabled, allows writing in the cells of the selected column; when enabled, writing in the cells is blocked, allowing only data reading;
Apply User Security: we can use the flag "Apply User Security" in data form columns, making the displayed records filtered based on the logged-in user, hiding records intended for other users. To perform this filtering, a query-type Data Table will be required, where we bring the system users. We will use this Data Table to link with a column in the data form, thus allowing filtering by logged-in user. To apply this filter in pages, it will be necessary to create a Data Table to which we will link the data form identifier and add it in "Pages", applying user security and selecting, in the dropdown, the column we want to filter from the Data Table.
Data Table Columns: will only be enabled if the "Apply User Security" flag is active. Enables a dropdown for selecting a specific column of the associated Data Table.
Hierarchy: field enabled only when we have a column with a direct link to another column of the same Data Table.
Field Width: will only be applied when the opening type is set to Panel. The width limit for displaying a column in a panel is "12"; thus, if the value is set to "12", the column will occupy the entire row; if we set the value to "6", we will have two columns displayed in the same row, and so on.
Example: In the image below, we have the display of a data form with the view mode set to Panel.
Number of characters to open the dropdown: available only for columns of types Dimension, User, and Data Table. We can define how many characters are required to display the available options for selection; the default value is 3 characters.
Default value for the column: Through this field we can define a default value that will be displayed as an example before data entry; we can enter any value as long as it respects the insertion format allowed by the column. In a column with a defined default value, if we add a new row in the form without filling in data in the column in question, it will be automatically filled using the value defined as the default.
Example:
View: the View option will only be enabled for columns of type Data Table, or columns linked to a Data Table. When we click the icon
, a side panel will open where we can select the metadata that we want to be displayed in the form cell.
When we add a column of type Data Link (such as "User" or "Data Table") or a Dimension column to the Pages panel, we can click Edit to open the Page properties side panel, where the following fields are available:
Apply User Security: switch button that filters the members/records displayed in the page based on the logged-in user, hiding values intended for other users. To use this option, a query-type Data Table with the system users will be required, linked to the data form.
Data Table Columns: will only be enabled when Apply User Security is active. Enables a dropdown to select the specific column of the associated Data Table used for the filtering.
Field Width: will only be applied when the opening type is set to Panel, following the same width rules described for columns (limit of "12").
Default Value: allows selecting, from a dropdown tree containing the members/hierarchy available for that page, the member that will be used as the default value for the page. This default value is applied only when the data form is opened manually (i.e., not through a link, a saved parameter, or a specific page value already defined for that session); if the page already has a value defined by another mechanism, that value takes precedence over the default value configured here.
Example: if a data form has a "Scenario" page and we define "Budget" as the Default Value, every time a user manually opens this data form, the "Scenario" page will already be filtered by "Budget", without requiring manual selection.
The Edit tab centralizes the form settings.
Save Button: Saves the settings and the arrangement of defined columns and pages.
Edit/View: Button that allows us to switch between edit and view modes without the need to change screens or reload the page. In edit mode the form configuration options will be active, while in View mode the configuration options cannot be changed.
←→
Properties Button: When we click Properties, a side panel will open, where we will define:
View Mode: controls how the form will be displayed (Standard, Panel, Dynamic, or Window).
When the data form is displayed in Window mode and has a Pages panel, a Pin button is displayed at the top of the panel, next to the expand/collapse control. The Pin button is deactivated by default. When it is deactivated, a tooltip displays the text Pin; when it is activated, the tooltip changes to Unpin. Activating the Pin button keeps the Pages panel expanded, and this preference is saved per user: the next time the data form is opened in Window mode, the panel is displayed expanded. Deactivating the button makes the panel display collapsed the next time it is opened.
Permissions: We have the following checkboxes:
In addition to the settings from the Edit tab, it is possible to apply visual styles:
More details at: Formatting.
→
After selecting the Data Table, the configuration and editing screen for the form will open, where we will configure the data dynamically. Initially, no row, column, or page will be displayed; we must configure the layout through the Data and Designer panels.
When selecting a column from the Data Table, it will be placed in the Designer panel, respecting the previous selection (column or page), and will be reflected alongside, in the data form preview.
Attention: If you switch between viewing/editing modes without saving, the changes made will be lost.
After saving the form, it will be ready for use.
When accessing the data form in View mode, the form will be displayed according to the configuration performed in edit mode, with the tools in the Home tab available for interacting with the data.
In the Home tab, we have the following functionalities:
Clipboard.
Integration.
.csv format files to the open data form..csv format file.Filter.
Filters: Allows filtering the data displayed in the data form. Through filters, the user can use composite filters with two criteria, connected by logical operators:
Each filter field has:
| Operator | Description |
|---|---|
| is less than | Returns records with a value lower than specified. |
| is less than or equal to | Includes the specified value and lower ones. |
| is greater than | Returns values higher than defined. |
| is greater than or equal to | Includes the value and higher ones. |
| contains | Returns records whose content includes the informed expression. |
| does not contain | Returns records whose content does not include the informed expression. |
| starts with | Returns records whose content begins with the informed expression. |
| does not start with | Returns records whose content does not begin with the informed expression. |
| equal to | Exact value. |
| different from | Excludes the informed value. |
| is blank | Returns rows without information in the column. |
| is filled | Returns rows with any value in the cell. |
The Data Form in T6 is a feature used to view, insert, update, and remove records from a Data Table, acting as an interaction interface with the database.
During Data Form creation, when you create a new data table, you configure all fields directly in the editor without leaving the current screen. When using an existing data table, you select a table already registered in T6 through a dropdown.
To use data forms in T6, the user must have the manager features Manage the structure of data tables and Create and View Data Entry Forms enabled, and must belong to a global group with Manage Explorer and Manage Data Tables enabled.
Yes. To use the new version of data forms in T6, you must enable the preview feature DataForm New Create or Edit.
In T6 Data Forms, the Editor is where the form configuration is done.
It is divided into side panels: Data (lists table columns), Designer (organizes columns in the form), and Pages (for Data Link or Dimension columns).
T6 data forms provide the following view modes:
Standard;
Panel;
Dynamic;
Window.
During data form editing, in the Designer panel, click Edit on the desired column and adjust the Column Size field (default value: 210px).
It can also be adjusted through Formatting.
Yes. In T6 data forms, in the column editing panel, use the Default value for the column field to define a value that will be shown as a preview and automatically filled in new rows.
Field width only takes effect when the Data Form is displayed in Panel mode.
The maximum width is 12.
If set to 12, the column occupies the entire row.
6 allows two columns in the same row.
4 allows three columns, and so on.
The Apply User Security option in data forms filters displayed records based on the logged-in user, hiding records intended for other users.
It requires a query-type Data Table with system users.
To create links between columns in data forms, use the Link Column option in Designer to create a link between the selected column and an existing data form.
In the new version of T6 data forms, the "Pages" option appears when there are Data Link type columns (such as "User" or "Data Table") or Dimension-type column metadata.
If you made changes in the data form and switched between view and edit modes without saving, the changes will be lost. It is important to save before switching modes.
After adding columns in data forms, if you want to reorder them, use drag and drop in the Designer panel to change the order of columns and pages.
Yes. In the Pages panel, click Edit on the desired page to open the Page properties panel and use the Default Value field to select, from a dropdown tree, the member that will be applied as the default value for that page.
This default value is used only when the data form is opened manually; if another mechanism (such as a link, a saved parameter, or a specific page value) already defines a value for that page, it takes precedence over the configured default value.