Create a condition template
Condition templates are custom field groups. The options in the Template field of a condition or a condition type are the custom field groups that you have configured in your Civic Platform implementation. The steps to prepare condition templates are the same as preparing custom fields groups for records. When you select a custom field group from the conditions Template menu, that custom field group (and its custom fields) displays at the bottom of the Conditions page.
When you create a template for a condition, you configure the custom fields group first. The custom fields group name displays in the Template field when creating a condition or a condition type.
Note: The template that you specify for a condition overrides the template that was previously associated with the condition type of the condition.
To define a custom fields subgroup in a custom lists group for a condition template, see Create and edit custom fields groups subgroups.
Either custom fields security settings or a customized custom fields form layout can block a user or user group from viewing certain custom fields and custom lists on a condition template.
The permissions set for a standard condition always override the permissions set for the condition type to which it belongs. User-level permissions override user-group level permissions. If a user has custom fields security or custom fields form layout permission at the same time, the strictest access setting applies.
There are various methods to control user and group access to condition template fields.
You can assign permissions based on the user login credentials to restrict access to custom fields and custom lists data. For more information, see Set permissions for custom fields and custom lists.
Note: If you do not have access permission to a custom fields group, that group can still display as a condition template option. However, when you select the custom fields group as the condition template, the template field does not display.
You can set the condition template field permissions in the Record type definitions page and apply security at the module, group, and user level. For more information, see Find, create, and edit a form layout.
You can set access within the Condition page and layout the design of condition templates. For more information, see Design a layout for the Condition page.
You can choose which fields you want to show in the Condition page, and you can customize those fields. You can add a label for the field, specify its width, apply a mask, and indicate sort order and display order. You can also specify how many items to display in an expanded and contracted list.
-
To design the layout of system-defined condition fields, use the Edit view feature on the Condition page. For more information, see Edit view feature.
-
To design the layout of the condition template fields (that is, custom fields and custom lists), you can create custom fields screens for custom fields groups. For more information, see Create and edit custom fields group.
If you defined one or more custom fields screens for a custom fields group, and you select the custom fields group as the condition template, all the fields and tables in the custom fields group display below the system-defined condition fields, with the layout you designed in the custom fields screens.
Note: If you did not define a custom fields screen for a custom fields group, or you do not have permissions for the custom fields screen for the custom fields group, after you select the custom fields group as the condition template, all the fields and tables in the custom fields group display below the system-defined condition fields with the default layout. For more information, see Edit a field in a custom fields group.