Posts

ContentPlaceHolders and SharePoint 2013 Page Layouts

Having problems today working with overriding ContentPlaceHolders in the brave new world of HTML and Master Pages/Page Layouts. Firstly how to add the content place holder into the Master Page into a place that SharePoint will utilise it and not put it into the bottom of the page. To do this you need to add the following to the HTML Master Page in the HTML where you want the PlaceHolder to sit: <!--CS: Start PlaceHolderUtilityContent Snippet--> <!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>--> <!--MS:<SharePoint:AjaxDelta ID="DeltaPlaceHolderUtilityContent" runat="server">--> <!--MS:<asp:ContentPlaceHolder ID="PlaceHolderUtilityContent" runat="server">--> <!--ME:</asp:ContentPlaceHolder>--&g