Multiple values on a single field for creating records with API
AnsweredWhen using the Create Object Records API call with JSON for creating new object records, how do you specify multiple values of a single field?
e.g. If data type for a field is multi-value picklist
0
-
Official comment
To create an object record and set multiple values on a multi-value picklist, you can place the values inside of a string, separated by commas.
json example:
[
{
"name__v": "Test Object multi-value picklist",
"picklist_a__c": "value_a1__c,value_a2__c"
}
]
Please sign in to leave a comment.
Comments
1 comment