Bookshelf Home | Contents | Index | PDF |
Siebel Product Administration Guide > Siebel Configurator Scripts > Siebel Configurator Script Events and Methods > Cfg_AttributeChanged EventAfter a user request is processed and the Siebel Configurator engine computes a new solution, this event is called for the product root. The event returns a property set containing all the products whose attributes have changed. This event is also called if the user changes an item's attribute and the Request Conflict dialog box displays:
In the selection pages for a customizable product, this event is called when the user enters or changes an attribute value. SyntaxCfg_AttributeChanged (ChangedAttribute as Property Set) The ChangedAttribute argument is passed as type PropertySet. This is a named XML element: <AttName = "attribute name" OldVal= "old value" The properties of this XML element are defined in the following table: Several Siebel API-related methods are needed to read data from the property set:
ReturnsUsageUse this event to determine what changes have been made to product attributes in the solution and to submit additional requests as needed. For example, you could track the attributes selected for a product and submit requests based on them. ExampleThe following example, writes to a file the item name, the old attribute value, and the new attribute value of all the items whose attribute values change in each solution. { var id = ChangedAttribute.GetType(); var nCnt = ChangedAttribute.GetChildCount(); for ( var i = 0; i<nCnt; i++ ) { |
Siebel Product Administration Guide | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |