Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm wondering what use does the SPWeb.Name property have. Is it displayed anywhere?

share|improve this question
1  
With the analysis feature of Reflector you'll find quite a few uses. –  Alex Angas Nov 20 '09 at 9:07

1 Answer 1

up vote 5 down vote accepted

Although this may not be a definitive list but I can tell you it is definitly used in:

The list of Sites on the /_layouts/mngsubwebs.aspx page (Site Settings >> Sites and Workspaces)

The site settings title and description page /_layouts/prjsetng.aspx (Site Settings >> Title, Description and Icon) - In particular it is used when modifying and creating sub web's

It is also used in search alerts too - it is more like the URL name of the site rather than the textual display name of the site, so for example you can have a SPWeb.Title of "My New Site" but the URL will be http://mydomain.com/mynewsite : the SPWeb.Name in this instance is "mynewsite"

Hope this helps

Stuart

share|improve this answer
    
So it can be seen as a kind of internal name? –  Flo Nov 20 '09 at 8:43
    
Yes exactly, but with the additional use of being the name that is used in the URL. –  Anonymous Nov 20 '09 at 16:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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