JAVA SDK - Update a Multi Picklist

Hello,

I am having trouble updating the value of a multi-picklist in my sheet. I am using the Java SDK smartsheet-sdk-java 3.1.1, on Java 17. I am setting the column value with the following code:

Cell c = new Cell(column.getId());

c.setObjectValue(new MultiPicklistObjectValue(List.of("All", "Some", "None")));

My column I am updating looks like:

{

"title": "Programming",

"type": "MULTI_PICKLIST",

"options": [

"All",

"Some",

"None"]

}

All my other columns update fine, but I can't figure out how to use this SDK to update a Multi Picklist. Any help is much appreciated!

Answers