SlideShare une entreprise Scribd logo
1  sur  31
Salaudeen Rajack [email_address] Best Practices for  SharePoint Solution Deployment
SharePoint Solution Packages ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Master pages, layouts, CSS, images, scripts – Developer Reference ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Site customizations Vs Solutions Development
Solution Life Cycle
Tools ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Deploying SharePoint Solutions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Front-End Web Servers Stsadm –o addsolution    –filename  mypackage.wsp Solution Store stsadm -o deploysolution    -name  mypackage.wsp     –local -url  IISWebApp
Retracting SharePoint Solutions ,[object Object],[object Object],[object Object],[object Object]
Upgrading Solutions Stsadm –o addsolution –filename mysolution.wsp Deploy  Solution Stsadm –o upgradesolution -name mysolution.wsp  –filename mysolution.wsp –immediate -allowgacdeployment MySolution.wsp (v 1.0) MySolution.wsp (v 2.0) MySolution.wsp SolutionID must be the same!
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],WSS Component Development
Features ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Solution deployment ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],The Root files directory: Web Service files GLOBAL .RESX files Application   Pages User Controls Features Field*.xml files Site   Definitions Images Admin Pages
Whats inside manifest.xml MyStuff.wsp manifest.xml Other Stuff Templates/components
[object Object],A Sample Manifest.xml file
[object Object],[object Object],[object Object],Building the .WSP file Solution Package Build Process Input DDF File MAKECAB.EXE Output WSP File
[object Object],[object Object],DDF file – closer look MyStuff.wsp
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],REM - Deploy Solution Package MyStuff.wsp to Web servers in farm %STSADM% -o deploysolution -name MyStuff.wsp -immediate REM – force batch file to run timer job synchronously %STSADM% -o execadmsvcjobs REM - Install CustomApplicationPages.wsp in WSS Solution Package Store %STSADM% -o addsolution -filename MyStuff.wsp REM – force batch file to run timer job synchronously %STSADM% -o execadmsvcjobs Two Phases of WSP Deployment .WSP Install WSP ConfigDB .WSP Deploy WFE WFE WFE ConfigDB WSP
[object Object],[object Object],[object Object],Solution Management
[object Object],Solution Package Properties
[object Object],[object Object],[object Object],[object Object],Application Pages -  Best Practices
[object Object],[object Object],[object Object],[object Object],[object Object],Custom Site Pages
[object Object],[object Object],[object Object],Field Types
[object Object],[object Object],[object Object],Web Parts
Web Part inside the WSP ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Permissions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Typical batch files for Install/Retract solutions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],General Guidelines
Check List ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Resources ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Shoot your queries to [email_address] Thank You!

Contenu connexe

Tendances

SharePoint 2010 Upgrade
SharePoint 2010 UpgradeSharePoint 2010 Upgrade
SharePoint 2010 Upgrade
vmaximiuk
 

Tendances (20)

(ATS6-APP09) ELN configuration management with ADM
(ATS6-APP09) ELN configuration management with ADM(ATS6-APP09) ELN configuration management with ADM
(ATS6-APP09) ELN configuration management with ADM
 
8 Tools for Troubleshooting Windows 8
8 Tools for Troubleshooting Windows 8 8 Tools for Troubleshooting Windows 8
8 Tools for Troubleshooting Windows 8
 
50 Shades of SharePoint: SharePoint 2013 Insanity Demystified
50 Shades of SharePoint: SharePoint 2013 Insanity Demystified50 Shades of SharePoint: SharePoint 2013 Insanity Demystified
50 Shades of SharePoint: SharePoint 2013 Insanity Demystified
 
TEC2010 SharePoint 2010 Upgrade
TEC2010 SharePoint 2010 UpgradeTEC2010 SharePoint 2010 Upgrade
TEC2010 SharePoint 2010 Upgrade
 
AAI-1445 Managing Dynamic Workloads with WebSphere ND and in the Cloud
AAI-1445 Managing Dynamic Workloads with WebSphere ND and in the CloudAAI-1445 Managing Dynamic Workloads with WebSphere ND and in the Cloud
AAI-1445 Managing Dynamic Workloads with WebSphere ND and in the Cloud
 
AAI-2016 WebSphere Application Server Installation and Maintenance in the Ent...
AAI-2016 WebSphere Application Server Installation and Maintenance in the Ent...AAI-2016 WebSphere Application Server Installation and Maintenance in the Ent...
AAI-2016 WebSphere Application Server Installation and Maintenance in the Ent...
 
Unbreakable SharePoint 2016 with SQL Server 2016 Always On Availability groups
Unbreakable SharePoint 2016 with SQL Server 2016 Always On Availability groupsUnbreakable SharePoint 2016 with SQL Server 2016 Always On Availability groups
Unbreakable SharePoint 2016 with SQL Server 2016 Always On Availability groups
 
(ATS3-APP08) Top 10 things every Symyx Notebook by Accelrys Administrator sho...
(ATS3-APP08) Top 10 things every Symyx Notebook by Accelrys Administrator sho...(ATS3-APP08) Top 10 things every Symyx Notebook by Accelrys Administrator sho...
(ATS3-APP08) Top 10 things every Symyx Notebook by Accelrys Administrator sho...
 
(ATS4-APP01) Tips and Tricks for a Successful Installation of Accelrys Electr...
(ATS4-APP01) Tips and Tricks for a Successful Installation of Accelrys Electr...(ATS4-APP01) Tips and Tricks for a Successful Installation of Accelrys Electr...
(ATS4-APP01) Tips and Tricks for a Successful Installation of Accelrys Electr...
 
Was liberty
Was libertyWas liberty
Was liberty
 
Siebel Server Cloning available in 8.1.1.9 / 8.2.2.2
Siebel Server Cloning available in 8.1.1.9 / 8.2.2.2Siebel Server Cloning available in 8.1.1.9 / 8.2.2.2
Siebel Server Cloning available in 8.1.1.9 / 8.2.2.2
 
SharePoint 2010 Upgrade
SharePoint 2010 UpgradeSharePoint 2010 Upgrade
SharePoint 2010 Upgrade
 
(ATS3-APP14) Troubleshooting Symyx Notebook client performance
(ATS3-APP14) Troubleshooting Symyx Notebook client performance(ATS3-APP14) Troubleshooting Symyx Notebook client performance
(ATS3-APP14) Troubleshooting Symyx Notebook client performance
 
AAI-3218 Production Deployment Best Practices for WebSphere Liberty Profile
AAI-3218 Production Deployment Best Practices for WebSphere Liberty ProfileAAI-3218 Production Deployment Best Practices for WebSphere Liberty Profile
AAI-3218 Production Deployment Best Practices for WebSphere Liberty Profile
 
WebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination FeaturesWebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination Features
 
(ATS4-APP09)Tips and tricks for Managing Symyx Notebook Server Performance
(ATS4-APP09)Tips and tricks for Managing Symyx Notebook Server Performance(ATS4-APP09)Tips and tricks for Managing Symyx Notebook Server Performance
(ATS4-APP09)Tips and tricks for Managing Symyx Notebook Server Performance
 
OFC304 MOSS Upgrade and Migration
OFC304 MOSS Upgrade and MigrationOFC304 MOSS Upgrade and Migration
OFC304 MOSS Upgrade and Migration
 
[DanNotes] XPages - Beyound the Basics
[DanNotes] XPages - Beyound the Basics[DanNotes] XPages - Beyound the Basics
[DanNotes] XPages - Beyound the Basics
 
VMworld 2013: What's New with VMware Horizon Workspace: Technical Deep Dive
VMworld 2013: What's New with VMware Horizon Workspace: Technical Deep DiveVMworld 2013: What's New with VMware Horizon Workspace: Technical Deep Dive
VMworld 2013: What's New with VMware Horizon Workspace: Technical Deep Dive
 
Windows shell integration advanced
Windows shell integration advancedWindows shell integration advanced
Windows shell integration advanced
 

En vedette

Tackling 10 Key Manufacturing Challenges with SharePoint 2013
Tackling 10 Key Manufacturing Challenges with SharePoint 2013Tackling 10 Key Manufacturing Challenges with SharePoint 2013
Tackling 10 Key Manufacturing Challenges with SharePoint 2013
TrigentSoftDeck
 

En vedette (9)

Overview share point 2010 cases sharepoint 2010
Overview share point 2010 cases sharepoint 2010Overview share point 2010 cases sharepoint 2010
Overview share point 2010 cases sharepoint 2010
 
Redes sociales | Binational Centers
Redes sociales | Binational Centers Redes sociales | Binational Centers
Redes sociales | Binational Centers
 
Tackling 10 Key Manufacturing Challenges with SharePoint 2013
Tackling 10 Key Manufacturing Challenges with SharePoint 2013Tackling 10 Key Manufacturing Challenges with SharePoint 2013
Tackling 10 Key Manufacturing Challenges with SharePoint 2013
 
The Seven Most Important (Non Technical) Factors for Sharepoint Success
The Seven Most Important (Non Technical) Factors for Sharepoint SuccessThe Seven Most Important (Non Technical) Factors for Sharepoint Success
The Seven Most Important (Non Technical) Factors for Sharepoint Success
 
Migrating Your Intranet to SharePoint Online
Migrating Your Intranet to SharePoint OnlineMigrating Your Intranet to SharePoint Online
Migrating Your Intranet to SharePoint Online
 
SharePoint Folders vs. Metadata
SharePoint Folders vs. MetadataSharePoint Folders vs. Metadata
SharePoint Folders vs. Metadata
 
10 Reasons to Avoid Folders in SharePoint 2013/2010
10 Reasons to Avoid Folders in SharePoint 2013/201010 Reasons to Avoid Folders in SharePoint 2013/2010
10 Reasons to Avoid Folders in SharePoint 2013/2010
 
Document Management in SharePoint without folders - Introduction to Metadata
Document Management in SharePoint without folders - Introduction to MetadataDocument Management in SharePoint without folders - Introduction to Metadata
Document Management in SharePoint without folders - Introduction to Metadata
 
Portfólio empresarial
Portfólio empresarialPortfólio empresarial
Portfólio empresarial
 

Similaire à Best practices for share point solution deployment

PHP North-East - Automated Deployment
PHP North-East - Automated DeploymentPHP North-East - Automated Deployment
PHP North-East - Automated Deployment
Michael Peacock
 
SharePoint 2010 Training Session 3
SharePoint 2010 Training Session 3SharePoint 2010 Training Session 3
SharePoint 2010 Training Session 3
Usman Zafar Malik
 

Similaire à Best practices for share point solution deployment (20)

Best Practices Configuring And Developing Share Point Solutions
Best Practices Configuring And Developing Share Point SolutionsBest Practices Configuring And Developing Share Point Solutions
Best Practices Configuring And Developing Share Point Solutions
 
Deploying Code In SharePoint
Deploying Code In SharePointDeploying Code In SharePoint
Deploying Code In SharePoint
 
SharePoint Development For Asp Net Developers
SharePoint Development For Asp Net DevelopersSharePoint Development For Asp Net Developers
SharePoint Development For Asp Net Developers
 
Developer application lifecycle process and tools - v.5
Developer application lifecycle process and tools - v.5Developer application lifecycle process and tools - v.5
Developer application lifecycle process and tools - v.5
 
PHP North-East - Automated Deployment
PHP North-East - Automated DeploymentPHP North-East - Automated Deployment
PHP North-East - Automated Deployment
 
Automated Deployment
Automated DeploymentAutomated Deployment
Automated Deployment
 
Connections customization lite
Connections customization liteConnections customization lite
Connections customization lite
 
ECS 19 - Chris O'Brien - The hit list - Office 365 dev techniques you should ...
ECS 19 - Chris O'Brien - The hit list - Office 365 dev techniques you should ...ECS 19 - Chris O'Brien - The hit list - Office 365 dev techniques you should ...
ECS 19 - Chris O'Brien - The hit list - Office 365 dev techniques you should ...
 
Really Simple Web Content Management
Really Simple Web Content ManagementReally Simple Web Content Management
Really Simple Web Content Management
 
Monitoring and Maintaining SharePoint 2013 Server
Monitoring and Maintaining SharePoint 2013 ServerMonitoring and Maintaining SharePoint 2013 Server
Monitoring and Maintaining SharePoint 2013 Server
 
FabricServer Technology Overview
FabricServer Technology OverviewFabricServer Technology Overview
FabricServer Technology Overview
 
SharePoint Object Model, Web Services and Events
SharePoint Object Model, Web Services and EventsSharePoint Object Model, Web Services and Events
SharePoint Object Model, Web Services and Events
 
CUST-3 Document Management with Share
CUST-3 Document Management with ShareCUST-3 Document Management with Share
CUST-3 Document Management with Share
 
Vs2005p
Vs2005pVs2005p
Vs2005p
 
Upgrade to SharePoint 2010, Shai Petel SharePoint Conference Las Vegas Sep 2009
Upgrade to SharePoint 2010, Shai Petel SharePoint Conference Las Vegas Sep 2009Upgrade to SharePoint 2010, Shai Petel SharePoint Conference Las Vegas Sep 2009
Upgrade to SharePoint 2010, Shai Petel SharePoint Conference Las Vegas Sep 2009
 
XPages -Beyond the Basics
XPages -Beyond the BasicsXPages -Beyond the Basics
XPages -Beyond the Basics
 
SharePoint 2010 Training Session 3
SharePoint 2010 Training Session 3SharePoint 2010 Training Session 3
SharePoint 2010 Training Session 3
 
Automating Your Enterprise Application Deployments with PowerShell
Automating Your Enterprise Application Deployments with PowerShellAutomating Your Enterprise Application Deployments with PowerShell
Automating Your Enterprise Application Deployments with PowerShell
 
Intro To Version Control
Intro To Version ControlIntro To Version Control
Intro To Version Control
 
Updating Legacy SharePoint Customizations to the Add-in Model
Updating Legacy SharePoint Customizations to the Add-in ModelUpdating Legacy SharePoint Customizations to the Add-in Model
Updating Legacy SharePoint Customizations to the Add-in Model
 

Best practices for share point solution deployment

  • 1. Salaudeen Rajack [email_address] Best Practices for SharePoint Solution Deployment
  • 2.
  • 3.
  • 4.
  • 6.
  • 7.
  • 8.
  • 9. Upgrading Solutions Stsadm –o addsolution –filename mysolution.wsp Deploy Solution Stsadm –o upgradesolution -name mysolution.wsp –filename mysolution.wsp –immediate -allowgacdeployment MySolution.wsp (v 1.0) MySolution.wsp (v 2.0) MySolution.wsp SolutionID must be the same!
  • 10.
  • 11.
  • 12.
  • 13.
  • 14. Whats inside manifest.xml MyStuff.wsp manifest.xml Other Stuff Templates/components
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31. Shoot your queries to [email_address] Thank You!

Notes de l'éditeur

  1. http://msdn.microsoft.com/en-us/library/ms476046.aspx
  2. SharePoint Customizations Versus Development
  3. STSDEV is a proof-of-concept utility application which demonstrates how to generate Visual Studio project files and solution files to facilitate the development and deployment of templates and components for the SharePoint 2007 platform including Windows SharePoint Services 3.0 (WSS) and Microsoft Office SharePoint Server 2007 (MOSS). Note that the current version of the stsdev utility only supports creating projects with the C# programming language. Main strongpoint: relies on build targets not on projecttype (WSP builder and VSeWSS introduce a projecttype). Main weakness: only one dll per solution. SharePoint Installer This project is a Windows application for an eased and more user friendly installation and deployment of SharePoint 2007 solution files to a SharePoint server farm. Distribute your SharePoint solution files with this installation program instead of a raw script using STSADM.EXE to install and deploy the solution. WSP Builder The WSPbuilder is a console application that creates SharePoint Solutions files based on a folder structure. WSPBuilder will automatically traverse a "12" folder structure and creates a SharePoint solution manifest.xml and the wsp file based on the files it finds. Therefore you do not need the knowledge of how to create a solution manifest.xml and wsp file any more. VSeWSS 1.2 Windows SharePoint Services 3.0 Tools: Visual Studio 2008 Extensions STSADM http://blogs.msdn.com/ronalus/archive/2007/01/04/stsadmwin-has-an-2007-version.aspx Gary Lapointe STSADM http://stsadm.blogspot.com/ SPOperation namespace, place dll in the GAC
  4. The set of features provided exclusively by Microsoft.SharePoint.WebPartPages.WebPart is as follows: Cross page connections Connections between Web Parts that are outside of a zone Client-side connections (Web Part Page Services Component) Data caching infrastructure, including the ability to cache to the database