Thursday, 13 March 2014

How to edit a Master Page and Layout Page in SharePoint 2013


You probably would have seen a lot of examples about Creating Custom Master Page and Layout Page in SharePoint 2013, but in this post, I will give you some very important tips that you need to know before you start creating these custom pages.
When editing a Master Page -
When you try to modify a SharePoint 2013 Master Page, you must edit the Master Page’s .html file only. Once saved, the associated master page file gets updated automatically.
So don’t attempt to modify the .master as it should be perfectly in sync with its html counterpart.


When editing a Layout Page -
When you Create a Custom Layout Page using Design Manager, two files – .aspx and .html gets Created in the Master page gallery.

If you need to make any Changes to the Layout page, make sure you download the .html file of your layout page and make Changes to it. The .aspx page will get updated automatically.

Also, don't forget to Publish the .html or .aspx as a major version.

Ads by Google

No comments:

Post a Comment