SlideShare a Scribd company logo
1 of 18
Feature and Solution Framework in SP2010 Ayman El-Hattab Technology Solution Professional MEA Center of Expertise SharePoint MVP ayman@aymanelhattab.com www.aymanelhattab.com
Session Objectives Become familiar with the Feature framework Understand how Solutions work Farm Solutions Vs. Sandboxed Solutions
Features Provide the primary deployment unit for SharePoint Can deliver functionality for Farms (SPFarm), Web Applications (SPWebApplication), Sites (SPSite) and Webs (SPWeb) Defined using CAML Allow .NET execution on Installation, Uninstallation, Activation, Deactivation and Upgrade.
Capabilities of Features Install files Modify user interface elements Define data structure and storage elements Columns Content Types Lists and Libraries Create Site Definitions Define Workflows Apply properties Almost everything you see and you don’t see in SharePoint
Features in the SharePoint Root 14emplateeatures Subdirectory for each feature (14emplateeaturesFeature Name]) Feature.xml (Manifest, Scope,…) 0 or more Elements (Fields, Content Types, etc…) 0 or more feature resources or element files (Master Page, Web Part,…)
Feature and Solution Framework in SP2010 Exploring OOB Features in SharePoint Root (14 hive) Demo
Installation and Activation It’s not enough to just put some XML files on the disk to make use of the feature Install WSP (Best Practice). STSADM or PowerShell Activate Feature Site Administration STSADM or PowerShell
Feature and Solution Framework in SP2010 Manually Create, Install and Activate a Module Feature Demo
Demo Recap We manually created a feature with a module element. A module element can be used to deploy any files ( Master Pages, CSS Files, Images,…) We manually installed the feature using stsadm command line utility. We manually activated the Web-scoped feature from Site settings page.
Other feature elements Site Columns Content Types (Reusable collection of site columns) List Definitions List Instances Content Type Binding Web Parts Site Templates Workflow / Workflow Association Event Handlers (Triggers) Others
Defining Data Structures Field element defines a Site Columns ContentType element defines a Site Content Type ListInstance defines an instance of a list definition ContentTypeBinding element binds a content type to a list
Defining Data Structures (The easy way!) Prototype and extract CAML definitions using SharePoint Manager 2010 Create a site collection for prototyping and another one for development http://spm.codeplex.com
Feature and Solution Framework in SP2010 Defining Data Structures Using Features Demo
Solutions Package features and other resources into one package for deployment (cabinet file) Can contain assemblies (Receivers, Code Behind for pages or user controls, Web Part code,…) WSPBuilder for SharePoint 2007 (http://wspbuilder.codeplex.com ) Easily created with Visual Studio 2010.
Farm SolutionsHow does it work in detail MySolution.wsp(WSS Solution Cab) ConfigDB add Feature Manifests delete Site definitions Assemblies UI, CommandLine, OM“deploy”command Deploy/Upgrade Pages retract Farm Servers
Sandboxed SolutionsSolution catalog Great choice for hosted scenarios. Uploaded to the Solution gallery available at the site collection level and can be monitored and tracked by admins (No more infinite loops).
Feature and Solution Framework in SP2010 Creating solutions by saving a site as a template! Demo
Feature and Solution Framework in SharePoint 2010, Ayman El-Hattab MVP

More Related Content

What's hot

Kathryn Birstein: SharePoint 2010 Business Intelligence-Brining It All Together
Kathryn Birstein: SharePoint 2010 Business Intelligence-Brining It All TogetherKathryn Birstein: SharePoint 2010 Business Intelligence-Brining It All Together
Kathryn Birstein: SharePoint 2010 Business Intelligence-Brining It All Together
SharePoint Saturday NY
 
SharePoint 2007 Presentation
SharePoint 2007 PresentationSharePoint 2007 Presentation
SharePoint 2007 Presentation
Ajay Jain
 
Ofc216 Shah German Webcms
Ofc216 Shah German WebcmsOfc216 Shah German Webcms
Ofc216 Shah German Webcms
Punk Rock
 
Introduction to Access Services
Introduction to Access ServicesIntroduction to Access Services
Introduction to Access Services
Matthew Jimison
 
Web design process
Web design processWeb design process
Web design process
Gifty Razouk
 

What's hot (16)

Kathryn Birstein: SharePoint 2010 Business Intelligence-Brining It All Together
Kathryn Birstein: SharePoint 2010 Business Intelligence-Brining It All TogetherKathryn Birstein: SharePoint 2010 Business Intelligence-Brining It All Together
Kathryn Birstein: SharePoint 2010 Business Intelligence-Brining It All Together
 
[Tech.Ed India 2011] SharePoint Designer 2010 Top 10
[Tech.Ed India 2011] SharePoint Designer 2010 Top 10[Tech.Ed India 2011] SharePoint Designer 2010 Top 10
[Tech.Ed India 2011] SharePoint Designer 2010 Top 10
 
[Tech.Ed India 2011] Backup and Restore SharePoint 2010
[Tech.Ed India 2011] Backup and Restore SharePoint 2010[Tech.Ed India 2011] Backup and Restore SharePoint 2010
[Tech.Ed India 2011] Backup and Restore SharePoint 2010
 
SharePoint 2007 Presentation
SharePoint 2007 PresentationSharePoint 2007 Presentation
SharePoint 2007 Presentation
 
ALUI 6.5
ALUI 6.5ALUI 6.5
ALUI 6.5
 
SharePoint 2013 Client Side Rendering
SharePoint 2013 Client Side RenderingSharePoint 2013 Client Side Rendering
SharePoint 2013 Client Side Rendering
 
Share point developement Introduction for students
Share point developement Introduction for studentsShare point developement Introduction for students
Share point developement Introduction for students
 
My first Oracle ADF application deployment
My first Oracle ADF application deploymentMy first Oracle ADF application deployment
My first Oracle ADF application deployment
 
Ofc216 Shah German Webcms
Ofc216 Shah German WebcmsOfc216 Shah German Webcms
Ofc216 Shah German Webcms
 
Introduction to Access Services
Introduction to Access ServicesIntroduction to Access Services
Introduction to Access Services
 
SharePoint 2013 variations feature
SharePoint 2013 variations featureSharePoint 2013 variations feature
SharePoint 2013 variations feature
 
forms builder
forms builderforms builder
forms builder
 
Oracle adf online training - Lavishka Technologies
Oracle adf online training - Lavishka TechnologiesOracle adf online training - Lavishka Technologies
Oracle adf online training - Lavishka Technologies
 
Customizing the SharePoint 2013 user interface with JavaScript - Chris OBrien
Customizing the SharePoint 2013 user interface with JavaScript - Chris OBrienCustomizing the SharePoint 2013 user interface with JavaScript - Chris OBrien
Customizing the SharePoint 2013 user interface with JavaScript - Chris OBrien
 
Web design process
Web design processWeb design process
Web design process
 
Apps for SharePoint 2013
Apps for SharePoint 2013Apps for SharePoint 2013
Apps for SharePoint 2013
 

Similar to Feature and Solution Framework in SharePoint 2010, Ayman El-Hattab MVP

SharePoint - Right Intro To Development
SharePoint - Right Intro To DevelopmentSharePoint - Right Intro To Development
SharePoint - Right Intro To Development
Mark Rackley
 
Site Templates in SP 13
Site Templates in SP 13Site Templates in SP 13
Site Templates in SP 13
Shahzad S
 
2010preparingforupgradeoleson
2010preparingforupgradeoleson2010preparingforupgradeoleson
2010preparingforupgradeoleson
UGAIA
 
Wss Object Model
Wss Object ModelWss Object Model
Wss Object Model
maddinapudi
 

Similar to Feature and Solution Framework in SharePoint 2010, Ayman El-Hattab MVP (20)

Sharepoint Online
Sharepoint OnlineSharepoint Online
Sharepoint Online
 
SoCalCodeCamp SharePoint Server 2010 a Developer Platform
SoCalCodeCamp SharePoint Server 2010 a Developer PlatformSoCalCodeCamp SharePoint Server 2010 a Developer Platform
SoCalCodeCamp SharePoint Server 2010 a Developer Platform
 
SharePoint Developer Education Day Palo Alto
SharePoint  Developer Education Day  Palo  AltoSharePoint  Developer Education Day  Palo  Alto
SharePoint Developer Education Day Palo Alto
 
Introduction To Microsoft SharePoint 2013
Introduction To Microsoft SharePoint 2013Introduction To Microsoft SharePoint 2013
Introduction To Microsoft SharePoint 2013
 
4 tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development4   tools, sandboxed solutionds, web part development
4 tools, sandboxed solutionds, web part development
 
Share Point Object Model
Share Point Object ModelShare Point Object Model
Share Point Object Model
 
SharePoint - Right Intro To Development
SharePoint - Right Intro To DevelopmentSharePoint - Right Intro To Development
SharePoint - Right Intro To Development
 
Site Templates in SP 13
Site Templates in SP 13Site Templates in SP 13
Site Templates in SP 13
 
SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP
SharePoint 2010 as a Development Platform, Ayman El-Hattab MVPSharePoint 2010 as a Development Platform, Ayman El-Hattab MVP
SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP
 
Getting Started with SharePoint Development
Getting Started with SharePoint DevelopmentGetting Started with SharePoint Development
Getting Started with SharePoint Development
 
2010preparingforupgradeoleson
2010preparingforupgradeoleson2010preparingforupgradeoleson
2010preparingforupgradeoleson
 
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
 
Preparing for Upgrade to SharePoint 2010 Today
Preparing for Upgrade to SharePoint 2010 TodayPreparing for Upgrade to SharePoint 2010 Today
Preparing for Upgrade to SharePoint 2010 Today
 
Share point 2010 overview
Share point 2010 overviewShare point 2010 overview
Share point 2010 overview
 
Branding & Design Opportunities/Challenges with SharePoint 2013
Branding & Design Opportunities/Challenges with SharePoint 2013Branding & Design Opportunities/Challenges with SharePoint 2013
Branding & Design Opportunities/Challenges with SharePoint 2013
 
Exam 70-488 Developing Microsoft SharePoint Server 2013 Core Solutions Learni...
Exam 70-488 Developing Microsoft SharePoint Server 2013 Core Solutions Learni...Exam 70-488 Developing Microsoft SharePoint Server 2013 Core Solutions Learni...
Exam 70-488 Developing Microsoft SharePoint Server 2013 Core Solutions Learni...
 
SharePoint Site templates, site definitions, feature stapling
SharePoint Site templates, site definitions, feature staplingSharePoint Site templates, site definitions, feature stapling
SharePoint Site templates, site definitions, feature stapling
 
SharePoint 2010 For Developers
SharePoint 2010 For DevelopersSharePoint 2010 For Developers
SharePoint 2010 For Developers
 
Wss Object Model
Wss Object ModelWss Object Model
Wss Object Model
 
IBM WebSphere Portal
IBM WebSphere PortalIBM WebSphere Portal
IBM WebSphere Portal
 

More from Ayman El-Hattab

Light Up Your Intranet with 10 Cools Apps
Light Up Your Intranet with 10 Cools AppsLight Up Your Intranet with 10 Cools Apps
Light Up Your Intranet with 10 Cools Apps
Ayman El-Hattab
 
Visual Studio 2012 Tools for Team Work - From Visual Studio 2012 Launch in Egypt
Visual Studio 2012 Tools for Team Work - From Visual Studio 2012 Launch in EgyptVisual Studio 2012 Tools for Team Work - From Visual Studio 2012 Launch in Egypt
Visual Studio 2012 Tools for Team Work - From Visual Studio 2012 Launch in Egypt
Ayman El-Hattab
 
SharePoint Sandboxed Solutions and InfoPath - TechEd Middle East
SharePoint Sandboxed Solutions and InfoPath - TechEd Middle EastSharePoint Sandboxed Solutions and InfoPath - TechEd Middle East
SharePoint Sandboxed Solutions and InfoPath - TechEd Middle East
Ayman El-Hattab
 
Data-Centric Composites and Mashups in SharePoint 2010 - TechEd Middle East
Data-Centric Composites and Mashups in SharePoint 2010 - TechEd Middle EastData-Centric Composites and Mashups in SharePoint 2010 - TechEd Middle East
Data-Centric Composites and Mashups in SharePoint 2010 - TechEd Middle East
Ayman El-Hattab
 
Connecting to LOB Systems Using BCS, Ayman El-Hattab, MVP
Connecting to LOB Systems Using BCS, Ayman El-Hattab, MVPConnecting to LOB Systems Using BCS, Ayman El-Hattab, MVP
Connecting to LOB Systems Using BCS, Ayman El-Hattab, MVP
Ayman El-Hattab
 
SharePoint 2010 Web Application Architecture_ Ayman El-Hattab,MVP
SharePoint 2010 Web Application Architecture_ Ayman El-Hattab,MVPSharePoint 2010 Web Application Architecture_ Ayman El-Hattab,MVP
SharePoint 2010 Web Application Architecture_ Ayman El-Hattab,MVP
Ayman El-Hattab
 
SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP
SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVPSharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP
SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP
Ayman El-Hattab
 
SharePoint 2010 Workflows - Ayman El Hattab
SharePoint 2010 Workflows -  Ayman El HattabSharePoint 2010 Workflows -  Ayman El Hattab
SharePoint 2010 Workflows - Ayman El Hattab
Ayman El-Hattab
 

More from Ayman El-Hattab (20)

Application Lifecycle Management for Nintex Solutions
Application Lifecycle Management for Nintex SolutionsApplication Lifecycle Management for Nintex Solutions
Application Lifecycle Management for Nintex Solutions
 
Boost O365 User Adoption with 10 Cool Add-ins!
Boost O365 User Adoption with 10 Cool Add-ins!Boost O365 User Adoption with 10 Cool Add-ins!
Boost O365 User Adoption with 10 Cool Add-ins!
 
Light Up Your Intranet with 10 Cools Apps
Light Up Your Intranet with 10 Cools AppsLight Up Your Intranet with 10 Cools Apps
Light Up Your Intranet with 10 Cools Apps
 
Web Content Management in SharePoint Server 2013 & Office 365
Web Content Management in SharePoint Server 2013 & Office 365Web Content Management in SharePoint Server 2013 & Office 365
Web Content Management in SharePoint Server 2013 & Office 365
 
Visual Studio 2012 Tools for Team Work - From Visual Studio 2012 Launch in Egypt
Visual Studio 2012 Tools for Team Work - From Visual Studio 2012 Launch in EgyptVisual Studio 2012 Tools for Team Work - From Visual Studio 2012 Launch in Egypt
Visual Studio 2012 Tools for Team Work - From Visual Studio 2012 Launch in Egypt
 
Using Virtual Test Labs for SharePoint
Using Virtual Test Labs for SharePoint Using Virtual Test Labs for SharePoint
Using Virtual Test Labs for SharePoint
 
TechDays Tunisia - Visual Studio & SQL Server, Better Together - Ayman El-Hattab
TechDays Tunisia - Visual Studio & SQL Server, Better Together - Ayman El-HattabTechDays Tunisia - Visual Studio & SQL Server, Better Together - Ayman El-Hattab
TechDays Tunisia - Visual Studio & SQL Server, Better Together - Ayman El-Hattab
 
SQL Server Development Tools & Processes Using Visual Studio 2010
SQL Server Development Tools & Processes Using Visual Studio 2010 SQL Server Development Tools & Processes Using Visual Studio 2010
SQL Server Development Tools & Processes Using Visual Studio 2010
 
Visual Studio 2010 Testing & Lab Management Tools
Visual Studio 2010 Testing & Lab Management ToolsVisual Studio 2010 Testing & Lab Management Tools
Visual Studio 2010 Testing & Lab Management Tools
 
Visual Studio 2010 ALM Tools Overview
Visual Studio 2010 ALM Tools Overview Visual Studio 2010 ALM Tools Overview
Visual Studio 2010 ALM Tools Overview
 
SharePoint Application Lifecycle Management (ALM)
SharePoint Application Lifecycle Management (ALM)SharePoint Application Lifecycle Management (ALM)
SharePoint Application Lifecycle Management (ALM)
 
SharePoint 2010 as a Development Platform
SharePoint 2010 as a Development PlatformSharePoint 2010 as a Development Platform
SharePoint 2010 as a Development Platform
 
SharePoint Sandboxed Solutions and InfoPath - TechEd Middle East
SharePoint Sandboxed Solutions and InfoPath - TechEd Middle EastSharePoint Sandboxed Solutions and InfoPath - TechEd Middle East
SharePoint Sandboxed Solutions and InfoPath - TechEd Middle East
 
Data-Centric Composites and Mashups in SharePoint 2010 - TechEd Middle East
Data-Centric Composites and Mashups in SharePoint 2010 - TechEd Middle EastData-Centric Composites and Mashups in SharePoint 2010 - TechEd Middle East
Data-Centric Composites and Mashups in SharePoint 2010 - TechEd Middle East
 
Creating No-Code BCS Solutions in SharePoint 2010 and Office 2010–From TechEd...
Creating No-Code BCS Solutions in SharePoint 2010 and Office 2010–From TechEd...Creating No-Code BCS Solutions in SharePoint 2010 and Office 2010–From TechEd...
Creating No-Code BCS Solutions in SharePoint 2010 and Office 2010–From TechEd...
 
Connecting to LOB Systems Using BCS, Ayman El-Hattab, MVP
Connecting to LOB Systems Using BCS, Ayman El-Hattab, MVPConnecting to LOB Systems Using BCS, Ayman El-Hattab, MVP
Connecting to LOB Systems Using BCS, Ayman El-Hattab, MVP
 
SharePoint 2010 Web Application Architecture_ Ayman El-Hattab,MVP
SharePoint 2010 Web Application Architecture_ Ayman El-Hattab,MVPSharePoint 2010 Web Application Architecture_ Ayman El-Hattab,MVP
SharePoint 2010 Web Application Architecture_ Ayman El-Hattab,MVP
 
SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP
SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVPSharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP
SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP
 
Introducing SharePoint 2010 to Computer Science Students
Introducing SharePoint 2010 to Computer Science StudentsIntroducing SharePoint 2010 to Computer Science Students
Introducing SharePoint 2010 to Computer Science Students
 
SharePoint 2010 Workflows - Ayman El Hattab
SharePoint 2010 Workflows -  Ayman El HattabSharePoint 2010 Workflows -  Ayman El Hattab
SharePoint 2010 Workflows - Ayman El Hattab
 

Recently uploaded

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 

Feature and Solution Framework in SharePoint 2010, Ayman El-Hattab MVP

  • 1. Feature and Solution Framework in SP2010 Ayman El-Hattab Technology Solution Professional MEA Center of Expertise SharePoint MVP ayman@aymanelhattab.com www.aymanelhattab.com
  • 2. Session Objectives Become familiar with the Feature framework Understand how Solutions work Farm Solutions Vs. Sandboxed Solutions
  • 3. Features Provide the primary deployment unit for SharePoint Can deliver functionality for Farms (SPFarm), Web Applications (SPWebApplication), Sites (SPSite) and Webs (SPWeb) Defined using CAML Allow .NET execution on Installation, Uninstallation, Activation, Deactivation and Upgrade.
  • 4. Capabilities of Features Install files Modify user interface elements Define data structure and storage elements Columns Content Types Lists and Libraries Create Site Definitions Define Workflows Apply properties Almost everything you see and you don’t see in SharePoint
  • 5. Features in the SharePoint Root 14emplateeatures Subdirectory for each feature (14emplateeaturesFeature Name]) Feature.xml (Manifest, Scope,…) 0 or more Elements (Fields, Content Types, etc…) 0 or more feature resources or element files (Master Page, Web Part,…)
  • 6. Feature and Solution Framework in SP2010 Exploring OOB Features in SharePoint Root (14 hive) Demo
  • 7. Installation and Activation It’s not enough to just put some XML files on the disk to make use of the feature Install WSP (Best Practice). STSADM or PowerShell Activate Feature Site Administration STSADM or PowerShell
  • 8. Feature and Solution Framework in SP2010 Manually Create, Install and Activate a Module Feature Demo
  • 9. Demo Recap We manually created a feature with a module element. A module element can be used to deploy any files ( Master Pages, CSS Files, Images,…) We manually installed the feature using stsadm command line utility. We manually activated the Web-scoped feature from Site settings page.
  • 10. Other feature elements Site Columns Content Types (Reusable collection of site columns) List Definitions List Instances Content Type Binding Web Parts Site Templates Workflow / Workflow Association Event Handlers (Triggers) Others
  • 11. Defining Data Structures Field element defines a Site Columns ContentType element defines a Site Content Type ListInstance defines an instance of a list definition ContentTypeBinding element binds a content type to a list
  • 12. Defining Data Structures (The easy way!) Prototype and extract CAML definitions using SharePoint Manager 2010 Create a site collection for prototyping and another one for development http://spm.codeplex.com
  • 13. Feature and Solution Framework in SP2010 Defining Data Structures Using Features Demo
  • 14. Solutions Package features and other resources into one package for deployment (cabinet file) Can contain assemblies (Receivers, Code Behind for pages or user controls, Web Part code,…) WSPBuilder for SharePoint 2007 (http://wspbuilder.codeplex.com ) Easily created with Visual Studio 2010.
  • 15. Farm SolutionsHow does it work in detail MySolution.wsp(WSS Solution Cab) ConfigDB add Feature Manifests delete Site definitions Assemblies UI, CommandLine, OM“deploy”command Deploy/Upgrade Pages retract Farm Servers
  • 16. Sandboxed SolutionsSolution catalog Great choice for hosted scenarios. Uploaded to the Solution gallery available at the site collection level and can be monitored and tracked by admins (No more infinite loops).
  • 17. Feature and Solution Framework in SP2010 Creating solutions by saving a site as a template! Demo