Category: SharePoint
-
Walkthrough on using LINQ to SharePoint from within a SharePoint 2010 custom visual web part
Objective In this article we will see, 1. How to create custom WebPart. 2. How to use SPGridView on visual WebPart. 3. How to use LINQ to SharePoint 4. How to deploy the WebPart in SharePoint site. Step 1 Open Visual studio 2010 and create new project. From SharePoint 2010 project template select Visual Web…
-
LINQ to SharePoint with WCF 4.0
Objective How could we perform CRUD operations on SharePoint 2010 List from a WCF Service? Assume we need to create a WCF Service and that service will perform CRUD operation on SharePoint 2010 list. We are going to see that in this article. Flow Diagram Now we will follow the below steps to perform all…
-
The Web Application could not be found .verify that you have typed the URL correctly error: SharePoint 2010 object model
The below exception is very frustrating when we start working with SharePoint object model. Let us investigate how to solve below exception Above Exception can encounter in two scenarios 1. Trying to use SharePoint 2010 object model in managed application like console or windows application. 2. Trying to use SharePoint 2010 object model in WCF…
-
LINQ to SharePoint: CRUD operation on SharePoint 2010 list using SPLinq
Objective In this article, we will see how to work with LINQ to SharePoint. I have tried to address all the common errors we encounter when first time we start using LINQ against SharePoint. We will see , 1. How to insert an item in SharePoint list using SPLinq 2. How to update an item…
-
LINQ to SharePoint: SPLinq in SharePoint2010
Objective In this article, we will see how to work with LINQ to SharePoint. I have tried to address all the common errors we encounter when first time we start using LINQ against SharePoint. Assumption We have a custom list 1. Name of the list is Test_Product. 2. Columns of the list is as below…
-
Seven quick points in Understanding SharePoint 2007 list definition
Objective This article will give basic 7 theatrical points on SharePoint List definition. When we create a new site in SharePoint, it gets created as instance of SharePoint Site Definition. Each instance of Site Definition is having List Definitions. So when we create a list in SharePoint site, it gets created as instance of List…
-
Forms on SharePoint lists
Objective This article will give a very high level description on various forms on a SharePoint list. When we create a new custom list in SharePoint, SharePoint creates three forms (*.aspx) for the custom list. In fact for all list these forms are provided by SharePoint. Let us say, there is a list…
-
Creating message body by parsing document from Document Library and sending mail in SharePoint 2007
Objective This article will give an idea of, How to parse a document from Document Library and replace with dynamic values at run time. How to send mail in SharePoint using SPUtility class. Introduction of a real time problem to use above said features of SharePoint. Background There was a requirement in one of my…
-
Cascading drop down column in a SharePoint 2007 List
Objective This article will show how to use codeplex project to achieve Cascading drop down columns in SharePoint list. This article will show how to achieve parent child relationship in column of SharePoint list. Step 1Download the project from codeplex. Choose WSP file to download. To download the project Click here Step 2 After downloading…
-
HyperLinkField in SPGridView using Moss 2007 Object model
Objective This article is going to explain How to work with SPGridView How to add HypeLinkField on a SPGridView. How to Put SPGridView on a web part. How to deploy the web part on a sharepoint site. Assumption I have a SharePoint list called TestingHyperLink. Columns of SharePoint list are as below. Name column is…