![]() |
You can validate the input for attributes for Manufacturing Hub objects using the Extended Property Page. It is also possible to follow a particular format. If you gives an invalid value for an attribute in Property page it should show an error message. If the attribute is not a valid value, the saving of the attribute will not be allowed. |
Validation Pattern Support in ConfigurationTwo properties "Validation Pattern" and "Validation Pattern
Description" for attributes are available in the DELMIA Process Engineer
(DPE) configuration tool. This property is valid only for attributes of
data type string and of control type edit. You can enter a value for the
attribute properties "Validation Pattern". This value will be the
Validation Pattern against which the value input by you for that
attribute in the property page will be validated. The string specified
for "Validation Pattern Description" property describes a typical values
which conforms to the validation pattern. Disable the Validation Pattern in DPEThe attributes property Validation Pattern in configuration tool must have an empty value. By default all attributes have empty value for Validation Pattern and hence no check is done by default. Example, Attribute A has data type string, control type edit, and
Validation Pattern has the value ^ICS[0-9]{3}i$. The Validation Pattern
attribute is displayed in property page. Disable the Validation Pattern in DPMSet the environment variable DLM_MHI_READ_ONLY_REGEXP_ATTR to True, the
attributes configured in DPE to use validation pattern, will be
displayed as read only in the Property Page/Extended Property Panel. Limitations
|