If you’re looking to get started in SharePoint development, there’s no better place to start than our SharePoint development tutorials. Our tutorials are designed for beginners and intermediates alike and will teach you everything you need to know about developing in SharePoint.
All the tutorials have been executed by myself, and the code will work as explained, but if you still have any issues, feel free to let me know in the comment box.
To become a SharePoint developer, check out the below sharepoint development tutorials and sharepoint development examples.
SharePoint Development Tutorials
To learn SharePoint development, you need to know both the server object model things and the client object model things. In fact, you should know the three types of development models in SharePoint.
1. SharePoint Server Object Model: This code will run on the SharePoint server, so we cannot use it in SharePoint Online. We can use the server object model in SharePoint On-premises versions like SharePoint server subscription editions, SharePoint server 2019, SharePoint server 2016/2013, etc.
2. SharePoint client-object model: This we can use in both SharePoint Online and in SharePoint on-premises versions. Here, we can use CSOM, JSOM, Rest API, etc.
3. SharePoint Framework (SPFx): SPFx is the modern SharePoint development model, and we can develop using open-source tools and technologies in SharePoint Online as well as SharePoint on-premises versions. This is the current and future model of development. For all the modern SharePoint sites, we are using the SPFx development model.
In the case of SharePoint add-in or apps development, check out an article on how to create a provider-hosted app in SharePoint online.
SharePoint server object model tutorials
Here are the SharePoint server object model tutorials you can run in your SharePoint on-premises versions, not in SharePoint Online.
Tutorials | Descriptions |
---|---|
SharePoint Server Object Model Tutorial | This tutorial explains how to work with the SharePoint server object model in SharePoint On-premise versions. |
SharePoint visual web part | Learn how to create and deploy a visual web part in SharePoint. |
Create a SharePoint event receiver using Visual Studio | Learn how to create an event receiver in SharePoint using Visual Studio. |
SharePoint client-side development tutorials
If you want to start with SharePoint client-side development, these tutorials are for you. I will cover all the different client object model tutorials in SharePoint.
1. SharePoint CSOM (C#) Object Model Tutorials
In this case, you will use the C# code using the below DLLs:
- Microsoft.SharePoint.Client.dll
- Microsoft.SharePoint.Client.Runtime.dll
To work with CSOM in SharePoint, you must first download and install the SharePoint Online Client Components SDK in the client machine where you want to connect to your SharePoint Online site. This provides you with all the tools and assemblies required for SharePoint development. Alternatively, you can also use the NuGet packages in Visual Studio.
Tutorials | Descriptions |
---|---|
CSOM SharePoint Online | Learn how to work with CSOM in SharePoint Online. |
PnP CSOM SharePoint Examples | Check out a few examples of how to use PnP CSOM in SharePoint Online. |
Get SharePoint list items programmatically | Learn how to get items from SharePoint list programmatically. |
CAML Query Builder SharePoint Online | Learn how to use CAML query builder in SharePoint Online. |
The remote server returned an error (401) Unauthorized in SharePoint | This tutorial explains how to fix The remote server returned an error (401) Unauthorized error in SharePoint. |
The file is not checked out. You must first check out this document before making changes in SharePoint. | Learn how to fix the error “The file is not checked out. You must first check out this document before making changes in SharePoint.” |
SharePoint Server relative urls must start with SPWeb.ServerRelativeUrl | Learn how to fix this error in CSOM “SharePoint Server relative urls must start with SPWeb.ServerRelativeUrl” |
Column does not exist. it may have been deleted by another user error in SharePoint Online | Learn how to fix the CSOM error, “Column does not exist. it may have been deleted by another user error in SharePoint Online”. |
After nine attempts there was a problem downloading the following file which is required to continue visual studio | Learn how to fix an error “After nine attempts there was a problem downloading the following file which is required to continue visual studio”. |
Could not load file or assembly ‘Microsoft.AI.Web’ or one of its dependencies. The system cannot find the file specified. | Learn how to fix the error “Could not load file or assembly ‘Microsoft.AI.Web’ or one of its dependencies. The system cannot find the file specified.” |
The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested. | This tutorial explains how to fix the error “the collection has not been initialized. it has not been requested, or the request has not been executed. it may need to be explicitly requested.” that comes in SharePoint CSOM. |
Add-Type : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information | This tutorial explains how to fix the error “add-type : unable to load one or more of the requested types. retrieve the loaderexceptions property for more information.” |
2. SharePoint JavaScript Object Model (JSOM) Tutorials
If you are still using classic SharePoint sites, then you can use the JavaScript object model code by using the script editor or content editor web part. Here is the list of JSOM SharePoint tutorials:
Tutorials | Descriptions |
---|---|
jsom SharePoint | Learn how to start with JSOM in SharePoint. |
SharePoint javascript examples | Check out a list of SharePoint JavaScript examples. |
Bind current date to date picker control using jQuery in SharePoint | Learn how to bind the current date to a jQuery date picker in SharePoint. |
CRUD Operations using JSOM in SharePoint | Learn how to do CRUD operations using JSOM in SharePoint. |
Display SharePoint list data in HTML table using javascript | Learn how to display SharePoint list data in an HTML table using JavaScript. |
cannot reinitialise datatable | Learn how to fix an error “cannot reinitialise datatable”. |
Uncaught ReferenceError: web is not defined Error in SharePoint Online JSOM | Learn how to fix the SharePoint JSOM error “Uncaught ReferenceError: web is not defined”. |
3. SharePoint Rest API tutorials
In SharePoint, you can also use Rest API for development. Here are a few Rest API in SharePoint examples.
Tutorials | Descriptions |
---|---|
SharePoint Rest API | Learn how to start working with SharePoint Rest API. |
SharePoint list crud operations using rest api | Check out an example of sharepoint list crud operations using rest api. |
Display sharepoint list data in HTML table using javascript | This tutorial explains how to display SharePoint list data in an HTML table using JavaScript and Rest API. |
Conclusion
I hope you got an idea about SharePoint development and how to work with the SharePoint server object model or with the SharePoint client object model.