Could anybody explain the difference between SP.Web and SP.Site entities? As I understand SP.Site contains different SP.Webs, that represent SiteCollections. Is it correct? Could you please share any links for better understanding this approach?
Closing a site indicates that the site is no longer in use and can eventually be deleted according to a schedule. A closed site does not appear in places like Delve, but users can still modify the closed site and its content by using the URL to reach the site.
Foundationally, SharePoint has two different types of sites in the modern experience - communication sites and team sites. Each type of site has it's own set of templates that contain pre-populated content, pages, and web parts that can be customized to fit the needs of your organization.
SharePoint Web Parts are segmental components that shape the basic building block of a page on SharePoint sites. Web parts can help customize intranet content, layout and a set of adjustable scripts in certain pages via the web interface.
SharePoint Site is a website that contains different SharePoint Web Parts like Document Library, Calendar, Task List, etc. SharePoint sites can have 1 or more pages to display content to the user. SharePoint Site Collection, just as the name implies, is a collection of SharePoint Sites.
Basically:
UI Term API Class Name
------- --------------
Site Collection SPSite
Site SPWeb
For further information, see the following:
SPWeb.Webs, Site vs SubSite
Getting my head round spsite vs spweb vs anything else
SPSite vs SPWeb, Site Collection vs Site
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With