460 likes | 485 Views
Learn to brand and customize My Sites in SharePoint Server 2010 for enhanced usability and engagement. Discover methods to control web part deployment and tailor the social experience. Engage employees globally with personalized site features.
E N D
OSP337 Branding and Customizing My Sites with Microsoft SharePoint Server 2010 John Ross & Randy Drisgill MVPs Rackspace Hosting
What are we going to talk about? • Overview of social in the enterprise • My Site basics • Branding My Sites • Deploying Your Branding to My Sites • Controlling Deployment of Web Parts to My Sites Tweet about the session with the #spmysites hash tag
John Ross • Custom Solutions Lead at Rackspace Hosting • Author • Professional SharePoint 2010 Branding • http://bit.ly/sp2010-brandingbook • Real World SharePoint 2010 • Blog: • http://johnrossjr.wordpress.com • Twitter: • http://twitter.com/johnrossjr • Orlando, FL
Randy Drisgill • Branding and Design Lead – Rackspace Hosting • Author • Professional SharePoint 2010 Branding • http://bit.ly/sp2010-brandingbook • Real World SharePoint 2010 • Professional SharePoint 2007 Design • Blog: • http://blog.drisgill.com • Twitter: • http://twitter.com/Drisgill • Orlando, FL
Social in the Enterprise • Social refers to how we interact and share information • As companies look to the future, social technologies are increasingly becoming a primary way to meet corporate goals • Find and reuse knowledge • Facilitate collaboration • Increasing social capabilities in existing systems and processes
Value of social Employees who are connected to a wide range of colleagues generate $83,000 more in revenue per year than employees with an average number of colleague connections. Joint study conducted by MIT’s Sloan School of Management & Center for E-Business and NYU’s Stern School of Business
Social in SharePoint Server 2010 • Facilitates the bridge of information between users and their content • Flexible Collaboration • Wikis, blogs, newsfeeds, team sites, personal profiles, etc. • Help users work better together • Find colleagues and expertise • Locate important information My Sites are the central hub of the social experience in SharePoint 2010
My Site Components My Content My Custom Page My Newsfeed My Profile Pages My Site Host My Site Site Collections My Site Web Application Web App Service Application Proxies Custom Search EMM UPA
Why customize My Sites? • Without any modifications My Sites are like an off the rack suit • They work well for some • Many will prefer custom tailoring • Primary benefits • Help users identify with the company through branding • Improve usability • Enforce consistency and deliver functionality to users
Our scenario • Syrp/Bacn is a world renowned breakfast consultancy • Employees globally dispersed • Goals for My Sites • Help employees to feel connected with the company despite distance • Improve usability • Provide different experience for different user bases within the company
Branding My Sites • Branding for My Sites is similar to traditional SharePoint Branding • Master Pages are used for the primary shell of the design • CSS is used to style the elements • Typically reuse large portions of the main site branding for the My Sites
What’s our approach? • We want to let the MySite content to drive the look of the pages • Carry forward the existing branding from our public website • Header • Background • Colors • Footer • Style the Global Navigation in a similar color scheme • You can decide how far you want to take your MySite Branding… maybe you only need a little bit
Branding the My Site Host • You can start from either a copy of the OOTB mysite.master • Or use one of my Starter Master Pages • StarterMasterPages.CodePlex.com • Includes only the required controls for the My Site host • The Global Navigation at the top should match the branding
Branding the Personal Sites • Because they are based on V4.master you can leverage a lot of your existing SP branding • Be sure to style the Global Navigation at the top to match
My Sites Branding Tips • Style the global navigation at the top, the outer shell, & colors but leave the inner content arranged normally • Be careful with fixed width displays – make sure you leave enough room for the content • Moving the Global Navigation from the top can be challenging • The Organization chart is Silverlight so it’s not easily styled
demo Branding My Sites Randy Drisgill MVP Rackspace Hosting
Customizing the My Sites navigation • Modifying the top Global Navigation links • Site Actions > Look and Feel > Top link bar • Modifying the Sub-Navigation Bar links • Site Actions > Look and Feel > Quick Launch
Changing the Global Navigation Layout • One common complaint about My Sites is the lack of easy control over the Global Navigation look • You can change it by overriding the GlobalNavigation delegate control • Involves creating a Feature that points to a new navigation control • Copy the existing navigation control and add your new content • For example: Add a logo with a link back to the home page
demo Adding a Logo to the Global Navigation Randy Drisgill MVP Rackspace Hosting
You’ve got your branding…now what? • The branding assets have been created but now they need to be deployed to the My Site • Automatically apply the masterpage • Have all of this automagically happen when the My Site is created…. • How?
Steps to deploy branding to a My Site Step 1 Create a feature to move the files where they need to go Step 2 Create a feature receiver to switch the master page Step 3 Use a feature stapler to ensure that when the personal site is created, the branding is automatically applied Step 4 Deploy this as a SharePoint Solution (.WSP) to your SharePoint farm
Moving parts • Branding Feature • Scoped at the Web • Modules deploy files to folders • Feature Receiver switches master page • Feature Staple • Scoped at the web application • Associates branding feature with template for personal site (SPSPERS#0) • Branding feature runs when personal site is provisioned
Anatomy of a Feature Staple Create a new Feature and add an Element <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <FeatureSiteTemplateAssociation Id="542D5EF4-5053-4CA0-A4B9-D6E10786262B" TemplateName="SPSPERS#0"/> </Elements> • Get the Id from Properties of Feature
demo Deploying branding to My Sites John Ross MVP Rackspace Hosting
Deployment Resources • Deploying Branding Solutions for SharePoint 2010 Sites Using Sandboxed Solutions - MSDN • http://msdn.microsoft.com/en-us/library/gg447066.aspx • Creating a Custom Feature Staple – MSDN • http://msdn.microsoft.com/en-us/library/cc263911%28office.12%29.aspx • Check out CKS:Dev • Extensions for Visual Studio 2010 • http://cksdev.codeplex.com/
What’s next? After branding the next most common request for customizing My Sites is….. • Controlling the web parts that are deployed to the My Site • Adding • Deleting • Moving
Controlling Web Part Deployment • This can be tricky – we want to ensure our code doesn’t run before default.aspx is created • Embedding a server control into the custom master page solves the problem • Doesn’t run into the page is first rendered so page is guaranteed to exist • Performs a check to ensure that it hasn’t run previously Steve Peschka’s Blog Post for SP2007 http://tinyurl.com/MySiteDeploy
demo Controlling which web parts are deployed to your My Sites John Ross MVP Rackspace Hosting
Where can you go from there? Where? • Different users in your organization work in different ways. • Wouldn’t it be great if there was an easy way to control which web parts were deployed to different users? • Good news….
demo Deploying Web Parts To My Sites Based On User Profile Value John Ross MVP Rackspace Hosting
Download the sample code • What do you get? • All the deployment goodness • http://sp2010mysite.codeplex.com/
Summary • Social networking isn’t just for personal use anymore • Tons of real and measurable value! • My Sites are the backbone of the social experience in SharePoint 2010 • Customizing My Sites helps to unleash all of that value • Branding helps users feel at home and improves usability • Controlling web part deployment adds functionality
Contact Info • Blog: • http://blog.drisgill.com • http://johnrossjr.wordpress.com • Twitter: • http://twitter.com/drisgill • http://twitter.com/johnrossjr • Email • randy.drisgill@rackspace.com • john.ross@rackspace.com
The Business Collaboration Platform for the Enterprise and the Internet The Business Collaboration Platform for the Enterprise & the Internet • Deliver the Best Productivity Experience • Cut Costs with a Unified Infrastructure • Rapidly Respond to Business Needs The capabilities of SharePoint 2010 provide a powerful business collaboration platform
Project and SharePoint Better Together Manage Resources Improve efficiency and save money by better managing work and allocation of resources Maximize Portfolio Returns Make informed investment decisions and effectively communicate results across a portfolio of projects Keep Teams ProductiveSave time and improve project results by centralizing team collaboration on deliverables and tasks Improve SharePoint ROI Effectively manage requests to maximize the ROI of your SharePoint environment • www.sharepoint.microsoft.com • www.microsoft.com/project
Resources Learning TechNet • Connect. Share. Discuss. • Microsoft Certification & Training Resources http://europe.msteched.com www.microsoft.com/learning • Resources for IT Professionals • Resources for Developers • http://microsoft.com/technet http://microsoft.com/msdn
Evaluations Submit your evals online http://europe.msteched.com/sessions
© 2012 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.