Product Administration Guide > Configuration Constraint Template Reference >

Constrain Attribute Value Template


The Constrain Attribute Value template has the form:

[An attribute] [=] [a value]

The Constrain Attribute Value template sets the value of an attribute so that it cannot be overridden by the user during a configuration session. If you write a constraint that sets the attribute equal to a value, this has the same effect as setting the attribute value and saving the record in the Administration - Product screen, Customizable Product, Product Attributes view. By setting the comparison operator to other than equals (=), you can constrain the allowable ranges for numeric attribute values. For example you could write a constraint that constrains an attribute value to greater than 100. In this fashion you can use the Constrain Attribute Value template to validate user input for range-of-values attribute domains.

Depending on the data type of the attribute domain, the attribute value can be set to one of the enumerated types, to the value of a linked item, the value of another item's attribute, to a string, or to a number.

You can use this template to restrict attribute values based on conditions that occur during a configuration session. For example, you could write a constraint that restricts one attribute's value if the user chooses a specified value for another attribute.

This template cannot be used to constrain the attributes of customizable products that are components in a customizable product. For example, customizable product CP1 has as one of its components customizable product CP2. You cannot use this template to constrain the values of attributes in CP2.

If the product administrator has set the value of an attribute in the Product Attributes list, this value cannot be overridden by a configuration constraint, or by the Siebel Configurator engine.

Product Administration Guide Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.