Bookshelf Home | Contents | Index | PDF |
Siebel Object Interfaces Reference > Interfaces Reference > Business Component Methods > GetPicklistBusComp MethodGetPicklistBusComp returns the pick business component associated with the specified field in the current business component. SyntaxBusComp.GetPicklistBusComp(FieldName) ReturnsThe pick business component of the current business component and identified field UsageThe returned pick business component can be used to operate on the picklist. The GetPickListBusComp should be destroyed after use by using the Nothing function. NOTE: When a record is picked on a constrained picklist using the GetPickListBusComp and Pick methods, the constraint is active. Therefore, the retrieved picklist business component contains only those records that fulfill the constraint. To pick a value from a picklist in Siebel VB
Used WithCOM Data Control, COM Data Server, Java Data Bean, Mobile Web Client Automation Server, Server Script ExampleThe following example is in Siebel eScript: if (this.GetFieldValue("City") == "San Mateo") The following example is for Java Data Bean. It selects a product from a picklist. Sieb_busObject = Sieb_dataBean.getBusObject("Service Request"); SiebelBusComp productBusComp = Sieb_busComp.getPicklistBusComp("Product"); catch (SiebelException e) The following example is in Siebel VB: If Me.GetFieldValue("City") = "San Mateo" Then See Also |
Siebel Object Interfaces Reference |