Siebel Object Interfaces Reference > Interfaces Reference > Property Set Methods >

SetProperty Method


This method assigns a data value to a property in a property set.

Syntax

oPropSet.SetProperty propName, propValue

Argument
Description

propName

A string representing the name of a property

propValue

A string representing the value to be assigned to propName

Returns

Not applicable

Used With

Browser Script, COM Data Control, COM Data Server, Java Data Bean, Mobile/Dedicated Web Client Automation Server, Server Script, Web Client Automation Server

Example

This Siebel VB fragment makes use of the business service "Shipping Engine," which is illustrated in Service_PreInvokeMethod Event.

   Dim Svc As Service
   Dim Inputs As PropertySet, Outputs As PropertySet
   Set Svc = theApplication.GetService("Shipping Engine")
   Set Inputs = theApplication.NewPropertySet()

   With Inputs
      .SetProperty "Shipping Company", "Airline"
      .SetProperty "Weight", "12"
      .SetProperty "Total Dimensions", "48"
      .SetProperty "Shipping Method", "Second-Day Air"
   End With   

See Also

GetProperty Method

Siebel Object Interfaces Reference