Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Siebel Product Administration Guide > Siebel Configurator Scripts > Siebel Configurator Script Events and Methods > SetAttribute MethodThis method sets the value of an attribute for an item in the customizable product. This method can also be used to set attribute values for attributes of the customizable product. If multiple instances of an item have the same path, the Siebel Configurator engine randomly picks one instance and changes its attribute values. Users can reference a particular instance of a product by using $Int.[<id>] to specify the integration id in the product path. SyntaxSetAttribute (ObjPath, AttName, AttVal) as Integer For LOV domains, the AttValue must be one of the values in the list of values. Validation expressions defined for LOV domains are ignored. For range of value domains, the AttValue must be within the domain defined by the validation expression. ItemsCan be used only for component products within the customizable product. ReturnsReturns 1 if setting the attribute was successful. Returns 0 if setting the attribute failed. ExampleFor an example of using SetAttribute, see About Product Path in Siebel Configurator Scripts. |
![]() ![]() |
Siebel Product Administration Guide | Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |