NET Development on Microsoft SharePoint Technology Part 4: Templates, Features, and Solution Deployment Mick Badran Breeze Training Consulting Trainer.

Slides:



Advertisements
Similar presentations
Organizing List and Documents with Site Columns and Content Types Gayan Peiris Principal Consultant
Advertisements

Creating Page Layouts using SharePoint Designer or Visual Studio Becky Bertram MCSD, MCAD MCTS WSS Development MCTS MOSS Development
Site Collection, Sites and Sub-sites
Microsoft Office SharePoint Portal Server 2007 Introduction to InfoPath Forms Services Daryl L. Rudolph.
Technical - SharePoint SharePoint grew out of the Exchange Development Teams collaboration work and Digital Dashboard initiative. SharePoint Team Services.
Randy Williams, MOSS MVP Senior Consultant Synergy Corporate Technologies.
Todd Klindt Solanite Consulting.  WSS MVP since 2006  Speaker, writer, consultant, Aquarius  Personal Blog
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
Microsoft Office SharePoint 2007 Technical Enablement Tour Patrick Tisseghem (Managing Partner – U2U)
SharePoint 2010 First Look: What's new for Developers in Microsoft SharePoint 2010 Matthew McDermott, MVP Aptillon, Able
St. Louis Day of Dot Net 2011 Building Web Parts for an Office 365 SharePoint Site Becky Bertram Independent SharePoint Consultant SharePoint MVP, MCSD.NET,
Microsoft Office System UK Developers Conference Radisson Edwardian, Heathrow 29 th & 30 th June 2005.
St. Louis Day of Dot Net 2011 Jump Start: SharePoint Development Becky Bertram Independent SharePoint Consultant SharePoint MVP, MCSD.NET, MCTS
Development models for on-premises Transformation approaches Farm solution considerations.
Microsoft SharePoint 2013 SharePoint 2013 as a Developer Platform
Becky Bertram SharePoint MVP
Site Provisioning Options Web Template Fundamentals Web Templates and App Webs Custom Solutions for Site Provisioning Wrap Up.
SharePoint Development Tools and Techniques for Creating, Packaging, Deploying, and Maintaining Code Sergio Otoya Technical Director LivePoint and echoTechnology.
Microsoft Certification Exam Coaching Session: Application Development.
SPC220 Web Template FundamentalsCreating Web Templates Using Web Templates Web Templates and App Webs Wrap Up.
OFC308 Windows SharePoint Services (version 3) Development: Using Feature and Solution Definitions for Constructing Custom SharePoint Sites Todd C. Bleeker,
Update your servers to service pack 2. Ensure that the environment is fully functioning. Migrate to 64 bit servers is necessary. REVIEW UPGRADE BEST PRACTICES.
SharePoint Development 101: Feature Design By Becky Isserman
Welcome to Philly Code Camp Russ Basiura SharePoint Consultant RJB Technical Consulting
WSS 3.0 Architecture and Enhancements Ashvini Shahane Member – Synergetics Research Lab.
Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager
Windows SharePoint Services 'v3': Creating And Defining Custom Templates, Sites, Features, And Solutions Mike Ammerlaan OFF308 Program Manager Microsoft.
SHARE POINT 2010 TRINAY TECHNOLOGY SOLUTIONS © Copyright Trinay Technology Solutions, 39 Buckland St, #5321 Manchester, CT
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Wes Preston Agenda  Quick Intro  Overview  Site Details  Notes and Resources  Questions.
SharePoint 2010 and Office 2010 Development Randy Williams Senior Consultant & Trainer Synergy Corporate Technologies.
EDUCATION YOU CAN TRUST ® Windows SharePoint Services Course Review Review provided by: DNS Computing Services, LLC
Basic Developer Knowledge That Every SharePoint Admin Must Have Randy Williams, MVP MOSS Synergy Corporate Technologies
SharePoint Workflows with Visual Studio Stuart Cox RBA Consulting techpunch.wordpress.com.
WSS “v3” for Developers Jan Tielens Blog: Architect & Trainer U2U, Brussels.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Upgrading Projects to Visual Studio 2010 Upgrading Projects to SharePoint 2010 Integrating with SharePoint 2010.
Slide 1.NET Development for Project 2003 Samples from the Project 2003 SDK Jim Corbin Programmer Writer Office Developer Documentation Microsoft Corporation.
Office Business Applications Workshop Defining Business Process and Workflows.
SharePoint Online – Developing Solutions for the Cloud Chris Mayo Microsoft Corporation
VITALE, CATURANO & COMPANY LTD Microsoft SharePoint Web Part Development Overview VITALE, CATURANO & COMPANY LTD SharePoint Developer Series – Web Part.
MOSS tietorakenteet ja metadatan pohjaisten rakenteiden käyttöönotto Aku Heikkerö, Vesa Juvonen Microsoft Consulting Services (MCS)
Welcome to the Minnesota SharePoint User Group. Introductions / Overview SharePoint 101 High level overview of SharePoint Differences between SharePoint.
Olaf Feldkamp Developer Platform Advisor Microsoft Switzerland blogs.msdn.com/swiss_dpe_team.
Michael Hofer Senior Consultant Microsoft Corporation.
Connect with life Vedant Kulshreshtha Technology Solutions Professional – SharePoint | Microsoft India
© 2009 Ness Technologies – Proprietary and Confidential Kfir Sasson Understanding Features & Solutions In MOSS 2007.
1 © Xchanging 2010 no part of this document may be circulated, quoted or reproduced without prior written approval of Xchanging. MOSS Training – SharePoint.
Advanced Feature Development Neil Iversen Inetium
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Site Definitions and Features Overview Review of SharePoint 2003 site definitions What’s.
Module 1: Overview of Microsoft Office SharePoint Server 2007.
Microsoft ® Official Course Designing and Managing Features and Solutions Microsoft SharePoint 2013 SharePoint Practice.
Module 4: Administering Microsoft Office SharePoint Server 2007.
Windows SharePoint Services Development Part 1: Paul Appleby Application Architect Microsoft Limited.
Windows SharePoint Services v3.0 Martin Parry Developer & Platform Group Microsoft Limited
The 2007 Microsoft Office System Servers Enterprise Content Management, Workflow and Forms Martin Parry Developer and Platform Group, Microsoft Ltd
Workflow in Microsoft Office SharePoint Server Jessica Gruber Consultant Microsoft Corporation.
Software services delivering SharePoint, Mobile, and Business Intelligence solutions Understanding and implementing the remote provision pattern in SharePoint.
The Microsoft SharePoint Server Feature and Solution Framework An Overview Michael Mukalian – Technology Manager
SharePoint 101 – An Overview of SharePoint 2010, 2013 and Office 365
Joy Rathnayake Senior Architect – Virtusa Pvt. Ltd.
St. Louis Day of Dot Net 2011 Jump Start: SharePoint Development
Collaboration and Storage with WSS v3
What is SharePoint and why you should care
Introduction to SharePoint 2007
SharePoint Site Admin Training
Microsoft Dynamics.
07 | Workflows Chris Johnson | SharePoint Guru
St. Louis Day of Dot Net 2011 Building Web Parts for an Office 365 SharePoint Site Becky Bertram Independent SharePoint Consultant SharePoint MVP, MCSD.NET,
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
Presentation transcript:

NET Development on Microsoft SharePoint Technology Part 4: Templates, Features, and Solution Deployment Mick Badran Breeze Training Consulting Trainer and Sharepoint Specialist

User Interface Entry Points

SPUser.About Mick Badran –Director Breeze Training ( SharePoint 2001/2003 Experience –Lots of training/mentoring and consulting on small, medium and large scale projects. –Involved in TAP programs, Microsoft Ascend training, development of SPS Training material. SharePoint 2007 Experience –Early start in June 2005 with TAP workshops –Creation and delivery of Ascend training Australia wide. –Sharepoint migrations and implementations. –Creator of successful Australia wide MOSS bootcamps for Partners. Contact Details – –IM: –Blog:

Agenda Site Provisioning Flow in WSS and MOSS A Closer Look at Site Definitions Steps for Creating Custom Site Definitions The Features feature in WSS 3.0 Exploring and Creating Features Activation Dependencies and Feature Event Receivers Packaging, Deploying, Upgrading, Retracting and Removing SharePoint Solutions

Site Provisioning Two-step process 1.Creation of a site at a specific URL 2.Populating the site based on a site template Designed to be a platform that can support different types of sites - the template architecture can be extended Site templates –Use browser to save an existing site as a template Stored in the database Can be extracted as STP file –Create site definition Collection of files making up the template Stored on the front-end Web server as a physical folder

The Provisioning Flow Selection of a site template Webtemp.xmlWebtempsps.xmlWebtemp*.xml Retrieve Site Definition in \12\Templates\ SiteTemplates Call to Microsoft.SharePoint. Publishing. PortalProvisioningProvider InternetBlank.xml PortalWebmanifest.xml 1 Site Portal = # Sites

Internet Starter Kit

Improvements to v3 Site Definitions GLOBAL Template Resources Features

Closer Look at ONET.XML ONET.XML stores the core definition Global Template stores common definitions navigation bars list templates document templates configurations features modules ONET.XML

Dissecting the Team Site Definition

Creating Custom Site Definitions with VS.NET Extensions for WSS 3.0 Visual Studio Tools for Sharepoint Visual Studio 2005 Project Templates –Web Part –Team Site Definition –Blank Site Definition –List Definition Visual Studio 2005 Item Templates –Web Part –Custom Field –List Definition (with optional Event Receiver) –Content Type (with optional Event Receiver) –Module SharePoint Solution Generator –Generates a Site Definition project from an existing SharePoint site.

Reverse Engineering a Site with the SharePoint Solution Generator

Modular Provisioning: Features! Reusable pieces of customization Extend existing sites Easily installed/activated Feature Name ID Description Scope Receiver assembly Activation Dependencies Element Manifests Feature Name ID Description Scope Receiver assembly Activation Dependencies Element Manifests Feature.xml Custom Actions Custom Views Content Type Definitions Layouts Pages Modules (files) List Instances List Templates Event Receivers Delegate Controls Workflow Bindings Custom Actions Custom Views Content Type Definitions Layouts Pages Modules (files) List Instances List Templates Event Receivers Delegate Controls Workflow Bindings Elements.xml

Feature - Scopes Web Elements List DefinitionList FormsList ViewsList Instances List Item Events Item Custom Actions Web Admin Custom Actions Layout Files Site Collection Elements Site Settings Links Web Part Definitions Workflow Definitions Site Content TypesLayout FilesList Instances Web Application Elements Item Custom ActionsSite Settings LinksAdmin Custom Actions Farm Elements Item Custom Actions Site Settings LinksAdmin Custom Actions

Site Collection Features Site Collection Features Farm Features Farm Features Web Features Web Features Contacts Hidden Features Visible Features Document Libraries Document Libraries Picture Libraries Picture Libraries Events Basic List Links Announce- ments Announce- ments Tasks Survey Discussion Board Discussion Board WSS Core Links WSS Core Links Core Content Types Core Content Types Content Light Up Core Column Templates Core Column Templates WSS Out-Of-The-Box Features

Exploring some of the OOTB Features

Making Features Available Features must be copied to \12\Template\Features folder of every Front-end Web Server Features must be installed Administrators can activate or deactivate features using The browser Using STSADM Event handlers can be hooked-up with the activate and deactivate events Stsadm.exe –o installfeature –filename myfeature\feature.xml Stsadm.exe –o activatefeature –filename myfeature\feature.xml –url url

Create! Install! Activate! And Ready To Use!

Activation Dependencies Features can be designed with dependencies –Allows one feature to assume another feature is present Example: Feature B might depend on Feature A –B should be written with activation dependency on A –Activating B forces A to be activated as well –Deactivating B results in deactivation of A Features can be defined as hidden –Hides the feature from users in administration activation pages –Hidden features still activated by others with dependencies

Feature Provisioning Events <Feature Id="9D2F b A7CCD2942" ReceiverAssembly="LitwareAssembly, Version= , Culture=neutral, PublicKeyToken=xyz" ReceiverClass="Litware.LitwareFeatureReceiver" xmlns=" namespace Litware { public class MyFeatureReceiver : Microsoft.SharePoint.SPFeatureReceiver { public override void FeatureInstalled(SPFeatureReceiverProperties properties) { // event hander run after feature is installed } public override void FeatureActivated(SPFeatureReceiverProperties properties) { // event hander run after feature is activated SPWeb web = (SPWeb)properties.Feature.Parent; web.Title = "Hello World"; web.Update(); } public override void FeatureDeactivating(SPFeatureReceiverProperties properties) { // event hander run before feature is deactivated } public override void FeatureUninstalling(SPFeatureReceiverProperties properties) { // event hander run before feature is uninstalled } Define the receiver class by inheriting from SPFeatureReceiver Point to receiver class in Feature.xml (assembly must be in GAC)

Feature Event Receivers

SharePoint Solutions SharePoint Solution Packages allow you to physically distribute your solutions –Web Parts –Site Definitions –Features –Custom Workflows –Application and Site Pages –… Component Manifest DDF MakeCab WSP

Example Packaging a Site Definition Provision Code DDFDDF DDFDDF MySite. WSP Provision Feature MySite.dll feature.xml provisioner.xml Site Definition Feature feature.xml elementManifest.xml Site Definition Schemas ONET.XML WebtempMySite.xml # Features (lists/libraries) feature.xml elementManifest.xml Installation Script Manifest.xml

Packaging SharePoint Solutions

A Complete SharePoint Solution Story Solutions can be added to the Solution Store of the server farm Solutions can be deployed to site collections Solutions can be upgraded with new versions Solutions can be retracted from site collections Solutions can be removed from the Solution Store

Deploying and Upgrading SharePoint Solutions

Review Better story for creating custom site definitions Modular approach with Features Better story for packaging, deploying and maintaining solutions Thank you linesman…..thank you ball boys……