cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

SharePoint List - Choice Column (Allow users to manually add text) REST API

Hi I was wondering if anybody knows the code to turn the following option on using REST API when making Lists in SharePoint:

 

Capture1.JPG

Here is the method I am using to create the  field in the list:

 

Capture2.JPG

 

Thanks

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Super User
Super User

Hi @Anonymous,

 

Can you try this for the body of your request? I have added the FillInChoice property.

 

 

{
"__metadata": {
"type": "SP.FieldChoice"
},
"Title": "GroupNavigation3",
"FieldTypeKind": 6,
"FillInChoice": true,
"Required": true,
"EnforceUniqueValues": "false",
"StaticName": "GroupNavigation3",
"Choices": { 'results': ['N/A'] }
}

 

 

View solution in original post

2 REPLIES 2
Expiscornovus
Super User
Super User

Hi @Anonymous,

 

Can you try this for the body of your request? I have added the FillInChoice property.

 

 

{
"__metadata": {
"type": "SP.FieldChoice"
},
"Title": "GroupNavigation3",
"FieldTypeKind": 6,
"FillInChoice": true,
"Required": true,
"EnforceUniqueValues": "false",
"StaticName": "GroupNavigation3",
"Choices": { 'results': ['N/A'] }
}

 

 

View solution in original post

Anonymous
Not applicable

Your help is spot on as always thanks a bunch 🙂

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,080)