Skip to content

Instantly share code, notes, and snippets.

Avatar

Dennis expiscornovus

View GitHub Profile
View AllpropertiesSelectGroupId
_api/web/allproperties?$select=GroupId
View GroupIdFromRESTAPI
body('Send_an_HTTP_request_to_SharePoint')['GroupId']
View fieldNamesArray
{
"fieldNames": ["Title"]
}
View ReorderFieldsContentType
_api/web/lists/getByTitle('@{variables('ListName')}')/contentTypes('@{variables('ContentTypeID')}')/ReorderFields
View ContentTypeId
body('Send_an_HTTP_request_to_SharePoint_-_ContentTypeID')['value'][0]['StringId']
@expiscornovus
expiscornovus / RetrieveAssociatedListContentType
Created Sep 22, 2022
Retrieve Associated List Content Type
View RetrieveAssociatedListContentType
_api/web/lists/getByTitle('@{variables('ListName')}')/contentTypes?$filter=name eq 'Item'&$select=StringId
@expiscornovus
expiscornovus / UpdateScopePropertyToRecursive
Created Sep 16, 2022
Update Scope Property To Recursive
View UpdateScopePropertyToRecursive
{
"__metadata": { "type": "SP.View"},
"Scope": 1
}
View GetViewById
_api/web/lists/getbytitle('@{variables('LibraryName')}')/Views/getById('@{variables('ViewId')}')
View POSTPATCHHeaders
{
"Accept": "application/json;odata=verbose",
"Content-Type": "application/json;odata=verbose",
"If-Match": "*",
"X-HTTP-Method": "PATCH"
}
@expiscornovus
expiscornovus / ExportMembersCSVFileName
Created Sep 10, 2022
Export Members CSV File Name
View ExportMembersCSVFileName
ExportMembersOfNestedGroups_@{utcNow('ddMMyyyyHHmmss')}.csv