SetByteValue Method for a Property Set
The SetByteValue method sets the value of a property set. This method does not return any information.
Format
oPropSet.setByteValue(value)
The following table describes the arguments for the SetByteValue method.
Argument | Description |
---|---|
value |
The byte array that contains the value that Siebel CRM must set. |
Used With
Siebel Java Data Bean
Examples
The following example uses a binary value as input and then provides a binary output. For more information, see GetByteValue Method for a Property Set:
SiebelPropertySet input = new SiebelPropertySet();
SiebelPropertySet output = new SiebelPropertySet();
input.setProperty("ProcessName", "LMS3 Jason");
// XML to send
String str="<?xml version=\"1.0\" encoding=\"UTF8\"
?><GetCommunicationDataInput><MemberID>20048963</MemberID></
GetCommunicationDataInput>";
// convert string to byte array
byte [] bvalue = new String(str).getBytes();
input.setByteValue(bvalue);
businessService.invokeMethod("RunProcess",input,output);
// use getByteValue to return the value and put it in a String
String out2 = new String (output.getByteValue());
System.out.println(out2);