Contents
How to change page layout and content type?
Create an event receiver that checks whether the fields are selected / filled out and do the actual sending. Alter the layout page with the 2 new fields. Alter the content type with the 2 new fields. However, I am afraid of the complications for the rest of the site. For now, future uses of the page layout is not a concern, just the existing uses.
What happens if I change the content type of a list?
If you customize any inherited attributes of a list content type, and its parent site content type is updated, your customizations will be overwritten (unless you make your list content type read-only).
Why are custom content types not pushed out?
One of the more annoying aspects of custom content types is that if you change a content type once it has been deployed, the redeploy of the updated solution containing the content type will not push those changes out to existing lists that use that content type.
How to delete all pages of a content type?
Simply delete all page of the said content type, go to the page list of the publishing site, delete the columns of the content type, delete the content type, next time you publish it will redeploy the content type with updated fields.
Which is an example of a page layout?
Every page layout is associated with a content type, typically one of the content types in the Page Layout group. For example, the Article Page content type that is associated with the Article Page page layout, both of which are included in a publishing site.
How to create a custom SharePoint page layout?
“Parent Content Type:” is set to ‘Page’ These two settings are important else you won’t be able to use the content type in a custom the page layout (created through SharePoint Designer). Click OK and add the required columns to the content type as defined in Step 6 in my previous article.
Can a page layout be added to a master page?
A page layout and a master page must have the identical set of content placeholders for the page layout to render correctly. This is not a problem if you use Design Manager to create master pages and page layouts, because the correct set of content placeholders is added to every file when you create it.
If this is the issue you are having you could simply turn off this option in the web interface or add the new page layouts manually, but you could also consider implementing a feature receiver that automatically adds your custom page layouts to the list of available layouts. Thank you all for your answers.