+ Start a Discussion
LacevedoLacevedo 

How Picklist Fields save values?

I want to create a new case thru the sforce Api and I need to know how to insert multiple values on picklist field.

 

Somebody could help me.

geoffbeaumontgeoffbeaumont
I too need to save multiple values from a picklist into a field. The field in question is expecting a string but i can't find a definition for the format of the string (csv, xml etc).
 
Any suggestions?
ScotScot

If it is a multi-value picklist, the way you set the value is to submit a string with semi-colon delimited values. For example, if the picklist values are:

     AA
     BB
     CC
     DD

Then setting the field to:  "AA;BB" gives you those two values.