-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: How to update list item's multichoice field? #4831
Comments
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible. |
If your list name is "MyList", the type should be type: "SP.Data.MyListListItem" Here is a demo to create item with multiple choicefield with Rest API for your reference:
|
and if memory serves me well, you can see that "type" value if you call: |
Thanks Andrew, actually my list name is different and I am using the correct one which I got with the help of I am using Python sharePoint online library -Office365-REST-Python-Client to create new list item. I am able to successfully create new list. Only when I try to create new list with Multi-choice field, I receive an error Seems like OData stopped supporting this. Note: Have already tried like I've already raised the issue on library's Github page here |
I've tried Jerry. Error is It seems like problem is with OData. When do we get this error? On what scenario will this be thrown? |
You can test with JavaScript firstly, as I can't reproduce the error you are meeting in my side. Then migrate to Python. |
I am not much familiar with that.... I can see your code above, but doesn't have authentication part. Can you share complete example to test or if you can share a link that would be helpful |
My code snippet above is a complete example.... |
Closing issue as "answered". If you encounter similar issue(s), please open up a NEW issue. Thank you. |
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues |
I can create list item through REST API by using documentation. But, when I try to create list item with Multichoice field,
On running with above payload, receiving An open collection property 'Multichoicefield' was found. In OData, open collection properties are not supported.", "400 Client Error: Bad Request for url:
Can you provide example of how to create?
The text was updated successfully, but these errors were encountered: