I have an intranet publishing portal with web-templates and custom page layout. I get requirement to update page layouts and the way I have been pushing any changes to page layout is
- Updating elements manifest file to include "ReplaceContent=True"
- Write a feature upgrade and ensure the page layout is included Run the feature
- upgrade across the farm so that all sites using this page layout will effectively have the new page layout.
Below is the manifest file for reference.
This approach has been working for me till now. However, I am not sure if this ReplaceContent tag causes any issue with Ghosting since I am seeing a lot new pages going as UnGhosted.
Is there any best practise I can refer as to how we can upgrade the page layouts so the existing pages using that layout also see changes without any side-effects?
Cheers, Sharath