This post explains the new object model hierarchy in SharePoint 2010, which describes about each object in below diagram. Create a console project in Visual Studio and write a code snippet for each object to better understand the purpose. The classes in above diagram used for administration and configuration purpose and these are used for implementing service applications. SPFarm SPFarm...
What is SharePoint Solution Package?
What is SharePoint Solution Package? SharePoint has a system which bundles all the components of a SharePoint Foundation extension in to a single file which is called a Solution Package. The Solution Package file has the extension .wsp. The contents of solutions package are Assemblies Web Parts Site Definition files - Site definition is a unique type of SharePoint website. It...
Configuring Custom Master Page in SharePoint 2010
This post discusses about configuring custom master page in SharePoint 2010 website. You might have use custom images, custom style sheets to create new master page in SharePoint. Follow the below steps to apply custom master page in SharePoint 2010. 1. Place your custom style sheets in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\template\layouts\1033\STYLES this is...
Access Denied error message for SharePoint Visitor group members
It is likely that your SharePoint 2010 site returns Access Denied error when user in Visitor group accesses the page in site. First reason for the error message: The page which user trying to access might not have been published to major version. For example: If your page has image which got minor version and page got published with (Major Version) then server would deny the access to page...
Creating Parallel Workflow in SharePoint 2010
This post explains how to create parallel tasks in SharePoint 2010 workflow. The idea is we are going to assign the tasks to people and they can complete them in any order without having a dependency on one another. In this example we create a custom SharePoint list which contains a vacation request details looks as below The Request contains a title field which represents the type of...
Displaying Custom HTML message in SharePoint 2010
This post explains about displaying a custom HTML message in Visio Web access web part on a SharePoint web part page. We are using two web parts content editor webpart and Visio Web access webpart as shown below
Accessing Web Services from Sandboxed Silverlight application in SharePoint 2010
This post discuss about accessing public web services from sandboxed Silverlight application in SharePoint 2010. SharePoint 2010 introduced the concept of sandboxed solution where the application runs in separate process outside the w3p process where SharePoint is running. Sandboxed solutions having the restriction to make a call to external resources like database and web services. This...
Recycling Application pools in IIS for SharePoint 2010
This post discuss about recycling application pools when memory limits are exceeded. Recycling based on memory limits is not necessary in 64-bit environment. It is suggested that recycling should not be enabled in 64-bit environment. Unnecessary recycling can result in dropping in user requests and performance. Note: When application memory limits are exceeding then change the recycle...
JavaScript Intellisence for SharePoint 2010 Projects
Visual Studio 2010 is really have useful and helpful capabilities from tooling prospective and it allows JavaScript developers to more productive through JavaScript Intellisence and JavaScript debugging. This post discusses about getting the JavaScript Intellisense in SharePoint 2010 projects.
1. Create an empty SharePoint 2010 project as shown below
Version History in a SharePoint library
This post explains how to view version history in a SharePoint library. It also shows how to open a previous version and how to compare the current version with previous version. We will examine this with microsoft word document. If version history enabled in your SharePoint library then you can view in two different formats Major version and Minor version.