Editable title bar in sharepoint wikipage

I have a wikipage defined on site pages. And when I click Edit Page → Title Bar Properties, nothing happens. I am trying two things:

link one , link two

My site page has the following:

<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
    <SharePoint:EncodedLiteral runat="server" text="my title" EncodeMethod="HtmlEncode"/> - 
    <SharePoint:ProjectProperty Property="Title" runat="server"/>
</asp:Content>

      

My name is now "my name". But I want to allow admins to edit this title via the Title Bar Properties button and not via the sharepoint designer. Any ideas how to do this? Thank.

+3


source to share


1 answer


You need to insert a link SharePoint:ListItemProperty

to the title property instead of the EncodedLiteral (static in this case).

So, in your case, you have to change your Wiki page template:



<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
    <SharePoint:ListItemProperty Property="Title" runat="server" />
</asp:Content>

      

I wrote an article about this a while ago on the TechNet wiki.

0


source







All Articles