Unable to update the page layout for our enterprise wiki pages using sharepoint workflow 2013
Question
I have a SharePoint online enterprise wiki site collection. and i have provided a newer pagelayout and new content type. but i do not want to update all the wiki pages at-once. so i tried to create a SP 2013 workflow which runs on item update, to check if the page layout does not have the new page layout and update the page layout accordingly.
but i faced 2 issues:-
- i can not search for the Page Layout inside the If statement. as it does not allow to reference a page layout using the name.
- inside the Set item, the Page Layout is not available, as follow:-
Solution
OOTB SharePoint Designer Workflow doesn't give those options to update the page layout.
If you want to update the content type using MS flow, refer this link.
Other Approach:
Change Page Layout Using CSOM With PowerShell in SharePoint Online
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange