developing and deploying custom solutions in sharepoint 2007

12
Developing and Deploying Custom Solutions in SharePoint 2007 http://www.sharepointspecialists.com [email protected] RJB Technical Consulting www.rjbtech.com

Upload: parley

Post on 12-Feb-2016

45 views

Category:

Documents


0 download

DESCRIPTION

http://www.sharepointspecialists.com/. RJB Technical Consulting. www.rjbtech.com. [email protected]. Developing and Deploying Custom Solutions in SharePoint 2007. What will be covered. Creating custom solutions/features Using STSADM commands Activating features - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Developing and Deploying Custom Solutions  in SharePoint 2007

Developing and DeployingCustom Solutions in SharePoint 2007

http://www.sharepointspecialists.com/

[email protected]

RJB Technical Consulting

www.rjbtech.com

Page 2: Developing and Deploying Custom Solutions  in SharePoint 2007

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

Page 3: Developing and Deploying Custom Solutions  in SharePoint 2007

What are SharePoint Custom Solutions?

http://www.sharepointspecialists.com/

[email protected]

RJB Technical Consulting

www.rjbtech.com

Page 4: Developing and Deploying Custom Solutions  in SharePoint 2007

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.

Page 5: Developing and Deploying Custom Solutions  in SharePoint 2007

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

Page 6: Developing and Deploying Custom Solutions  in SharePoint 2007

How To Create Custom Solutions?

http://www.sharepointspecialists.com/

[email protected]

RJB Technical Consulting

www.rjbtech.com

Page 7: Developing and Deploying Custom Solutions  in SharePoint 2007

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

Page 8: Developing and Deploying Custom Solutions  in SharePoint 2007

How To Deploy Custom Solutions?

http://www.sharepointspecialists.com/

[email protected]

RJB Technical Consulting

www.rjbtech.com

Page 9: Developing and Deploying Custom Solutions  in SharePoint 2007

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

Page 10: Developing and Deploying Custom Solutions  in SharePoint 2007

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

Page 11: Developing and Deploying Custom Solutions  in SharePoint 2007

Take it away - to a demo!

• Connecting the dots…

Page 12: Developing and Deploying Custom Solutions  in SharePoint 2007

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