dimanche 1 mars 2015

SharePoint Online 2013 - How to upload a new page layout into master page gallery using powershell



I have created a new custom page layout with custom content type using SharePoint designer 2013 and downloaded a copy of it. Now I have to upload that to another environment using PowerShell.


The written PowerShell script, uploads the the file to master page gallery, but the content type associated with the file is not shown in master page gallery list page. I have to manually edit the properties such as content type and associated content type. Then it will be shown on the list page. Is there a specific way to upload a page layout into master page gallery?


Could you please help me.








0 commentaires:

Enregistrer un commentaire