Global form template
The form template allows you to specify location of form fields on the form. A newly added form fields are placed in the left form panel below the already existing ones.
To change the sequence of form fields or move them between the right, left or bottom panel, left-click and hold a form field and drag it to the desired location. You preview the configured form in your Internet browser by pressing the Form preview button.
1. Form template
Allows you to change the proportions of the left and right panels of the form. Available options:
- 50/50 – default template, the left and right panels will have the same width,
- 30/70 – the left panel will occupy 30% of the form width, while the right panel 70%,
- 70/30 – the left panel will occupy 70% of the form width, while the right panel 30%,
- One column – the form content will have a continuous form and will be displayed in one column. This is the default template for newly created Dictionary processes.
2. Edit mode
The drop-down list allows you to set the edit mode of the form:
- Dynamic – once you go to the form, the instance automatically enters the edit mode if you have an assigned task,
- Default view – after opening the form, the Read-only mode is set for all the users,
- Default edit – after opening the form, the instance automatically enters the edit mode unless the user holds edition privileges.
3. Path panel location
There are two available locations of path panel:
- Floating at the bottom of the screen (default setting),
- Anchored to the bottom of the form.
4. Properties
The menu available on the right side of the window is displayed after clicking the attachments section.
E-mail conversion tab
When selected, the E-mail conversation tab is visible on the form.
Add and delete
When selected, it adds buttons to the attachments menu that allow users to add or delete attachments.
Edit file
Enables edition of an attachment file.
Open in new window
When selected, it adds a button to the attachments menu that allows users to view an attachment in a new window.
5. Shortcuts mode
The drop-down list enables displaying icons next to attachments. The icons allow you to manage attachments (e.g., Download). There are two available options: No shortcuts or Icons.
6. Attachments sorting order
With the drop-down list, you can specify how the added attachments are to be sorted. The following options are available:
- By default,
- By name,
- By description,
- By insert date ascending,
- By insert date descending.
7. Related attachments
It enables displaying attachments from related instances, including superior and subordinate ones. Additionally, it allows you to display attachments from up to three folders based on an SQL query (up to five folders in total).
By clicking the configuration icon (depicted as crossed wrench and screwdriver), you can configure how the folders are displayed, their names, and content. It is possible to enter any name for the folders. If a checkbox which activates a specific folder is ticked, that folder will appear in ALL ATTACHMENTS tab on the form.
Available options:
- Show attachments from parent workflows – once checked, only attachments belonging to parent workflows (with respect to the current one) are displayed. You can configure the tab name,
- Show attachments from child workflows – once checked, only attachments from subordinate workflows (with respect to the current one) are displayed. You can configure the tab name,
- Show attachments based on SQL query – the field allows you to configure the group name, the attachment source, and the query based on which attachments are displayed.
For the data source configuration, the following columns are available for the data source:
ATT_ID* – attachment ID,
ElementName – description of an instance to which the attachment belongs (instance number by default),
Category – description of the attachment category (attachment category name by default).
select top 5 ATT_ID from WFDataAttachmets order by 1 desc
For more information on form templates, see THIS ARTICLE on our technical blog.