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...
Sep 08, 2016
You don't necessarily need to do by Apps, if you are thinking in a provisioning solution where it's not required the participation of end users, you could write it using a Console App
- Brittany RutherfordSep 08, 2016Copper Contributor
Thank you Juan. So the console application will be using C# CSOM?
- Sep 08, 2016Here 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 - Sep 08, 2016Yes, C# and CSOM
- Brittany RutherfordSep 08, 2016Copper Contributor
and to do the deployment in product, I package the console application and take it to the production server? How do people handle these cases?