Forum Discussion
Untuvakana
Jun 03, 2021Copper Contributor
Creating a flow to change promoted state of a page
I want to create a flow using power automate that changes site pages promotion stage from 2 to 0 every month if page doesn't consist certain name. This is so pages doesn't show in news feed after cer...
Untuvakana
Jun 07, 2021Copper Contributor
ekarim
Dec 24, 2021Copper Contributor
This was the only way I could update the PromotedState field:
_api/web/lists/GetByTitle('Site Pages')/items(###)/validateUpdateListItem
{
"formValues": [
{
"FieldName": "PromotedState",
"FieldValue": "2"
}
]
}
Ellis