Search This Blog

Saturday, July 11, 2015

Delegate Controls in SharePoint 2013

SharePoint 2013 and how you can replace or add information to your new master pages using these new controls, without modifying the master pages


  1. AdditionalPageHead
  2. GlobalNavigation
  3. GlobalSiteLink3
  4. GlobalDelegate2
  5. GlobalDelegate0
  6. PublishingConsole
  7. TopNavigationDataSource
  8. SmallSearchInputBox
  9. QuickLaunchDataSource
  10. TreeViewAndDataSource
  11. SuiteBarBrandingDelegate delegate Control
  12. SuiteLinksDelegate delegate Control
  13. PromotedActions Delegate Control

Delegate Controls
You can find here the complete list of delegate controls .We can easily override these controls with our custom implementations. In subsequent posts we can see how to override these Delegate Controls one by one.

Delegate ControlScreen ShotDescriptions
GlobalNavigationcm2To add the custom links globally.
GlobalSiteLink3cm3To enable Farm level global links and not specific for web application or site collection level
SuiteBarBrandingDelegatecm4To override the default “SharePoint” text at left corner
SuiteLinksDelegatecm5To add more links like “Newsfeed”, “SkyDrive”
GlobalSiteLink0cm6SharePoint uses this one to publish the variations menu. Please carefully override this Delegate control if needed
PromotedActionscm7To add more links between Share and Follow icon
   
PublishingConsolecm8While editing the page, Server Ribbon will be loaded using this Delegate Control and we extend this using Custom Action
SmallSearchInputBoxcm9This delegate control will be using to override Search box
QuickLaunchDataSourcecm10To load the custom quick launch data source
TreeViewAndDataSourcecm11To load the custom tree view data source
AdditionalPageHeadN/AThis will be available inside the <head> tag and helpful to load the custom css / javascript

Master Page Regions
Next I started to identify the master page regions. This will be helpful to apply our custom branding successfully. You can see the major region in the blow screen shot.
cm12 
I have captured below the starting tag of each region and it will be helpful us to reposition the regions based on our requirements.
NoDescriptionHtml Tag
1Site Logo<div id="siteIcon"
2Top navigation menu<SharePoint:AspMenu ID="TopNavigationMenu"
3Page Title<asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea"
4Title’s Description<asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea"
5Site Contents in Quick launch menu<asp:ContentPlaceHolder id="PlaceHolderQuickLaunchBottom"
6Content Area<div id="contentBox"
7Notification message<div id="notificationArea"
8Welcome text<div id="welcomeMenuBox"
9Site Action menu<SharePoint:SiteActions
10Help menu<span id="ms-help"
11Full screen mode<span id="fullscreenmodebox"
12Left navigation bar<asp:ContentPlaceHolder id="PlaceHolderLeftNavBar"


No comments:

Post a Comment