Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
In SharePoint 2013, replace a generic page title with the the document.title, which includes the view name
<script type="text/javascript">
// Replace default page title with document.title, which is based on view name
document.getElementById("DeltaPlaceHolderPageTitleInTitleArea").innerHTML = document.title;

jamesnotjim commented Aug 30, 2016


Drop this code into a Script Editor web part on the view page in question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment