Hi all,
I am creating a flow to create a new SharePoint list via http request.
This works also so far quite well. Only at one point I do not get further.
I create a column for people and groups and want to prevent the selection of groups.
Despite a long search I have not found anything, how I can deactivate the checkbox via HTTP request.
(here in the picture in German).
Does anyone have an idea ?
Regards
Herb
Solved! Go to Solution.
@HerbAuster i understand that you could be using REST API to create people and group field using Send HTTP Request to SharePoint action. In json you need to set value for "SelectionMode" to 0, to allow only users in the field value, see below screenshot
Below is the json payload:
{
'__metadata': { 'type': 'SP.FieldUser' },
'Title': 'TestPersonField',
'FieldTypeKind': 20,
'SelectionMode':0
}
@HerbAuster i understand that you could be using REST API to create people and group field using Send HTTP Request to SharePoint action. In json you need to set value for "SelectionMode" to 0, to allow only users in the field value, see below screenshot
Below is the json payload:
{
'__metadata': { 'type': 'SP.FieldUser' },
'Title': 'TestPersonField',
'FieldTypeKind': 20,
'SelectionMode':0
}
Hi Anna,
great, thank you, that's how it works.
Best Regards
Herb