Title: SharePoint 2013 Server Object Model Tutorial Videos for Beginner
1CATCH EXPERTS
https//www.catchexperts.com
http//www.courseing.com
2SharePoint 2013 Server Object Model Tutorial
Videos for Beginner by
3Highlights
- Why and When to use?
- Pros Cos of using SOM
- Creating first LIST Programmatically
- Inserting New Records in LIST
- Reading Updating and Deleting Items from List
4Why and When to use?
- Server Object Model(SOM) useful to create timer
job services which works in the background and
server side utility applications. - It is and extensive API of SharePoint 2013.
- It get executed in the server side and provides
set of classes for representing, manipulating
SharePoint objects. - SPFarm, SPSite, SPWeb, SPList, SPListItem are
various SharePoint 2013 server object models. - Each object model class maintains properties
Methods to represent object.
5Pros Cos of using SOM
- Cons of SOM
- It can use only C or Visual Basic studio to
commune with SharePoint Lists and library
objects. - SharePoint must be installed on the computer
where the development activities are taking
place. - This model will use Microsoft.SharePoint.DLL and
must be deployed on same farm. - Pros of SOM
- simpler to use
- Does not include the complexities loading data
asynchronous.
6Creating first LIST Programmatically
- Creating Lists within a SharePoint will be done
using two different methods. - In the first Method, SharePoint List gets created
using an existing custom List Template present
within the List Template Gallery. - In the second Method, blank SharePoint List gets
generated depending on the List template Type
specified during the creation process.
7Creating first LIST Programmatically
Source http//burnignorance.com/
8Inserting New Records in LIST
- Inserting new records in list is as follows
- Click the Insert link in the lower left corner of
the Data View in list. - Now a record with empty form fields appears.
- In that empty fields you can insert a new
records. - Enter the data for that record.
- click save. Thats it, Insertion of new records
in list is done.
9Reading Updating and Deleting Items from LIST,
Delete LIST Instance
- To read the items from list, programming code
should get a reference to the website where list
is present. - Then should have a reference to the list itself,
reference to the list item, and finally a
reference to the specific field. - Update List Item of SharePoint Designer uses to
update an existing item in a SharePoint list or a
SharePoint document library. - Update List Item contains three sections to
update list items.
10Reading Updating and Deleting Items from List
- The three sections for updating list items are as
follows - A drop down list box, useful to select the item
that has to be updated. - A list box, in this users can add, edit, and
remove the values of the fields of item. - In third section users can state a field name and
value that can be used to identify the item that
should be updated. - To delete a list item click the delete link to
the left of the record that you want to delete.
11Feedback
Like It ? Hate It?
We would love to hear from you whatever you think
about the course.
Click HERE to share what you think!
12Thank you
Thank You for Watching SharePoint 2013 Server
Object Model Tutorial Videos for Beginner by
http//www.courseing.com