Tagged Questions
3
votes
1answer
155 views
How can I update a publishing page's page layout via PowerShell?
I have a few publishing pages that need a page layout change. The layout includes a Content Editor Web Part pointed to an html file in the site assets folder. The layout changes but the Web Part ...
0
votes
1answer
189 views
How to move content within fields in a page layout?
I'm working on a requirement where I'm adding a few fields in an already existing Page Layout and also renaming all the fields. After adding the fields via code,I want to move content within fields ...
2
votes
1answer
158 views
Is it possible to use powershell to change the content type of a page layout after its been uploaded to a masterpage gallery?
Im trying to automate as much of the upgrade I am working on and one of the manual steps is to change the page layout of 5 root webs of site collections, each of which has to have this new page layout ...
3
votes
1answer
1k views
Possible to set the default page layout for a site using Powershell?
I have a bunch of sites in which I would like to change the default Page Layout.
Is there a way to set this to a custom Page Layout using powershell? (The page layout is already on all the sites)
...
2
votes
3answers
2k views
How to apply new page layout to all existing pages in a site?
I really need your help.
I've created a new page layout in SharePoint Designer 2010 and I want to apply it to all existing pages in a site. Another thing to note, some subsites and pages use ...