Question

I've created a webpartpage and for some reason the title of the page is set to the filename of the page, not the Title column.

Has anyone else seen this behaviour and know of a fix?

Was it helpful?

Solution

I don't have an answer for why this is occurring so I ended up implementing a workaround. A couple of limitations:

  1. SharePoint 2013 Online (i.e. No SPD)
  2. No deployed code

My workaround makes use of jQuery

function SetTitle (newTitle){
    var $title = $('#pageTitle > span > span');

    if ($title){
        $title.text(newTitle);       // attempt to set the SharePoint page title
        document.title = newTitle;   // change the Window/Tab title
    }
}
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top