The Microsoft SharePoint Server Feature and Solution Framework An Overview Michael Mukalian – Technology Manager

Slides:



Advertisements
Similar presentations
Creating Page Layouts using SharePoint Designer or Visual Studio Becky Bertram MCSD, MCAD MCTS WSS Development MCTS MOSS Development
Advertisements

Site Collection, Sites and Sub-sites
Microsoft Office SharePoint Portal Server 2007 Introduction to InfoPath Forms Services Daryl L. Rudolph.
LH SharePoint SIG - Custom Actions. Custom Actions A custom action represents a Server ribbon, menu, or link customization that a user can see. Custom.
The New Face of Enterprise Collaboration Trends, Observations, and Lessons Learned.
Randy Williams, MOSS MVP Senior Consultant Synergy Corporate Technologies.
Microsoft Patterns and Practices SharePoint Guidance Robert L. Bogue MS MVP, MCSE, MCSA: Security
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
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,
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
WikiPlus customizations
Site Provisioning Options Web Template Fundamentals Web Templates and App Webs Custom Solutions for Site Provisioning Wrap Up.
Web FOCUS Integration with Microsoft Office SharePoint By: Kelvin Ruiz NASA – Kennedy Space Center.
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.
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
OFC308 Windows SharePoint Services (version 3) Development: Using Feature and Solution Definitions for Constructing Custom SharePoint Sites Todd C. Bleeker,
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
A GUIDE TO SHAREPOINT 2007 CUSTOMIZATION OPTIONS Heather Solomon, WSS MVP.
SharePoint Development 101: Feature Design By Becky Isserman
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.
A Close Look Inside the SharePoint Engine Randy Williams, MVP MOSS Synergy Corporate Technologies
Web parts for SharePoint. What’s a web part? Application that can be added to a page with a web part zone. Inhierits from web controls Can be developed.
WorkPlace Pro Utilities.
Developing Workflows with SharePoint Designer David Coe Application Development Consultant Microsoft Corporation.
OFC 200 Microsoft Solution Accelerator for Intranets Scott Fynn Microsoft Consulting Services National Practices.
Basic Developer Knowledge That Every SharePoint Admin Must Have Randy Williams, MVP MOSS Synergy Corporate Technologies
MOSS kehitysympäristö – Yksinkertaisesta laajoihin projekteihin Aku Heikkerö, Vesa Juvonen Microsoft Consulting Services (MCS)
Microsoft Office Solution Accelerator for Six Sigma – A Case Study in Project Server Customization Brian Smith Program Manager Information Worker New.
SharePoint Workflows with Visual Studio Stuart Cox RBA Consulting techpunch.wordpress.com.
Eric Maurer Copyright Keller Schroder  Windows SharePoint Services 3.0 Tools: Visual Studio 2005 Extensions, Version 1.1  Windows SharePoint Services.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Searching Business Data with MOSS 2007 Enterprise Search Presenter: Corey Roth Enterprise Consultant Stonebridge Blog:
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.
Eric Maurer Copyright Keller Schroder 6/11/2008. Types of Customization Customize pre-installed Microsoft Web Parts i.e. Content Editor Web Part Write.
VITALE, CATURANO & COMPANY LTD Microsoft SharePoint Web Part Development Overview VITALE, CATURANO & COMPANY LTD SharePoint Developer Series – Web Part.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Search Overview Search Features: WSS and Office Search Architecture Content Sources and.
Michael Hofer Senior Consultant Microsoft Corporation.
Separating the Interface from the Engine: Creating Custom Add-in Tasks for SAS Enterprise Guide ® Peter Eberhardt Fernwood Consulting Group Inc.
Ian Morrish Senior Consultant OFC302 Understanding SharePoint Trouble Shooting Best Practices Resources.
© 2009 Ness Technologies – Proprietary and Confidential Kfir Sasson Understanding Features & Solutions In MOSS 2007.
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.
Avanade Confidential – Do Not Copy, Forward or Circulate © Copyright 2014 Avanade Inc. All Rights Reserved. For Internal Use Only SharePoint Insights (BETA)
Yaroslav Pentsarskyy Involved in SharePoint since 2003 SharePoint MVP (2009- Present) Blog: sharemuch.com.
Module 4: Administering Microsoft Office SharePoint Server 2007.
UNDERSTANDING YOUR OPTIONS FOR CLIENT-SIDE DEVELOPMENT IN OFFICE 365 Mark Rackley
NET Development on Microsoft SharePoint Technology Part 4: Templates, Features, and Solution Deployment Mick Badran Breeze Training Consulting Trainer.
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.
Joy Rathnayake Senior Architect – Virtusa Pvt. Ltd.
How to be a SharePoint Developer
St. Louis Day of Dot Net 2011 Jump Start: SharePoint Development
Introduction to SharePoint 2007
Searching Business Data with MOSS 2007 Enterprise Search
Searching Business Data with MOSS 2007 Enterprise Search
Visual Studio 2010 SharePoint Development Tools Overview
Microsoft Dynamics.
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:

The Microsoft SharePoint Server Feature and Solution Framework An Overview Michael Mukalian – Technology Manager

Page 2 Agenda Introduction of LiquidHub –LiquidHub at a Glance –About LiquidHub’s SharePoint Center of Excellence What are Features? Feature Makeup Feature.xml Feature Manifest File STSADM.EXE: Feature Installation and Activation STSADM.EXE: Feature Deactivation and Un-installation Feature Dependency Feature Stapling What is a Solution? Solution Makeup Solution Manifest File Diamond Definition File Solution Package: Creation and Deployment Solution Package: Retraction and Deletion Links of Interest

What are Features? “Features are awesome!” – Ted PattisonTed Pattison Provide the ability (feature? ) to define, modify and work with elements and objects within a Site –Site Columns, Content Types, Lists –Master Pages, Page Layouts –Web Parts –Menu Commands, CustomActions –FeatureReceivers and EventReceivers Brand new for WSS 3.0 –Made up of Features…see “12 Hive” –C:\Program Files\Common Files\Microsoft Shared\web server extensions\12 Feature Dependency –Allows the developer to create a hierarchy of dependent Features Can’t install one without the other Feature Stapling –Allows for the association (stapling) of a Feature to a Site Definition, so that as a Site Definition is chosen the Feature is “packaged” with it Page 3

Feature Makeup: feature.xml & Feature Manifest The following are the minimum files necessary to create and install a feature –feature.xml –elements.xml (Feature Manifest file) Page 4

Feature.xml Feature.xml contains the necessary information about the Feature to be installedFeature.xml – Id: GUID identifying the Feature –Title: Feature title (text) –Description: Feature description (text) –Scope: The scope in which the Feature can be activated Farm; WebApplication; Site (Site Collection); Web (Site) –Hidden: Optional (boolean) –Version: Optional; Specifies a System.Version-compliant representation of the version of a Feature (#.#.#.#) – : Node containing nodes – : Specifies a file that contains an element definition (Site Column, Content Type, Master Page, etc.) for a Feature Element Page 5

Feature Manifest File The Feature Manifest file contains the necessary information related to an element of the Feature to be installed. element A Feature can have 1-to-many Feature Manifest files (named differently) This example create a custom Site Column using the node structure – Id: GUID identifying the custom Site Column –Name: Internal Field Name of the column –DisplayName: Display Name of the column –Type: Data Type of this column (Text; Integer; Choice; etc) Page 6

STSADM.EXE: Feature Installation an Activation Step 1: Install the Feature –stsadm -o installfeature {-filename | -name }installfeature -filename: Relative to the Features folder in the 12 Hive -name: Corresponds to the name of the feature in the feature.xml file Step 2: Activate the Feature –stsadm -o activatefeature {-filename | -name | -id } [-url] activatefeature -filename: Relative to the Features folder in the 12 Hive -name: Corresponds to the name of the feature in the feature.xml file -id: Feature GUID in the feature.xml file -url: URL of the Web application, Site Collection, or Web site to which the feature is being activated –OR Site  Site Actions  Site Settings  Site (Collection) Features Page 7

STSADM.EXE: Feature Deactivation and Un-installation stsadm -o deactivatefeature {–filename | -name | -id } [-url] deactivatefeature –-filename: Relative to the Features folder in the 12 Hive –-name: Corresponds to the name of the feature in the feature.xml file –-id: Feature GUID in the feature.xml file –-url: URL of site to activate Feature stsadm -o uninstallfeature {-filename | -name | -id }uninstallfeature –-filename: Relative to the Features folder in the 12 Hive –-name: Corresponds to the name of the feature in the feature.xml file –-id: Feature GUID in the feature.xml file Page 8

Feature Dependency Feature Dependencies are Features that are dependent on other Features Used when you have a Feature that contains elements that are built on or referenced by other Features –Site Columns, Content Types, etc A “one-liner” (actually 3) is added to the Feature’s feature.xml file associating it with the Feature that it is dependent on – ActivationDependencies ActivationDependency – Page 9

Feature Stapling Feature Stapling allows you to “attach” (staple) a Feature to a Site Definition without modifying said Site Definition in anyway This allows you to add the Feature to any Sites created using that Site Definition –Ex. Corporate Intranet-type environments that require certain standard functionality to exist through all sites that will be created in the collection –Ex. Custom Web Parts you want available across sites to be created in the Site Collection Basically a Feature in-and-of-itself, that’s associated to another Feature with the relevant Site Definitions –A “one-liner” (really) added to the “elements.xml” file that contains the Site Definition Template Name and the Feature ID to associate to it –TemplateName: STS#0; STS#1; BDR#0; GLOBAL, etc. Page 10

What is a Solution A Solution is a package that’s created that bundles up all of the necessary components for extending WSS/MOSS services –It is a.CAB-based format with a.WSP extension –It is a deployable and reusable package –It is the recommended way to deploy elements as the solution store helps in the deployment to all of the web front-end servers –Best Practice when deploying code between environments Page 11

Solution Makeup The desired Feature to install A Solution Manifest File (XML format) A Diamond Definition File (.DDF) –Simple text file containing the building instructions for the MakeCAB utility Resultant Solution Package File (.WSP) –Created as the result of running MakeCAB against the.DDFMakeCAB –Tip: Rename the.WSP to.CAB and you can open up/explore the contents Page 12

Solution Manifest File The Solution Manifest File references the Feature to be packaged as part of this SolutionSolution Manifest File Assigns properties to the Solution –SolutionId: GUID –ResetWebServer: Boolean; specifies that the Web server be reset through IIS –DeploymentServerType: ApplicationServer; WebFrontEnd Page 13

Diamond Definition File The Diamond Definition File contains the set of build instructions for the MakeCAB utility Running MakeCAB with the associated.DDF file results in your SharePoint Solution Package (.WSP).CAB-based format Example –Settings DiskDirectoryTemplate=CDROM: All cabinets go in a single directory CompressionType=MSZIP: All files in the cabinet are compressed UniqueFiles=Off: Duplicate destination file names are not allowed Cabinet=On: Turns Cabinet Mode on –Files as part of the package manifest.xml –Solution Manifest Set the DestinationDirectory –Where Feature will be installed Includes the following files –feature.xml and elements.xml Page 14

Solution Package Creation and Deployment Page 15 Step 1: Create the Package (.WSP) –MAKECAB.EXE /F filename.ddf /D CabinetNameTemplate=filename.wsp /D DiskDirectory1=Package\ Create a.WSP file named filename.wsp using the filename.ddf and place it in a directory Package Step 2: Add the Solution to the Solution Store –Copy the.WSP to the BIN folder in the “12 Hive” –stsadm.exe -o addsolution –filename filename.wspaddsolution Only adds to the Solution store, no deployment Step 3: Deploy the Solution –stsadm.exe -o deploysolution -name filename.wsp –immediatedeploysolution Deploys Solution -immediate (as in right now to all servers in the Farm, timer job kicks in) –-local: just this server –-time: specific time to deploy to all servers in the Farm -force: Optional, forces deployment even if it’s deployed already

Solution Package Retraction and Deletion Page 16 Step 1: Retract the Solution –stsadm.exe -o retractsolution -name filename.wsp –immediateretractsolution Kicks off timer job to retract Solution Step 2: Delete the Solution –stsadm.exe -o deletesolution -name filename.wspdeletesolution Removes Solution from the store Step 3: Delete.WSP from BIN –Navigate to BIN folder and delete filename.wsp

Links of Interest Creating a Custom Feature in Office SharePoint Server 2007 What are Features? Andrew Connell’s Web Content Management Links: Features Feature Stapling in WSS V3 Solutions Overview Microsoft Cabinet Software Development Kit Creating a SharePoint Solution Package (.wsp) in 5 steps Automation in Visual Studio 2005 for WSS v3 Feature Development How to configure Code Access Security for a Web Part –Utilizes Features/Solutions to do so Page 17

Thank You! Page 18

Page 19 LiquidHub at a Glance Overview:In business since 2001 LiquidHub, Inc. is a systems integrator and technology consultancy delivering Management Consulting, Application Integration, Data Management & Integration, and Infrastructure Solutions. Associates:500 associates worldwide Locations:Philadelphia, Hyderabad India, and Boston Industry-Focused:Life Sciences, Financial Services, Insurance, Emerging Markets Approach:Combining the planning and strategy of Enterprise Architecture and the execution of Service Oriented Architectures, our consultants work with clients to make the most of existing IT system assets while providing a flexible technology architecture that will work long-term. Our Differentiators:Local Presence with Equal or Better Quality of Services at Better Price Point than larger Consultancies. Focus of Services and Industries Immediate Access to Executive Management

About LiquidHub’s SharePoint Center of Excellence The SharePoint CoE is focused on: –Helping companies utilize the full capabilities of MOSS 2007 in the areas of administration, configuration, development, training, and support Our approach helps our clients: –Integrate MOSS with current processes –Integrate MOSS with existing Enterprise and Legacy systems –Jumpstart application development using MOSS Page 20