1

I can't rename a URL of a site (using the Site Settings>Title,Description and Icon) I get the list view threshold error. But I changed the list view threshold on my server settings already. None of my lists exceed 4000. Huh?

I tried renaming from Designer & the SharePoint Website.

enter image description here enter image description here

enter image description here

enter image description here

1
  • Could you also search in the ULS for that correlation id you've received and post all the lines related to that? One tool that can help you in that is SPLIT
    – Norbert
    Commented Jun 27, 2013 at 7:51

2 Answers 2

1

If SharePoint Designer doesn't work, maybe you shoult try doing this with PowerShell intead?

# Add PS Snapin if not loaded
$snapin = Get-PSSnapin | Where-Object {$_.Name -eq 'Microsoft.SharePoint.Powershell'} 
if ($snapin -eq $null) 
{    
    Write-Host "Loading SharePoint Powershell Snapin"    
    Add-PSSnapin "Microsoft.SharePoint.Powershell"  -EA SilentlyContinue
}

#Iterate all webs and print List URL
$SPWebApp = Get-SPWebApplication "http://mydomain.com/"

foreach ($SPSite in $SPWebApp.Sites)
{
    if ($SPSite -ne $null)
    {
        foreach ($SPWeb in $SPSite.AllWebs)
        {
            if ($SPWeb.url.Contains("http://mydomain.com/sites/myweb"))
            {
                $SPWeb.Name = "myNewName"
                $SPWeb.Title = "My New Name"
                $SPWeb.Update()

                if ($SPWeb -ne $null)
                {
                    $SPWeb.Dispose()
                }
            }
        }
    }

    if ($SPSite -ne $null)
    {
        $SPSite.Dispose()
    }
}
5
  • 1
    This piece of script does not rename the list, it renames one site. But you don't have to iterate through all webs of an SPSite object and compare the URL to get the one SPWeb you need. You can just do the following: $web = Get-SPWeb "http://mydomain.com/sites/myweb"
    – Norbert
    Commented Jun 27, 2013 at 7:49
  • 1
    @Norbert True, I thought it was renaming of the site that OP wanted by asking "I can't rename a URL of a site". And you're right, I don't have to iterate all sites for renaming just one. Just thought it would be easier if OP wanted to rename several sites
    – Benny Skogberg
    Commented Jun 27, 2013 at 8:06
  • I am sorry, it seems that I wasn't really paying attention and the OP indeed was asking about how to rename a site, not a list :( My mistake.
    – Norbert
    Commented Jun 27, 2013 at 8:16
  • @Norbert No worries, I'm not perfect either :)
    – Benny Skogberg
    Commented Jun 27, 2013 at 8:18
  • 1
    Powershell Yeah! Your the man. Thanks Guys. Oddities of Sharepoint!(Powershell did take a bit... had to wait)
    – Ben_Coding
    Commented Jul 1, 2013 at 20:40
0

For Reference This is what I used:

Start> Click Powershell Modules on Server

Run this script:

#Rename Site    
$SPWeb = Get-SPWeb "http://server/Prizm"        
$SPWeb.Name = "Prism"
$SPWeb.Update()

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.