TreeView Doc Lib V 2.0 in CodePlex

I have released the next version of TreeView Document Library WebPart for SharePoint 2007.

Added features in this release:

Automatically populates the list of document libraries in dropdownlist in toolpart Collapsed TreeView can be managed from toolpart property Automatically shows the appropriate icons for the files in document library

WebPart included […]

Programmatically Retrieve List of Document Libraries

The following code snippet is used to retrieve the list of document libraries.

SPWeb _web = SPContext.Current.Web;

SPListCollection ListColl = _web.Lists;

foreach (SPList _lst in ListColl)

{

if (_lst.BaseTemplate == SPListTemplateType.DocumentLibrary)

November 26th, 2009 | Tags: , , | Category: MOSS 2007, SharePoint Object Model | Leave a comment

Microsoft.IdentityModel assembly Missing Error while installing SharePoint 2010

While running SharePoint Configuration wizards, if you get an error “Microsoft.IdentityModel assembly missing”

Make sure you have installed “Geneva Framework”, its part of your pre requisites for SP 2010

Download SharePoint 2010 Beta

Microsoft has released the beta bits of SharePoint 2010 for MSDN & Tech Net subscribers.

I hope it will be available for public in few days J

SharePoint 2010 Technology Stack

SharePoint 2010 Technology Stack looks like below.

The key advantage for the developers would be the development machine can be set it up in Windows Vista or Windows 7 (x64-bit) machine J

Building WebPart in SharePoint 2010 – Video Screen Cast

Microsoft SharePoint Development team has released the following screen casts for developers.

Click Here for ScreenCast

WSS 3.0 Application Templates Grouped by Business Area

If you are looking for free application template, which suites your business area, read this resource on TechNet. It has list of 40 Application templates grouped by the following business category.

Business Management/Finance Human Resources Operations/IT Project Tracking/Product Management Sales/Marketing Specialized/Verticals […]

How to Use Resource File in SharePoint 2007

Create Resource file using Visual Studio IDE

Copy the resource file into 12 hive resource folder

GetLocalized method from SPUtility to read the values from resource file

Syntax:

SPUtility.GetLocalizedString(“$Resources:<<ResourceFileName,ResourceKeyName>>”, “<<ResourceFileName>>”, lang);

Example:

SPUtility.GetLocalizedString(“$Resources:MyResources,FirstName”, “MyResources”, lang);

Sample Source:

November 8th, 2009 | Tags: , , | Category: MOSS 2007, SharePoint Object Model | One comment

Topologies for SharePoint 2010

The Technet resource on SharePoint 2010 Topologies model explains the following:

Read about how the new services model applies to physical topologies Review detailed guidance on which services to start on farm servers See sample topologies for small, medium, and large environments

Download here for SharePoint 2010 Topologies Model from […]

The trial period for this product has expired – MOSS 2007 Error

If you encounter the error “The trial period for this product has expired” after upgrading the license from trial to standard/enterprise edition in sharepoint.

Change your app pool account from “Network Service” to Domain account.