SlideShare a Scribd company logo
Developing
Branding
Solutions for 2013
Thomas Daly,
tdaly@bandrsolutions.com
About Me
   SharePoint Consultant @ B&R Business Solutions
       Developer
       Branding
   Focused on the UI side of things
   Community Involvement
       Speaker
       NJ SP Princeton User Group
       SharePoint Saturday NYC organizer
       NothingButSharePoint.com – Helper / Contributor
       My SharePoint Blog
       MSDN forums
Topics we’ll cover
   Creating Branding Based Project in Visual
    Studio 2012
   Deploying Assets
       Themes
       CSS, Images & JavaScript
       Master Pages
       Composed Looks
   Additional Page Head
   CSSRegistration, ScriptLink, Cache Busting
   Feature Receivers
Where are we starting from?

 Master                      Theme
               CSS
  Page                       Palette

                     Web
      Images
                     Fonts
Development Environment
 SharePoint  Server 2013
 Visual Studio 2012
 Microsoft Office Developer Tools for Visual
  Studio 2012
 Quick Deploy [Mavention]
 CSS Plugin?
Considerations
 Where    will you deploy files?
 Will it be a Sandbox or Farm level solution?
 Will it be SPSite or SPWeb based scoping?
 Will you be auto applying master pages,
  themes or composed looks?
 Will you be pushing branding down to
  subsites?
 Will you need any additional scripts to
  programmatically apply / unapply?
Building Simple Project
 Mapped     Images Folder
    Feature Image
 Mapped     Layouts Folder
    CSS Files
    Images
    JS Files
 Modules
    Master Pages
Deploying a Composed Look
What do we need in a
Composed Look?
 Master Page
 Theme Palette
 Background Image [optional]
 Font Scheme [optional]
Building the Project
 Modules
    Theme [Definition]
    Fonts [Definition]
 Layouts
    Web Fonts
    Background Image
 Elements
    Composed Look [Definition]
Alternative Branding Technique
 No Custom Master Page
 Attach Custom Style Sheets or Scripts
Additional Page Head
 AdditionalPage Head – a delegate
 control located in the <HEAD> of
 SharePoint master pages. Can be used to
 load multiple controls via code without
 touching the master page directly.
User Control & Element
  Feature

 Element




User Control
Sandbox Solution Alternative
 Likea trick, ScriptLink is used to link JS files
 CustomAction

<CustomAction Id="SiteCSS" Location="ScriptLink"
ScriptBlock="document.write('&lt;link
rel=&quot;stylesheet&quot;
type=&quot;text/css&quot;
href=&quot;/_layouts/15/SharePointProject1/myStyles
.css&quot;&gt;&lt;/' + 'link&gt;');"
Sequence="203" />
Building the Project
 UserControl
 Element
     Pointer to User Control
     Sandbox ScriptLink
Feature Application of Branding
                   Feature


Feature Receiver
                                           Site Icon



                             Master Page
   Composed Look
Auto Brand New Sites
   By default, (Non-Publishing) SharePoint does not
    trickle down applied themes, master page & css
   By creating Web Provisioned Event Handler we
    can make the new children sites have the same
    branding as their parent.
   Common things to set are:
       Master Page Url
       Custom Master Page Url
       Site Logo
       Parent Navigation
       Theme / Composed Look
           Use Synchronous Property
Optimization Techniques
Consideration for CSS &
JavaScript
 CSS   Files               Top   Reasons
    Use CSSRegistraiton       SharePoint Ensures
 JavaScript    Files           Loading Once
    Use ScriptLink            Can specify what
                                to load after
                               Uses SharePoint
                                built-in cache
                                busting
Cache Busting
 Calculated   MD5 hash of the file contents
 Will ensure a fresh copy will be delivered
 Auto-gen hash each time file is modified
 File must be relative to the layouts
     [CSS]
       _layouts/1033/styles/<MyFolder>/<MyFile.css>

     [JS]
       _layouts/<MyFolder>/<MyFile.js>
Questions or Comments?
   Contact information
       Thomas M Daly
       Company – http://www.bandrsolutions.com
       Blog – http://thomasdaly.net
       Twitter - _TomDaly_
       Email
         Tdaly@BandRSolutions.com [work]
         thomas.m.daly@hotmail.com [personal]
       LinkedIn

More Related Content

PPTX
Branding 101 extended
PDF
Style guide for share point 2013 branding
PPTX
The A to Z of Building a Responsive SharePoint Site with Bootstrap
PPTX
Intro to Branding SharePoint 2013
PPTX
Branding 101
PPTX
Branding sharepoint project
PPTX
Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...
PPTX
Fulfilling the promise of Responsive Design with SharePoint 2013
Branding 101 extended
Style guide for share point 2013 branding
The A to Z of Building a Responsive SharePoint Site with Bootstrap
Intro to Branding SharePoint 2013
Branding 101
Branding sharepoint project
Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...
Fulfilling the promise of Responsive Design with SharePoint 2013

What's hot (20)

PPTX
SharePoint Branding From Start to Finish
PPTX
Branding SharePoint 2013
PPTX
Responsive Design for SharePoint
PPTX
Create Engaging Branded SharePoint Portals and Plan for Content
PDF
Tips for share point branding
PPTX
Step into the SharePoint branding world, tools and techniques
PPTX
Designing for the Office 365 Experience
PPTX
How to Improve the SharePoint UI Using Bootstrap 3
PPTX
Developing branding solutions
PDF
Make SharePoint Look Not Like SharePoint - SPSNashville - Cathy Dew
PPTX
Things I've learnt when skinning and customizing a SharePoint 2010 Site
PPTX
Customizing the SharePoint 2013 user interface with JavaScript - Chris OBrien
PPTX
Introduction to Branding SharePoint
PPT
Creating a Website Sitemap
PPTX
SPSVB 1 7-2012 - getting started with share point branding
PPTX
SharePoint 2013 Client-Side Rendering (CSR) & JSLink Templates
PPTX
The Mobile Revolution
PPTX
Designing SharePoint 2010 for Business
PDF
The Evolution of Branding in Office 365 - SPSATL 2015 - CDew
PDF
Website Development Process
SharePoint Branding From Start to Finish
Branding SharePoint 2013
Responsive Design for SharePoint
Create Engaging Branded SharePoint Portals and Plan for Content
Tips for share point branding
Step into the SharePoint branding world, tools and techniques
Designing for the Office 365 Experience
How to Improve the SharePoint UI Using Bootstrap 3
Developing branding solutions
Make SharePoint Look Not Like SharePoint - SPSNashville - Cathy Dew
Things I've learnt when skinning and customizing a SharePoint 2010 Site
Customizing the SharePoint 2013 user interface with JavaScript - Chris OBrien
Introduction to Branding SharePoint
Creating a Website Sitemap
SPSVB 1 7-2012 - getting started with share point branding
SharePoint 2013 Client-Side Rendering (CSR) & JSLink Templates
The Mobile Revolution
Designing SharePoint 2010 for Business
The Evolution of Branding in Office 365 - SPSATL 2015 - CDew
Website Development Process
Ad

Similar to Developing branding solutions for 2013 (20)

PPTX
Developing Branding Solutions for 2013
PPTX
Developing Branding Solutions for 2013
PPTX
Developing branding solutions for 2013
PPTX
Getting Started with SharePoint Branding
PPTX
Branding & Design Opportunities/Challenges with SharePoint 2013
PPTX
Spsnyc 2011 getting started with share point branding
PPTX
Branding Modern SharePoint
PPTX
Introduction to SharePoint Information Architecture and Branding
PPTX
SharePoint Saturday Philly - Intro to SharePoint 2010 Branding
PPTX
Broaden your dev skillset with SharePoint branding options
PPTX
Intro to SharePoint 2013 Branding
PPTX
Becoming a SharePoint Design Ninja
PPTX
Intro to Branding by Randy Drisgill and John Ross - SPTechCon
PPTX
What's New in Branding SharePoint 2013
PPTX
Good vs Evil SharePoint Customizing
PPTX
SharePoint Branding Guidance @ SharePoint Saturday San Diego
PDF
Branding Essentials for Developers presentation at TEC2012
PPTX
Advanced SharePoint 2013 Site Administration
PPTX
Share point training branding 2010
PDF
Mastering your SharePoint Internet Design
Developing Branding Solutions for 2013
Developing Branding Solutions for 2013
Developing branding solutions for 2013
Getting Started with SharePoint Branding
Branding & Design Opportunities/Challenges with SharePoint 2013
Spsnyc 2011 getting started with share point branding
Branding Modern SharePoint
Introduction to SharePoint Information Architecture and Branding
SharePoint Saturday Philly - Intro to SharePoint 2010 Branding
Broaden your dev skillset with SharePoint branding options
Intro to SharePoint 2013 Branding
Becoming a SharePoint Design Ninja
Intro to Branding by Randy Drisgill and John Ross - SPTechCon
What's New in Branding SharePoint 2013
Good vs Evil SharePoint Customizing
SharePoint Branding Guidance @ SharePoint Saturday San Diego
Branding Essentials for Developers presentation at TEC2012
Advanced SharePoint 2013 Site Administration
Share point training branding 2010
Mastering your SharePoint Internet Design
Ad

More from Thomas Daly (20)

PPTX
Building a Microsoft Teams Provisioning Process using Power Apps & Power Auto...
PPTX
M365 global developer bootcamp 2019 Intro to SPFx Version
PPTX
M365 global developer bootcamp 2019 PA
PPTX
M365 global developer bootcamp 2019
PPTX
Cross Site Collection Navigation with SPFX, PowerShell PnP, PnP-JS, Office UI
PPTX
New Jersey Azure Bootcamp 2019
PPTX
Cross Site Collection Navigation
PPTX
Learn from my Mistakes - Building Better Solutions in SPFx
PPTX
Cross Site Collection Navigation using SPFx, Powershell PnP & PnP-JS
PPTX
O365 Developer Bootcamp NJ 2018 - Material
PDF
Things you can do
PPTX
Global o365 developer bootcamp nj - slides
PPTX
Branding Office 365 w/ Front End Tools + SharePoint PnP
PPTX
Global Office 365 Developer Bootcamp - Closing Remarks
PPTX
Introduction to SharePoint Patterns and Practices (PnP)
PPTX
Intro to the Office UI Fabric
PPTX
Branding office 365 with front end tooling
PPTX
Things you can do to brand Office 365 now
PPTX
Gab2017 science-lab
PPTX
NJ Office 365 User Group March 2017 - Intro
Building a Microsoft Teams Provisioning Process using Power Apps & Power Auto...
M365 global developer bootcamp 2019 Intro to SPFx Version
M365 global developer bootcamp 2019 PA
M365 global developer bootcamp 2019
Cross Site Collection Navigation with SPFX, PowerShell PnP, PnP-JS, Office UI
New Jersey Azure Bootcamp 2019
Cross Site Collection Navigation
Learn from my Mistakes - Building Better Solutions in SPFx
Cross Site Collection Navigation using SPFx, Powershell PnP & PnP-JS
O365 Developer Bootcamp NJ 2018 - Material
Things you can do
Global o365 developer bootcamp nj - slides
Branding Office 365 w/ Front End Tools + SharePoint PnP
Global Office 365 Developer Bootcamp - Closing Remarks
Introduction to SharePoint Patterns and Practices (PnP)
Intro to the Office UI Fabric
Branding office 365 with front end tooling
Things you can do to brand Office 365 now
Gab2017 science-lab
NJ Office 365 User Group March 2017 - Intro

Developing branding solutions for 2013

  • 1. Developing Branding Solutions for 2013 Thomas Daly, tdaly@bandrsolutions.com
  • 2. About Me  SharePoint Consultant @ B&R Business Solutions  Developer  Branding  Focused on the UI side of things  Community Involvement  Speaker  NJ SP Princeton User Group  SharePoint Saturday NYC organizer  NothingButSharePoint.com – Helper / Contributor  My SharePoint Blog  MSDN forums
  • 3. Topics we’ll cover  Creating Branding Based Project in Visual Studio 2012  Deploying Assets  Themes  CSS, Images & JavaScript  Master Pages  Composed Looks  Additional Page Head  CSSRegistration, ScriptLink, Cache Busting  Feature Receivers
  • 4. Where are we starting from? Master Theme CSS Page Palette Web Images Fonts
  • 5. Development Environment  SharePoint Server 2013  Visual Studio 2012  Microsoft Office Developer Tools for Visual Studio 2012  Quick Deploy [Mavention]  CSS Plugin?
  • 6. Considerations  Where will you deploy files?  Will it be a Sandbox or Farm level solution?  Will it be SPSite or SPWeb based scoping?  Will you be auto applying master pages, themes or composed looks?  Will you be pushing branding down to subsites?  Will you need any additional scripts to programmatically apply / unapply?
  • 7. Building Simple Project  Mapped Images Folder  Feature Image  Mapped Layouts Folder  CSS Files  Images  JS Files  Modules  Master Pages
  • 9. What do we need in a Composed Look?  Master Page  Theme Palette  Background Image [optional]  Font Scheme [optional]
  • 10. Building the Project  Modules  Theme [Definition]  Fonts [Definition]  Layouts  Web Fonts  Background Image  Elements  Composed Look [Definition]
  • 11. Alternative Branding Technique  No Custom Master Page  Attach Custom Style Sheets or Scripts
  • 12. Additional Page Head  AdditionalPage Head – a delegate control located in the <HEAD> of SharePoint master pages. Can be used to load multiple controls via code without touching the master page directly.
  • 13. User Control & Element Feature Element User Control
  • 14. Sandbox Solution Alternative  Likea trick, ScriptLink is used to link JS files  CustomAction <CustomAction Id="SiteCSS" Location="ScriptLink" ScriptBlock="document.write('&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;/_layouts/15/SharePointProject1/myStyles .css&quot;&gt;&lt;/' + 'link&gt;');" Sequence="203" />
  • 15. Building the Project  UserControl  Element  Pointer to User Control  Sandbox ScriptLink
  • 16. Feature Application of Branding Feature Feature Receiver Site Icon Master Page Composed Look
  • 17. Auto Brand New Sites  By default, (Non-Publishing) SharePoint does not trickle down applied themes, master page & css  By creating Web Provisioned Event Handler we can make the new children sites have the same branding as their parent.  Common things to set are:  Master Page Url  Custom Master Page Url  Site Logo  Parent Navigation  Theme / Composed Look  Use Synchronous Property
  • 19. Consideration for CSS & JavaScript  CSS Files  Top Reasons  Use CSSRegistraiton  SharePoint Ensures  JavaScript Files Loading Once  Use ScriptLink  Can specify what to load after  Uses SharePoint built-in cache busting
  • 20. Cache Busting  Calculated MD5 hash of the file contents  Will ensure a fresh copy will be delivered  Auto-gen hash each time file is modified  File must be relative to the layouts  [CSS]  _layouts/1033/styles/<MyFolder>/<MyFile.css>  [JS]  _layouts/<MyFolder>/<MyFile.js>
  • 21. Questions or Comments?  Contact information  Thomas M Daly  Company – http://www.bandrsolutions.com  Blog – http://thomasdaly.net  Twitter - _TomDaly_  Email  Tdaly@BandRSolutions.com [work]  thomas.m.daly@hotmail.com [personal]  LinkedIn