Well for beginners, Server Object Model(SOM) is used for programming in SharePoint when end user needs a custom solution which is not inbuilt (OOTB) in SharePoint. SOM is basically used to access the objects of SharePoint server for development of customized solution, according to the requirement of the project. It is used to access the objects like farm, server, site collection, sites, lists and libraries. Previous version in MOSS 2007 it was just called an Object Model, but in SharePoint 2010 new model introduced which is Client Object Model, so in that perspective it is called as Server Object model.
Note: The drawback of this model is that the code should run on the server only where SharePoint is installed not on client side.
There are many classes, but for now please have a look and familiarize yourself with the following basic classes in the SharePoint object model:
Note: The drawback of this model is that the code should run on the server only where SharePoint is installed not on client side.
There are many classes, but for now please have a look and familiarize yourself with the following basic classes in the SharePoint object model:
- SPFarm
- SPWebApplication
- SPSite
- SPWeb
- SPList
- SPListItem
- SPDocumentLibrary
No comments:
Post a Comment