Hey everyone,
I have a project that has a custom layout with custom fields (shocker). I can update simple custom fields just fine, however a handful of these fields are Picklists, of which I seemingly cannot assign values to through the API. I've tried strings, longs, Zoho User Ids, Picklist_ids, none of which seem to take.
Using the GetLayoutDetails, I see information like this:
- {\"cfid\":\"xxx401\",\"is_associated\":true,\"picklist_id\":\"xxx701\",\"sequence\":21,\"value\":\"TEST VALUE\"},
Which is think is linked up to a pick list like this:
- {\"is_associated\":true,\"is_removable\":true,\"is_encrypted\":false,\"is_custom_edit\":false,\"column_name\":\"UDF_CHAR16\",\"description\":\"\",\"is_editable\":true,\"is_default_field\":false,\"is_resolution\":false,\"display_name\":\"Existing Architects\",\"is_default\":false,\"table_name\":\"ProjCustomFieldsValue\",\"is_default_unassociated\":false,\"is_mandatable\":true,\"cfid\":\"xxx401\",\"is_editform_only\":false,\"is_pii\":false,\"field_type_integer\":2,\"data_type\":\"CHAR\",\"data_type_integer\":0,\"field_type\":\"picklist\"}
And I've tried to update the value in a few ways:
- ("UDF_CHAR16", xxx701) // using picklist id
- ("UDF_CHAR16", "xxx701")
- ("UDF_CHAR16", "TEST VALUE") // using picklist value
I can't seem to find documentation about picklists and what they're expecting to get via the API, apart from them being a custom field. Picklists seem to have a cfid, picklistid, sequence, value, and is_associated fields, but I don't understand how they're associated with other values.
Same with user_picklists.
What am I missing here? Thanks,
Lee