Thursday, June 30, 2011

Application Pages V/s. Site Pages in SharePoint

Site pages are pages which live in the Sharepoint database.

Application pages are pages which live on the server's file system. Application pages usually also execute code, but not always.

More @

Content Types in SharePoint 2010

A content type is a reusable collection of metadata (columns), workflow, behavior, and other settings for a category of items or documents in a Microsoft SharePoint Server 2010 list or document library. Content types enable you to manage the settings for a category of information in a centralized, reusable way.

More :

Saturday, February 26, 2011

Create all SharePoint List's Template Automatically

SPWeb web = workflowProperties.Web;
string[] listnames = (from SPList lst in web.Lists
                        select lst.Title).ToArray();

foreach (string s in listnames)
    web.Lists[s].SaveAsTemplate(s, s, string.Empty, false);