I am working on an Enterprise wiki site collection inside SP 2013, currently when a user wants to create a new wiki page he will go through the following steps:-
- Enter the wiki page name, as follow:-
- Then he will be redirected to another page to enter the page content and edit the page name.
But I am facing some problems if the user edit the wiki page name after the redirect, where some users will get “unexpected exception”, so I am planning to remove the Page name field from the Enterprisewiki.aspx page layout, where I will remove the following code:-
<b class="ewiki-pagename-align">
<SharePoint:FieldLabel FieldName="FileLeafRef" runat="server"/>
</b>
<SharePoint:FileField id="PageNameInEditMode" CssClass="ewiki-pagename-align" FieldName="FileLeafRef" DisableInputFieldLabel="true" runat="server"/><br/>
And if the user wants to change the page name, he can edit the page properties as follow:-
So my question is if removing the Wiki page name field from the EnterPriseWiki.aspx page layout is valid approach that I can follow ? or it might cause some problems I am unaware of ?