What is the SPWeb.Name property for?
-
16-10-2019 - |
Pergunta
I'm wondering what use does the SPWeb.Name property have. Is it displayed anywhere?
Solução
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