SlideShare uma empresa Scribd logo
1 de 22
Provisioning sites using Web Templates in SharePoint 2010  Chakkaradeep (Chaks) Chandran SharePoint Consultant Microsoft
Session Objectives and Takeaways Site Provisioning Methods Web Templates – Getting Started Web Templates – Deep Dive Programmatically accessing web templates Tips and Tricks Demos
Site Provisioning Methods Site Definitions webtemp*.xml onet.xml Feature Stapling Site Templates (Save As) Custom Code Custom Site Definitions Provisioning Providers Web Templates Existing Site Definition Elements.xml + onet.xml Features
Why Web Templates? Developers want easy way to provision sites Based on standard SharePoint site definitions Something that is completely Feature Based No access to file server (Sandboxed!!!) Cloud Power
How to build one? Web Templates Existing Site Definition Elements.xml + onet.xml Features Elements.xml onet.xml
Farm or Site? Farm scoped feature  Available for the whole farm  Site scoped feature  Available for a particular site collection
demo Web Templates – Level 100 Getting Started
Activating Site Features (onet.xml) The SiteFeatures element contains references to site collection features to include in the site template Featureslisted in SiteFeatures elementare activated only during root site creation Featureslisted in SiteFeatures elementare not activated during sub-site creation workaround
Activating Site Features (Sandboxed Solutions) When you activate a sandboxed solution: Site features get automatically activated
Web Template ID Web Templates Existing Site Definition Elements.xml + onet.xml Features Records the Publishing template ID workaround {featureGUID}#WebTemplateName
demo Web Templates – Level 200 Deep Dive
Programmatically Accessing Web Templates SharePoint identifies your web template with the following: {FeatureGuid}#WebTemplateName PowerShell – Site Scoped C# PowerShell – Farm Scoped
Tips and Tricks Start from a simple site template SharePointRootEMPLATEiteTemplates Farm Scoped – Creating a root site collection Site Scoped – Creating a sub site
Tips and Tricks In Web Templates, you can only use Configuration ID 0 The Configuration element in the onet.xml file specifies the various lists and modules Avoid Modules, Use Features Feature Stapling is not available with Web Templates Web Templates do not support Variations
Review: Session Objectives and Takeaways Site Provisioning Methods Web Templates – Getting Started Web Templates – Deep Dive Programmatically accessing web templates Tips and Tricks Demos
Related Content - Thursday Developing Windows Phone 7 Applications for SharePoint 9:00 New Zealand 4 Real world service application federation with SharePoint 2010 10:40 Ballroom 2 Provisioning sites using Web Templates in SharePoint 2010 11:55 Ballroom 2 PowerShell and SharePoint: it’s not just for the SharePoint IT Pro 1:55 Ballroom 2
Related Content - Thursday The SharePoint 2010 Search Service Decoupled 3:10 New Zealand 3 Creating a Federated Extranet with ADFSv2 and SharePoint 2010 3:10 New Zealand 4 SharePoint 2010 Composites: Do-It-Yourself Business Solutions 4:30 Ballroom 2 Visualizing data and bringing business process to life with Visio Services 5:45 Ballroom 2
Related Content - Friday Using Visual Studio 2010 to Create SharePoint Load Tests 10:40 Ballroom 2 SharePoint 2010 and Project Server 2010 Together 11:55 Ballroom 2 What every developer should know about Office 1:55 Ballroom 2 SharePoint Throttling Explained 3:10 Ballroom 2
Track Resources SharePoint and FAST Search VM FAST Search Capacity Planning SharePoint 2010 Capacity Planning Search Topology Upgrade and migration resource center Resource Centers Current SharePoint Public Websites (wssdemo)
Resources Learning Microsoft Certification & Training Resources Connect. Share. Discuss. http://newzealand.msteched.com www.microsoft.com/learning Resources for IT Professionals Resources for Developers http://microsoft.com/msdn http://microsoft.com/technet
Evaluate your sessions on CommNet and go in the draw to win instant prizes
© 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation.  Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Mais conteúdo relacionado

Mais de Chakkaradeep Chandran

Building custom solutions for SharePoint 2010 Online
Building custom solutions for SharePoint 2010 Online Building custom solutions for SharePoint 2010 Online
Building custom solutions for SharePoint 2010 Online Chakkaradeep Chandran
 
Business Connectivity Services (BCS) for Developers
Business Connectivity Services (BCS) for Developers Business Connectivity Services (BCS) for Developers
Business Connectivity Services (BCS) for Developers Chakkaradeep Chandran
 
Building Solutions With Business Connectivity Services
Building Solutions With Business Connectivity ServicesBuilding Solutions With Business Connectivity Services
Building Solutions With Business Connectivity ServicesChakkaradeep Chandran
 
Getting Started with SharePoint Development
Getting Started with SharePoint DevelopmentGetting Started with SharePoint Development
Getting Started with SharePoint DevelopmentChakkaradeep Chandran
 
Visual Studio2010 Tools For Share Point
Visual Studio2010 Tools For Share PointVisual Studio2010 Tools For Share Point
Visual Studio2010 Tools For Share PointChakkaradeep Chandran
 

Mais de Chakkaradeep Chandran (7)

Building custom solutions for SharePoint 2010 Online
Building custom solutions for SharePoint 2010 Online Building custom solutions for SharePoint 2010 Online
Building custom solutions for SharePoint 2010 Online
 
Business Connectivity Services (BCS) for Developers
Business Connectivity Services (BCS) for Developers Business Connectivity Services (BCS) for Developers
Business Connectivity Services (BCS) for Developers
 
Building Solutions With Business Connectivity Services
Building Solutions With Business Connectivity ServicesBuilding Solutions With Business Connectivity Services
Building Solutions With Business Connectivity Services
 
Getting Started with SharePoint Development
Getting Started with SharePoint DevelopmentGetting Started with SharePoint Development
Getting Started with SharePoint Development
 
Visual Studio2010 Tools For Share Point
Visual Studio2010 Tools For Share PointVisual Studio2010 Tools For Share Point
Visual Studio2010 Tools For Share Point
 
Developing With Data Technologies
Developing With Data TechnologiesDeveloping With Data Technologies
Developing With Data Technologies
 
SharePoint And WCM
SharePoint And WCMSharePoint And WCM
SharePoint And WCM
 

Último

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 

Último (20)

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 

Provisioning Sites in SharePoint 2010 Using Web Templates

  • 1. Provisioning sites using Web Templates in SharePoint 2010 Chakkaradeep (Chaks) Chandran SharePoint Consultant Microsoft
  • 2. Session Objectives and Takeaways Site Provisioning Methods Web Templates – Getting Started Web Templates – Deep Dive Programmatically accessing web templates Tips and Tricks Demos
  • 3. Site Provisioning Methods Site Definitions webtemp*.xml onet.xml Feature Stapling Site Templates (Save As) Custom Code Custom Site Definitions Provisioning Providers Web Templates Existing Site Definition Elements.xml + onet.xml Features
  • 4. Why Web Templates? Developers want easy way to provision sites Based on standard SharePoint site definitions Something that is completely Feature Based No access to file server (Sandboxed!!!) Cloud Power
  • 5. How to build one? Web Templates Existing Site Definition Elements.xml + onet.xml Features Elements.xml onet.xml
  • 6. Farm or Site? Farm scoped feature Available for the whole farm Site scoped feature Available for a particular site collection
  • 7. demo Web Templates – Level 100 Getting Started
  • 8. Activating Site Features (onet.xml) The SiteFeatures element contains references to site collection features to include in the site template Featureslisted in SiteFeatures elementare activated only during root site creation Featureslisted in SiteFeatures elementare not activated during sub-site creation workaround
  • 9. Activating Site Features (Sandboxed Solutions) When you activate a sandboxed solution: Site features get automatically activated
  • 10. Web Template ID Web Templates Existing Site Definition Elements.xml + onet.xml Features Records the Publishing template ID workaround {featureGUID}#WebTemplateName
  • 11. demo Web Templates – Level 200 Deep Dive
  • 12. Programmatically Accessing Web Templates SharePoint identifies your web template with the following: {FeatureGuid}#WebTemplateName PowerShell – Site Scoped C# PowerShell – Farm Scoped
  • 13. Tips and Tricks Start from a simple site template SharePointRootEMPLATEiteTemplates Farm Scoped – Creating a root site collection Site Scoped – Creating a sub site
  • 14. Tips and Tricks In Web Templates, you can only use Configuration ID 0 The Configuration element in the onet.xml file specifies the various lists and modules Avoid Modules, Use Features Feature Stapling is not available with Web Templates Web Templates do not support Variations
  • 15. Review: Session Objectives and Takeaways Site Provisioning Methods Web Templates – Getting Started Web Templates – Deep Dive Programmatically accessing web templates Tips and Tricks Demos
  • 16. Related Content - Thursday Developing Windows Phone 7 Applications for SharePoint 9:00 New Zealand 4 Real world service application federation with SharePoint 2010 10:40 Ballroom 2 Provisioning sites using Web Templates in SharePoint 2010 11:55 Ballroom 2 PowerShell and SharePoint: it’s not just for the SharePoint IT Pro 1:55 Ballroom 2
  • 17. Related Content - Thursday The SharePoint 2010 Search Service Decoupled 3:10 New Zealand 3 Creating a Federated Extranet with ADFSv2 and SharePoint 2010 3:10 New Zealand 4 SharePoint 2010 Composites: Do-It-Yourself Business Solutions 4:30 Ballroom 2 Visualizing data and bringing business process to life with Visio Services 5:45 Ballroom 2
  • 18. Related Content - Friday Using Visual Studio 2010 to Create SharePoint Load Tests 10:40 Ballroom 2 SharePoint 2010 and Project Server 2010 Together 11:55 Ballroom 2 What every developer should know about Office 1:55 Ballroom 2 SharePoint Throttling Explained 3:10 Ballroom 2
  • 19. Track Resources SharePoint and FAST Search VM FAST Search Capacity Planning SharePoint 2010 Capacity Planning Search Topology Upgrade and migration resource center Resource Centers Current SharePoint Public Websites (wssdemo)
  • 20. Resources Learning Microsoft Certification & Training Resources Connect. Share. Discuss. http://newzealand.msteched.com www.microsoft.com/learning Resources for IT Professionals Resources for Developers http://microsoft.com/msdn http://microsoft.com/technet
  • 21. Evaluate your sessions on CommNet and go in the draw to win instant prizes
  • 22. © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Notas do Editor

  1. This slide is recommended as a final slide to recap the objectives of the session to remind attendees what you said would be covered and to highlight that you did indeed cover those points. The objectives listed on this slide should match the objectives covered on the required Objective slide at the beginning of your presentation. If you have questions, please contact your Track PM listed below:Track Name, Acronym and Track PMArchitecture (ARC) – Miha Kralj, Terra SuddarthBusiness Intelligence (BIN) – Peter SpragueBusiness Solutions (MSDY) - Pattie Grimm, Scarlet LeungDatabase (DB) –Dandy Weyn, Kevin Ashby, Maxine CooDevelopment Tools & Technologies (DEV) – Bijan JavidiExchange and Lync (EXL) – Lauren Horgan, Navin Chand, Becki CulbertIT Service Management (ITSM) - Bebe AcciavattiMiddleware and Integration (MWI) – Tony Meleg, Joe KlugManagement, Operations and Deployment (MOD) – Aurora Santiago, Juliet HossmanOffice 365 (OFC) - Mike Naughton, Lori Skinner-StudleyOffice and SharePoint (OSP) – Olaf Hubel, Hila Grinberger, Andy O’Donald, Monica Watson, Lita SprattOptimization (OPT) – Yoav Land, Angela EarleyReadyTech (RT) - Joe Culp, KariLynne GratzerSecurity, Identity & Privacy (SIP) – Christopher Pelletier, Aurora Santiago, Juliet HossmanVirtualization (VIR) – Aurora Santiago, Juliet HossmanWindows Azure platform (AZR) - Vikram Rana, Terri SladeWindows Client (CLI) – Jean Taylor, Angie Nelson, Lisa PuchosicWindows Phone (WP) – Tim McAfee, Rob TiffanyWindows Server (SVR) – Aurora Santiago, Juliet HossmanCross Track CoverageApplication Platform – APS/DB/AZR/ARC Solution Accelerators – Michelle Arney, Michelle Walls Compete – Mike Brevard Trustworthy Computing – Christopher Pelletier Next Web – Olga Londer User Experience – Alison ClarkPrivate Cloud – Aurora Santiago Windows Embedded – Olivier Bloch
  2. OSP302 | SharePoint 2010 Composites: Do-It-Yourself Business Solutions16:30 - 17:30 | Ballroom 2