Forum Discussion
Brittany Rutherford
Sep 08, 2016Copper Contributor
Deploy and set the current site's master page
I have an existing project built as a farm solution with 2 projects. I want to start switching into the new techniques of doing it. I want to deploy a master page and set is as the current site’s...
Brittany Rutherford
Sep 08, 2016Copper Contributor
Thank you Juan. So the console application will be using C# CSOM?
Sep 08, 2016
Here you are the CSOM code to set the master page...it should also work in Office 365, but remember that it's not advisable to deploy and use custom master pages in SPO in Office 365
http://sharepoint.stackexchange.com/questions/130812/how-to-assign-masterpage-via-csom
http://sharepoint.stackexchange.com/questions/130812/how-to-assign-masterpage-via-csom