| # To define and maintain object masks To define a mask for an object attribute, you must define a mask configuration for the mask code associated with the object attribute. You can also define a default mask value for the mask code. Where the mask code definition specifies that the mask depend on the value of another attribute, you must define a mask configuration for the mask code for each value of the attribute on which the mask configuration depends. To view mask codes and maintain default masks To view the mask codes, on the Object Data Management menu, double-click ODM Configuration > Object Masks > Object Masks (dmcom0522m000). The Object Masks (dmcom0522m000) session starts, which includes a list of all mask codes that are defined for the object type that appear in the Object field. The active mask code will be used to generate the object mask for a new instance of the object. To list mask codes for a different object type, click Next Group and Previous Group, or Find, to locate the required mask code. To view or modify details of an object mask, take the following steps: Double-click the required mask code. The Object Masks (dmcom0122s000) details session appears. Edit the mask description or default value, if required. If you enter the default mask value, use the pound sign (#) to represent a digit, and use an asterisk (*) to represent a character. If no mask configuration is defined for an active mask code, the default value specified in the respective active object mask will be used to generate the mask for the object attribute. To maintain mask configurations To maintain mask configurations, on the Object Data Management menu, double-click ODM Configuration > Object Masks > Mask Configuration. Alternatively, in the Object Masks (dmcom0522m000) session, click the mask code for which you want to maintain mask configurations. On the appropriate menu, click Mask Configuration. The Mask Configuration (dmcom0520m000) session appears, as shown in the following figure, which includes a list of all mask configurations that are defined for the mask code that appears in the Mask Code field: To create a new mask configuration for the displayed mask code, refer to To create a new mask configuration for a mask code. To list and create mask configurations for a different mask code, click Next Group and Previous Group, or click Find, to locate the required mask code. To create mask configurations for a mask code for which no mask configurations have yet been created, click New Group, and use the browse arrow to select the required mask code. To create a new mask configuration for a mask code To create a new mask configuration for a mask code, take the following steps: In the Mask Configuration (dmcom0520m000) session, make sure that the required mask code is displayed in the Mask Code field, as described in the previous section. On the File menu, click New. The New button is available, depending on the authorizations available for that role on the object that are listed in ODM Actions. The Mask Configuration (dmcom0120s000) details session appears, as shown in the following figure. The mask template segment fields in the lower part of the list will initially be empty. If multiple mask configurations can be set up for the mask code, the name of the attribute on which the mask is dependent appears in the Value Depend On field. Below this field, you will find an input field labeled with the name of the determining attribute. For example, if you define a mask configuration for the document ID, a field labeled document type will be present. You must set up a mask configuration for an attribute that can have multiple masks. In the field below the Value Depend On field, enter the value of the determining attribute for which the mask must be used. Define one or more mask template segments, with at least one generated format segment. Define each mask segment as follows: Select the segment type: Fixed Format Generated Format System Variable Reference Variable Enter the segment value as follows:
Segment type | How to enter the value
--- | ---
Fixed | Type a value, for example, DOC-.
Generated | Type a value, and include generated characters as follows: The pound sign (#) represents a digit. The asterisk (*) represents a letter.
System variable | Click the browse arrow to start the System Parameters (dmcom0125m000) session, and choose the required variable.
Reference variable | Click the browse arrow to start the Table Fields (ttadv4529m000) session, and choose the required variable.
Enter a separator, if required. You can enter any character in the separator field except for a period. Enter a description, if required. |