function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kminevkminev 

Select multiple pick list values via the Force API

HI,

 

I need to be able to select pick list values and create an object with these pick list value via th e API in my flex component.

 

For example:

 

var myObj:SObject("MyCustomObj__c");

myObj.MyPickList__c = {Option1, Option2, Option6};

apex.create(myObj);

 

 

Any ideas as to in what format I need to pass my pick list value to the pick list field in my SObject.

 

Any help will be appriciated.

 

Thanks.

Best Answer chosen by Admin (Salesforce Developers) 
tantotanto

Semi-colon seperated list will work       

'; '

All Answers

tantotanto

Semi-colon seperated list will work       

'; '

This was selected as the best answer
kminevkminev

Thanks this did the trick.