2

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

  • 1
    With the analysis feature of Reflector you'll find quite a few uses. – Alex Angas Nov 20 '09 at 9:07
6

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://mydomainfoo.com/mynewsite : the SPWeb.Name in this instance is "mynewsite"

Hope this helps

Stuart

  • 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

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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