IT Showcase Deploying SharePoint Portal Server 2003 Shared ...IT
Developing and Deploying Custom Solutions in SharePoint 2007
description
Transcript of Developing and Deploying Custom Solutions in SharePoint 2007
Developing and DeployingCustom Solutions in SharePoint 2007
http://www.sharepointspecialists.com/
RJB Technical Consulting
www.rjbtech.com
What will be covered
• Creating custom solutions/features• Using STSADM commands• Activating features• Revealing 12 Hive structure• Using Visual Studio & WSP Builder• Demo custom solutions in action
What are SharePoint Custom Solutions?
http://www.sharepointspecialists.com/
RJB Technical Consulting
www.rjbtech.com
You can use the solution file to deploy the contents of a Web Part package, including assemblies, class resources, .dwp files,
and other package components.
A solution is a deployable, reusable package that can contain a set of Features, site
definitions, and assemblies that apply to sites, and that you can enable or disable
individually.
Custom Solutions Can/Should? Contain:
• Branding• Customization• Content + Content Types• Pages• Web Parts• Workflows• Modules like User Controls• Features• Web Services• Event Handlers
Live Together
How To Create Custom Solutions?
http://www.sharepointspecialists.com/
RJB Technical Consulting
www.rjbtech.com
Creating custom solutions• Create a single re-distributable package (WSP – SharePoint Solution Pack)
– Visual Studio 2005(with Extensions Add-On)– Visual Studio 2008– WSP Builder– Text Editor (Manual creation of Data definition files)
• Place all the customizations in your project, including Features, custom assemblies, web services, event handlers, custom pages, branding, etc in your project solution.
• WSP – cab based file with .wsp extension
• Recommended tools: – WSP Builder– Text Editor(s)– WSP Manager– WSS / MOSS Build Tasks 1.0.0.0
How To Deploy Custom Solutions?
http://www.sharepointspecialists.com/
RJB Technical Consulting
www.rjbtech.com
Deploying WSP Solution Cab to the WSS Solution Store
1. Use STSADM command like so:
Stsadm.exe –o addsolution –filename “c:\wsp\UserGroup.wsp”
2. Browse to SharePoint 3.0 Central Administration and deploy the solution under Solution Management link
Or Use a STSADM command line:
Stsadm.exe –o deploysolution –name UserGroup.wsp Switches:
-allowgacdeployment-immediate-force-allcontenturls
3. Use STSADM command to execuite admin jobs:
Stsadm.exe –o execadmsvcjobs
What’s next? – Features !!!
• Solutions and features are interrelated• Solutions are deployed via features• Features are delivered to SharePoint servers via solutions• Activating features populates the content databases with data
• Activate your features through:
– stsadm command– Site/SiteCollection/WebApplication/Farm features UI
Take it away - to a demo!
• Connecting the dots…
Sources & References: Creating a SharePoint Solution Package (.wsp) in 5 steps - Evgeny
Tugarev's bloghttp://geekswithblogs.net/evgenyblog/archive/2008/01/27/118966.aspx SharePoint Solution Overview (MSDN)
http://msdn.microsoft.com/en-us/library/aa543214.aspx SharePoint Adventure By Yaroslav Pentsarskiy
http://www.sharemuch.com/2009/08/08/sharepoint-custom-solution-development/
Mind Sharp: Adding RS.cab to SharePointhttp://www.mindsharpblogs.com/kathy/archive/2008/02/01/4247.aspx