Download presentation
Presentation is loading. Please wait.
Published byMoris Gordon Modified over 9 years ago
1
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Site Definitions and Features Overview Review of SharePoint 2003 site definitions What’s changed from SharePoint 2003 to 2007 Global Template Feature Framework Solution based deployment
2
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Site Definitions in 2003: Folder Structure Program files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\1033\ MPS – contains “Meeting Workspace” site definition STS – contains “Team Site” site definition - default.aspx – home page for the site - XML - onet.xml – main site schema definition - stdview.xml - vwstyles.xml - LISTS - DOCLIB – document list library definition - schema.xml – list schema definition - allitems.aspx – page that displays all items - editform.aspx – edit page for the list item - CUSTOMLIST - DISCUSS
3
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Site Definitions in 2003: Onet.xml and Schema.xml ONET.XML - lists available in the site definition - core SharePoint list schemas - files included in the site definition - initial settings for each configuration SCHEMA.xml - fields specific to the list -- new, edit, display forms -- initial data loaded
4
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. What’s changed from 2003 to 2007 Common elements such as base types have been factored out into the global template Addition of feature framework gives developers ability to make customizations using a modular approach Addition of solution packages provides better deployment
5
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. 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
6
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. 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
7
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Features Feature is a collection of files that specifies some functionality Features have different scopes: –Document library has a SITE scope –List Template Gallery has a SITE COLLECTION scope –Document to Page Converters has a VIRTUAL SERVER scope –Excel Server has a FARM scope example of features: Navigation Document Library list Business Data Catalog
8
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Features Administrators –Install and uninstall features on the server –Activate and deactivate features at the farm, web application, site collection, or site scope Developers –Specify the code for the feature –Define feature scope –Write code that executives during feature installation and uninstallation –Write code that executives during feature activation and deactivation
9
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Demo: Features 1.Examine some features in TEMPATE\FEATURES a.Documentlibrary b.Fields c.TeamCollobaration 2.Activate and deactivate team collaboration feature 3.Install a new feature and examine what changed 4.Activate the newly installed feature
10
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Demo: Global Template, Site Template Files 1.Examine Global Template in TEMPLATES\GLOBAL 2.Examine STS site template in TEMPLATE\SiteTemplates 3.Examine webtemp*.xml files in \TEMPLATE\1033\XML
11
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. 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
12
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Solution Deployment Developers create a solution package. Administrators: –Install or uninstall the package in the configuration database –Deploy or retract the solution from the configuration database across the server farm web servers ConfigDatabase SolutionPackageInDevelopment WebServer WebServer
13
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Demo: Solution Deployment 1.Install a solution package 2.Deploy and retract the solution package 3.Examine solution management options in central administration
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.