Tuesday, October 1, 2013

How to change Title of page in Site Pages library?

I don't think it's possible (or perhaps not supported from a feature perspective). If you have a look at the page item using PowerShell, most of the fields of a site page are ReadOnly. I.e. Title and DisplayName are readonly.



$ts = Get-SPWeb http://devmy101/ts
$p = $ts.Lists["Site Pages"]
$p | FT Title
$i = $p.Items[1]
$i.Fields | FT Title,ReadOnly
$i.ContentType | FT Name
#Returns: Wiki Page





Regards, Matthew

MCPD | MCITP

My Blog

Please remember to click "Mark As Answer" if a post solves your problem or "Vote As Helpful" if it was useful.



See my webpart on the TechNet Gallery that allows administrative users to upload, crop and format user profile photos. Check it out here: Upload and Crop User Profile Photos


No comments:

Post a Comment