Create request type fields
You can create and configure request type fields using either Web UI or the workbench.
Create request type fields using Web UI
From the Request Type Settings page, you can create new fields for a request type.
To create new fields:
-
Click the Administration button in the masthead.
-
From the Administration menu, click Demand Management > Manage Request Types.
- Click the name link of the request type for which you want to create a new field. You can use the Search box to quickly find a request type by keywords in the name or description.
-
You can add a new field from either the Fields or the Layout tab:
- From the Fields tab, click the Add button . The new field is added at the bottom of the section.
- From the Layout tab, drag a field from the Fields pane and drop it to the target section. To create a new section, drop it in the area between existing sections. For details, see Add a new section to request types.
-
On the Fields tab, double-click the new field and provide the following information for the field.
On the Layout tab, click the new field to show the field properties and provide the following information for the field.
Tip: By default, not all columns are displayed on the Fields tab. Use the Choose columns button to select which columns to display.
Column Description Required.
Provide a label for the field for display on the request details page.
Required.
Enter a unique uppercase text string used to identify the field. for example,
ASSIGNED_TO_USER_ID
.Note: If you add a table component field with an auto-complete-list column, do not set the token to numbers only. Otherwise, exceptions would be thrown when you click the auto-complete-list column in the request details page.
Select Yes to enable the field for this request type, or select No if you do not want to enable the field.
Required.
Specify a validation for the field.
The validation determines:
- The component type of the field: plain text field, date field, drop-down list, and so on.
- What values are valid for the field.
For details on validations, see Use validations.
Note: When specifying the validation, make sure that the token(s) referenced by the validation already exist.
Automatically filled after you selected a validation for the field. Choose from the list the request detail page section where the field is displayed.
For instructions on how to create sections, see Configure layout for request type fields.
Choose Yes to display the field on requests of this type, or choose No to prevent it from being displayed on requests of this type.
If you select No for this option, the field is always hidden regardless of what you select for the Display Only option.
Note:
You can also use the following methods to set whether the field is visible or hidden:
- Use the Security tab in the Field window in the Request Type Workbench to control field visibility for specific users or security groups. For details, see Field Security.
- Set a field's visibility based on request status in the workflow. For details, see Configure request statuses for request types .
To make the field read-only, and not editable even at initial request creation, select Yes.
Note:
You can also make a field read-only or editable using the following methods:
- Set a field to be read-only or editable based on request status. For details, see Configure request statuses for request types .
- Use advanced UI rules to make a field editable or read-only, based on configured dependencies. A user cannot edit a field if an advanced rule is triggered to make it read-only, even if the request status and field-level security allow the user to edit the field. For details, see Advanced rules for request types.
Choose Yes to display the field as a search criteria field on Search and Filter pages, or choose No to exclude it from being displayed as a search criteria field on those pages. Transaction History To enable transaction auditing for this field, choose Yes. This ensures that any changes to the field value in a request are logged to a transaction history table.
Note: The total number of fields in a request type cannot exceed 359 if you enable the Transaction History for any field.
Notes History To enable notes auditing for this field, choose Yes. This ensures that any changes to the field value in a request are logged in the notes for the request.
Note:
Exercise caution when enabling Notes History for a table component field. If the field contains many rows and columns, extensive information will be recorded.
The total number of fields in a request type cannot exceed 359 if you enable the Notes History for any field.
Multi-Select Enabled If you selected an auto-complete component for the validation, and you want to allow users to select more than one value, click Yes.
If you selected a non-ACL component for the validation, users cannot select more than one value, regardless of whether the Multi-Select Enabled option is selected and whether its value is Yes. This also applies to Web services.
Note: Some request header fields do not allow the multi-select option.
Description Provide a short description for the field. Specify the logic to use to determine the valid search values in this field.
Default Type Specify the default value for the field:
- To specify that the field has no default value, select None.
- To specify that the field has a constant as the default value, select Constant and then enter the constant value in the Visible Value column.
Note:
You can also configure a default value for a field based on the value in another field or derived from a parameter. To configure defaults of these types, set up a rule or a command to automatically populate the request type field. For details, see Request type rules and Configure commands for request types .
This column is enabled only when you select Constant in the Default Type column. Specify the maximum number of characters for the field value, 200 or 4000.
Select the batch number for the field.
Note: The batch number is determined by the maximum number of fields, with one batch created for every 50 fields. Within each batch, up to ten of these 50 fields can contain more than 200 characters in length. The Batch Number field is enabled only when there are more than 50 fields, which can create more than one batch.
Select the internal database column in which the field value is stored.
Note: Field values are stored in the corresponding column in the request details table for each batch of the specified request type. Each request type can use up to 50 columns to store information, allowing for up to 50 fields per batch. Within the same batch, no two fields in a request type can use the same column number.
Note: An issue occurs when the Reference Code of a request type is the same as the Reference Code of a request header type, and a field with the same token is added to either. This results in an error.
To resolve this issue, change the Reference Code of either the request type or the request header type.
To remove a request type field:
You can remove a request type field from the Fields tab or the Layout tab on the Request Type Setting page.
Note: Request header type fields cannot be removed.
- On the Fields tab, select the checkboxes of the fields to remove and click the Delete button.
- On the Layout tab, hove over the field to remove, click the More button and then click Delete.
Create request type fields using workbench
Use the Request Type Workbench, Field window to create and configure request type fields. You can also copy a field from an existing one.
To create a request type field in the workbench:
-
Click the Administration button in the masthead.
-
From the Administration menu, click Workbench > Open Workbench on Desktop to open the Request Type Workbench.
-
On the shortcut bar, click Demand Mgmt > Request Types
-
Open a request type.
-
On the Fields tab, click New.
-
In the top area of the Field window, provide the information described in the following table.
Field
Description
Field Prompt
See Prompt.
Token
See Token.
Description
See Description.
Enabled
See Enabled.
Validation
See Validation.
Multi-Select Enabled
See Multi-Select Enabled.
-
On the Attributes tab, provide the information described in the following table.
Attribute
Description
Section Name
See Section Name.
Display Only
See Display Only.
Transaction History
See Transaction History .
Notes History
See Notes History.
Display on Search and Filter
Display
See Display.
Search Validation
See Search Validation.
Note: The total number of fields in a request type cannot exceed 359 if you enable the Notes History or Transaction History attribute in any field.
-
Click the Default tab and do the following:
- To specify that the field has no default value, select None in the Default Type field.
- To specify that the field has a constant as the default value, select Constant in the Default Type field, and then enter the constant value in the Visible Value field.
You can also configure a default value based on the value in another field or derived from a parameter. To configure defaults of these types, set up a rule or a command to automatically populate the request type field. For details, see Request type rules and Configure commands for request types .
-
Click the Storage tab and configure the tab as described in the following table:
Field Details Max Length See Max Length.
Batch Number See Batch Number.
Parameter Col
See Parameter Col. .
The Storage tab automatically assigns the field to the next available position in the database based on the current field attributes. To locate a specific request field in the database, administrators can access the Storage tab in the Field window for that field. This is useful for reporting purposes.
For text fields with a maximum length of 4000 characters, the Storage tab stores their values in column 41 or higher.
-
By default, all users can view and edit the field. You can use the Security tab to change the default security settings.
-
On the Security tab, click Edit to open the Edit Field Security window.
-
Clear the Visible to all users checkbox.
-
From the Select Users/Security Groups that can view this field list, select one of the following user types to specify the field security: Security Group,User,Standard Token, or User Defined Token.
-
Specify the security groups, users, or tokens that can view the field.
-
To assign editing rights along with viewing rights to your selection, keep the Provide Editing Rights checkbox selected.
-
To add the selection to the list of users and security groups that can view the field, click the Add button.
-
To hide the field from a specific security group, user, or token, clear the Visible checkbox in the corresponding row.
-
To make the field read-only for a specific security group, user, or token, clear the Editable checkbox in the corresponding row.
-
To remove field access rights entirely, select the user, security group, or token, and then click Remove.
-
Click OK.
If you add field-level security to fields in a request type that has already been used to create requests, the PPM database tables are updated with this new configuration. Because of the scope of the database changes, you must collect database schema statistics. For information about how to collect database schema statistics, see the Installation and Administration Guide. For assistance, contact your system administrator.
-
Note: Each request type can have a maximum of 500 rows per column, three columns per tab, and 20 tabs.
For reporting purposes, fields within the first four batches (200 fields) are available when using the reporting meta layer functionality.
Copy request type fields using PPM Workbench
From the Request Type Workbench, Field window, you can also copy a request type field from an existing one.
To copy a request type field:
-
In the Request Type Workbench, open a request type.
-
In the Request Type window, click the Fields tab.
-
Click New.
-
In the Field window, click Copy From.
-
In the Field Selection window, specify the search criteria such as the token name or field prompt, and then click List.
Tip: You can execute more complex queries, such as listing all fields that reference a specific validation or are used by a particular entity. Because of the large number of fields in the system, use one or more query criteria to limit the returned fields.
-
Select the field to copy, and then click Copy.
Note: For security purposes, the security settings are not copied. If necessary, you can manually set up the security settings for the copied field.
-
In the Field window, make any necessary modifications, and then click OK.
The Fields tab lists the new field.
See also: