Saturday, January 3, 2009

Solution Deployment

Solution is a cab file with a manifest file that contains:
  • Feature definitions 
  • Site Definitions 
  • Resources –Assemblies (DLLs) that implement related functionality 

Solution is very similar to a web part package in SharePoint 2003

The “Global” Template

SharePoint provisions “Global” template before any other template

The template includes:

– Base type list schema definitions
•Generic List
•Document Library
•Discussion Forum
•Issues List
•Survey List

- Gallery Lists
•Master Page Gallery
•Web Part Gallery – only at the root site
•List Template Gallery – only at the root site
•Site Template Gallery – only at the root site
•User Information List – only at the root site

- Features
•Content Types
•Site Columns (Fields)
•Mobile Redirect

Site Definitions in 2007: Folder Structure

Program files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\

•GLOBAL – contains “Global Template” site definition

•SiteTemplates
- STS
- default.aspx
- XML
- onet.xml – references features
- does not contain base types
- does not contain list templates
- MPS

•FEATURES – contains all SharePoint and custom features
- CustomList
- Navigation
- DocumentLibrary
– document library feature
- ListTemplates
- DocLib.xml
- DocLib
- Schema.xml – DOES NOT CONTAIN
- Upload.aspx
- No allitems.aspx or editform.aspx
 
Sell my car, Used car for sale, Free Automotive Classifieds