Skip to content

Updating Multi-Select fields is currently not supported by the Box SDK #592

@stuart-erskine

Description

@stuart-erskine

Description of the Issue

I have run into some issues using the Box SDK to update the metadata of fields that are new multi-select values. I can retrieve them easily enough.
I can not seem to find a feature on the Metadata object that allows you to set the field as directed in the link below. I have looked through the documentation and there are no examples I could find.

There seems to be no way to set the value of a path to a JsonArray (or array of strings) on the Metadata class. I have upgraded my Java version of the SDK to 2.17.0

Steps to Reproduce

This is best done with a unit test.
Create a metadata template on box with a multiselect field.
Assign the metadata to a file on box.
Create a unit test that will retrieve the metadata from the file.
Attempt to change the field using Jave on the Metadata class instance returned from box.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAdded to issues that describes enhancements

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions