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...
Luis MaƱez
Sep 09, 2016MVP
I suggest that you create a PnP XML template (where you can define where the .master is, and page properties). Then, you can use the PnP provisioning framework to Apply the template, and that will Deploy and set your master page to the site. In order to Apply the template, you can use the existing PnP PowerShell commands (as other reply suggested).
More info:
https://github.com/OfficeDev/PnP-Provisioning-Schema
http://dev.office.com/blogs/introduction-to-office-365-dev-pnp-provisioning-engine
More info:
https://github.com/OfficeDev/PnP-Provisioning-Schema
http://dev.office.com/blogs/introduction-to-office-365-dev-pnp-provisioning-engine