Bookshelf Home | Contents | Index | PDF |
Siebel Object Interfaces Reference > Interfaces Reference > Business Component Methods > SetUserProperty MethodSets the value of a named business component user property. The user properties are similar to instance variables of a BusComp. SyntaxBusComp.SetUserProperty propertyName, newValue ReturnsUsageThe advantage of user properties is that they can be accessed from anywhere in the code (including from other applications through COM) using GetUserProperty. An instance variable, on the other hand, can be accessed only from within Siebel VB from the same object on which the variable is declared. The value of the property is reset every time you instantiate a new business component. NOTE: SetUserProperty does not interact directly with user properties defined in Siebel Tools. Used WithCOM Data Control, COM Data Server, Java Data Bean, Mobile Web Client Automation Server, Server Script ExampleThe following example is in Siebel VB: Sub BusComp_SetFieldValue (FieldName As String) The following is the equivalent example in Siebel eScript: function BusComp_SetFieldValue (FieldName) Related Topic |
Siebel Object Interfaces Reference | Copyright © 2008, Oracle. All rights reserved. | |