SharePoint 2013/2016 Branding

1. Create a html/css/javascript file using your favorite designer tool;
2. Go to SharePoint >> Site Settings >> Designer Manager;
3. Go to “Step 3 Upload design files” and Map the following location as a network drive so you can work easily with your design files: http://yoursharepointdomain.com/_catalogs/masterpage/
4. Go to “Step 4 Edit Master Pages” and “Convert an HTML file to a SharePoint master page”;
5. After it’s converted to master page, go to the mapped drive and then open the .html and .css file you uploaded; Modify them as needed.
6. Once you are happy with the result, Go to “Step 7 Publish and Apply Design”
1) “Go to the Master Page Gallery” and publish the .html file;
2) “Assign master pages to your site based on device channel”

Once it is published, you can still modify the .html and .css file.

Note:

if you want to hide the header and footer in popup/dialog pages, add class names “s4-notdlg noindex” to the header and footer.

If you want to display drop down menu in the top global navigation,
1) Go to “Site Settings >> Navigation”, Create a header and move sites/links under that header;
2) Go to the Snippet gallery, change the MaximumDynamicDisplayLevels (under Behavior) to 1. Copy and Paste the code into your masterpage.html file.

Posted in SharePoint 2016 | Tagged | Leave a comment

Create a notification banner on top of every page in a SharePoint 2010 site collection using delegate control

We wanted to create a notification banner on top of every page in a SharePoint 2010 site collection like this:

1

You could modify the master page for each site but that very cumbersome.

So we will use the “Delegate Control” to achieve this, without touching the mater pages.

Delegate Control creates a region in the page that will allow to replace the original content with our custom content. This can be handled using SharePoint feature.

In this example I am going to create user control that is going to replace the ‘GlobalNavigation’ in master page using delegate control.

The following the the v4.master page and the DelegateControl with ControlId as “GlobalNavigation” is the one we want to replace the content.

2

Steps to create Delegate Control:

1. Create empty SharePoint project in Visual Studio and deploy as a “Farm Solution“:

3

2. Right click your project name and then “Add >> SharePoint Mapped Folder…”

4

3. Choose “CONTROLTEMPLATES” and click OK:

5

4. Right click CONTROLTEMPLATES you just added and then click “Add >> New Item…”

6

5. Add a new “User Control”:

7

6. Right click your project name and add a new item:

8

7. Add a new “Empty Element”:

9

8. Now your solution explorer looks like this:

10

9. Double click “Feature1” and then change the scope from “Web” to “Site”:

12

10. Open the “Elements.xml” file and modify it so it looks like this:

<?xml version=”1.0″ encoding=”utf-8″?>
<Elements xmlns=”http://schemas.microsoft.com/sharepoint/”&gt;
<Control Id=”GlobalNavigation” Sequence=”1000″ ControlSrc=”~/_controltemplates/UserControl1.ascx” />
</Elements>

13

11. Open the UserControl1.ascx designer view and add the following lines:

<SharePoint:CssRegistration ID=”CssRegistration3″ runat=”server” Name=”/Style Library/Custom CSS/custom.css” />

<asp:Panel ID=”pnlSiteNotifications” runat=”server” CssClass=”SiteNotifications”>

</asp:Panel>

14

Obviously you will need to have a “custom.css” file in this location: “/Style Library/Custom CSS/custom.css”

This is what I have in the custom.css file:

15

12. Create a custom list somewhere in SharePoint called “Site Notifications” and the fields are:

16

13. Open the Code View of the UserControl1.ascs.cs and insert the following line inside the “Page_Load” function:

using (SPSite currentSite = new SPSite(SPContext.Current.Site.ID))
{
using (SPWeb parentWeb = currentSite.OpenWeb(“Departments”))
{
SPWebCollection webs1 = parentWeb.Webs;
SPWeb currentWeb1 = webs1[“IT”];

SPWebCollection webs = currentWeb1.Webs;
SPWeb currentWeb = webs[“MelbIT”];

SPQuery query = new SPQuery();
query.Query = String.Format(@”
<Where>
<Eq>
<FieldRef Name=’Active’ />
<Value Type=’Boolean’>1</Value>
</Eq>
</Where>”, “”);

var list = currentWeb.Lists[“Site Notifications”];
SPListItemCollection listItems = list.GetItems(query);
if (listItems.Count > 0)
{
foreach (SPListItem item in listItems)
{
Literal1.Text = Convert.ToString(item[“Notification”]) + “

Please contact ” + Convert.ToString(item[“Contact”]) + “ if you have any concern. Thank you!

“;
}
}
else
{
pnlSiteNotifications.Visible = false;
}
}
}

17

14. Deploy your project:

18

15. Go to the “Site Notifications” list and add a new notification:

19

The notification should be on top of every page of the site collection. If you want to remove the notification, you can either delete the above list item or uncheck the “Active” checkbox.

Hope this tutorial helps someone.

Happy coding!

 

 

Posted in SharePoint 2010, Visual Studio 2010 | Leave a comment

How to Recover A Single Document In SharePoint

How to Recover A Single Document In SharePoint

  • How to Recover A Single Document In SharePoint

    Once upon a time at a customer site (August of last year, in fact), one of the users made some changes to an Excel document that he couldn’t roll back. Versioning was not enabled. He said he would lose like 60 hours of work if we couldn’t recover it. So here is what I did:

    On the SQL instance hosting the content database, I restored the 8/29/11 backup of “WSS_CustomerSite_Content” as WSS_ CustomerSite _Recovery_083111

    On the SharePoint Server,

    Outcome:

    Progress: Import completed.

    Finish Time: 8/31/2011 3:20:44 PM.

    Duration: 00:04:56

    Total Objects: 2002

    Finished with 0 warnings.

    So the process copied the document library into the new website (with 2002 documents) and allowed me to browse to the previous version of the Excel spreadsheet, download it, and email it to the user. Yes, I could have restored the doc library over the top of the production site, but again, that could have disrupted others.

    All this could have been prevented by turning on versioning in the document library. It’s off by default because each version snapshot takes up space and in a large library this could grow pretty significantly. You can keep it under control by specifying how many versions to retain (suggestion: 3 major versions).

    Still, this process is not very elegant. In extreme cases like this, you have to touch SQL Server, Central Admin, and PowerShell just to get a document back. What would make it elegant? A third party backup solution.

    This is what I’ve been telling people for years, because the average customer is not going to want to go through that just to restore a document. Add a BackupExec solution, though, where the agent allows the customer to browse to the version of the document they want, and restore it in place, with no fuss… this is the expected ease of use.

Reference: http://www.akspug.org/Blog/Post/40/How-to-Recover-A-Single-Document-In-SharePoint

Posted in SharePoint 2010, Uncategorized | Leave a comment

Create a cross-site lookup field using PowerShell

Sometimes you need to create a lookup field to look up a list in another site (not the parent site).

This is how  you can do it using PowerShell:

On SharePoint server, run PowerShell as admin:


Add-PsSnapin Microsoft.SharePoint.PowerShell
$targetWeb = Get-SPWeb http://xxxxxx/Subsite1
$sourceWeb = Get-SPWeb http://xxxxxx/Subsite2
$targetList = $targetWeb.Lists.item("The target list name")
$sourceList = $sourceWeb.Lists.item("The source list name")
$NameTheLookupFieldToBeCreated = "Name of the lookup field to be created"
$ColumnInSourceList = "Name of the column in the source list"
### No need to change after this line ###
$targetList.Fields.AddLookup($NameTheLookupFieldToBeCreated, $sourceList.id, "false")
$LookupField = $targetList.Fields[$NameTheLookupFieldToBeCreated]
$LookupField.LookupWebId = $sourceList.ParentWeb.ID
$LookupField.LookupField = $sourceList.Fields[$ColumnInSourceList].InternalName
$LookupField.Update();

Posted in PowerShell, SharePoint 2010 | Leave a comment

Enable Debugging and set custom errors off in SharePoint

The original post is here:

https://blogs.msdn.microsoft.com/voyage/2014/09/02/enable-debugging-and-set-custom-errors-off-in-sharepoint/

Thanks Deepa Lakhani.

To debug a SharePoint solution you need to set following values in web.config

  • 1. Turn on the call stack (CallStack=”true”)
  • 2. Disable custom errors (<customErrors mode=”Off” />)
  • 3. Enable debugging (<compilation debug=”true”>)

Go to \\Inetpub\wwwroot\wss\VirtualDirectories\ Port_Number

This web.config defines configuration settings for a SharePoint Web application.

Now you might still get custom error message on your application page and not the real exception.

This happens because there are web.config at other places too in SharePoint.  So for configuration of layouts directory where an application page resides, you need to change the web.config at following location too.

%ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\LAYOUTS — The web.config file that defines configuration settings for the /_layouts virtual directory

Additonal Notes from msdn.

Web.config files are contained in the following folders within the file system:

  • \\Inetpub\wwwroot\wss\VirtualDirectories\ Port_Number — The web.config file that defines configuration settings for a SharePoint content Web application.
  • \\Inetpub\wwwroot\wss\VirtualDirectories\ Port_Number_of_Central_Administration — The web.config file that defines configuration settings for the SharePoint Central Administration application.
  • %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\CONFIG — The web.config file and other .config files that together define configuration settings for extending other Web applications.
  • %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\ISAPI — The web.config file that defines configuration settings for the /_vti_bin virtual directory.
  • %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\LAYOUTS — The web.config file that defines configuration settings for the /_layouts virtual directory
Posted in Uncategorized | Leave a comment

Pass query string to an InfoPath form

There is a infoPath form on a page (URL: “http://www.yoursharepoint.com/xxxx/xxxx.aspx?viewing=1&#8221;). We want to pass the value of “viewing” to the infoPath form.

  1. Create a new column “viewing” in the list;
  2. make sure the column is in the infoPath form (to accept the passed in value): PassQueryStringToInfoPath5
  3. Edit the SharePoint page, add a webpart “Query String (URL) Filter” to the page:PassQueryStringToInfoPath1
  4. Click “Open the tool pane”:PassQueryStringToInfoPath2
  5. Enter “viewing” into the Name box:PassQueryStringToInfoPath3
  6. Configure the connection: Send filter values to >> InfoPaht Form Web Part:PassQueryStringToInfoPath4
  7. Select “Viewing” in the next window.

 

 

 

Posted in InfoPath 2010, SharePoint 2010, Uncategorized | Leave a comment

Default Server Ribbon Customization Locations

Reference: https://msdn.microsoft.com/en-us/library/office/ee537543%28v=office.14%29.aspx

SharePoint 2010

Last modified: April 05, 2011

Applies to: SharePoint Foundation 2010

The Server ribbon in Microsoft SharePoint Foundation supports customization of the default tabs, groups, and controls. In order to customize these objects, you need the specific identifier (ID) for the object you plan to customize. The IDs are found in the CMDUI.xml file that is stored in the %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\GLOBAL\XML directory on the front-end Web server.

The following sections contain the default tabs, groups, and controls in the ribbon.

Ribbon.BDCAdmin tab

Ribbon.BDCAdmin.ApplicationModelManagement group

Control ID
Ribbon.BDCAdmin.ApplicationManagement.Import
Ribbon.BDCAdmin.ApplicationManagement.DeleteModel
Ribbon.BDCAdmin.ApplicationManagement.ExportModel

Ribbon.BDCAdmin.PermissionManagement group

Control ID
Ribbon.BDCAdmin.PermissionManagement.SetPermissions
Ribbon.BDCAdmin.PermissionManagement.AssignAdmins

Ribbon.BDCAdmin.ApplicationManagement group

Control ID
Ribbon.BDCAdmin.ApplicationManagement.LobSystemSettings
Ribbon.BDCAdmin.ApplicationManagement.DeleteLobSystem

Ribbon.BDCAdmin.ActionManagement group

Control ID
Ribbon.BDCAdmin.ActionManagement.Add
Ribbon.BDCAdmin.ActionManagement.Edit
Ribbon.BDCAdmin.ActionManagement.Delete

Ribbon.BDCAdmin.ViewManagement group

Control ID
Ribbon.BDCAdmin.ViewManagement.Views

Ribbon.DocLibListForm.Edit tab

Ribbon.DocLibListForm.Edit.Commit group

Control ID
Ribbon.DocLibListForm.Edit.Commit.Publish
Ribbon.DocLibListForm.Edit.Commit.CheckIn
Ribbon.DocLibListForm.Edit.Commit.Cancel

Ribbon.DocLibListForm.Edit.Clipboard group

Control ID
Ribbon.DocLibListForm.Edit.Clipboard.Paste
Ribbon.DocLibListForm.Edit.Clipboard.Cut
Ribbon.DocLibListForm.Edit.Clipboard.Copy

Ribbon.DocLibListForm.Edit.Actions group

Control ID
Ribbon.DocLibListForm.Edit.Actions.DeleteItem
Ribbon.DocLibListForm.Edit.Actions.CheckIn
Ribbon.DocLibListForm.Edit.Actions.CheckOut
Ribbon.DocLibListForm.Edit.Actions.VersionHistory
Ribbon.DocLibListForm.Edit.Actions.ExportWebPart
Ribbon.DocLibListForm.Edit.Actions.ViewWebPartXml
Ribbon.DocLibListForm.Edit.Actions.ManagePermissions

Ribbon.ListForm.Display tab

Ribbon.ListForm.Display.Manage group

Control ID
Ribbon.ListForm.Display.Manage.EditItem
Ribbon.ListForm.Display.Manage.EditSeries
Ribbon.ListForm.Display.Manage.VersionHistory
Ribbon.ListForm.Display.Manage.ManagePermissions
Ribbon.ListForm.Display.Manage.DeleteItem

Ribbon.ListForm.Display.Actions group

Control ID
Ribbon.ListForm.Display.Manage.CheckIn
Ribbon.ListForm.Display.Manage.CheckOut
Ribbon.ListForm.Display.Manage.Alert
Ribbon.ListForm.Display.Manage.ApproveReject
Ribbon.ListForm.Display.Manage.ManageCopies
Ribbon.ListForm.Display.Manage.Workflows
Ribbon.ListForm.Display.Manage.EnterFolder
Ribbon.ListForm.Display.Manage.ClaimReleaseTask
Ribbon.ListForm.Display.Manage.DistributionListsApproval
Ribbon.ListForm.Display.Manage.DeleteItemVersion
Ribbon.ListForm.Display.Manage.RestoreItemVersion

Ribbon.ListForm.Display.HealthActions group

Control ID
Ribbon.ListForm.Display.HealthActions.HealthRuleRunNow
Ribbon.ListForm.Display.HealthActions.HealthReportRunNow
Ribbon.ListForm.Display.HealthActions.HealthReportRepair

Ribbon.ListForm.Display.Solution group

Control ID
Ribbon.ListForm.Display.Solution.Activate
Ribbon.ListForm.Display.Solution.Deactivate
Ribbon.ListForm.Display.Solution.Upgrade

Ribbon.ListForm.Edit tab

Ribbon.ListForm.Edit.Commit group

Control ID
Ribbon.ListForm.Edit.Commit.Publish
Ribbon.ListForm.Edit.Commit.Cancel

Ribbon.ListForm.Edit.Clipboard group

Control ID
Ribbon.ListForm.Edit.Clipboard.Paste
Ribbon.ListForm.Edit.Clipboard.Cut
Ribbon.ListForm.Edit.Clipboard.Copy

Ribbon.ListForm.Edit.Actions group

Control ID
Ribbon.ListForm.Edit.Actions.DeleteItem
Ribbon.ListForm.Edit.Actions.EditSeries
Ribbon.ListForm.Edit.Actions.ClaimReleaseTask
Ribbon.ListForm.Edit.Actions.AttachFile
Ribbon.ListForm.Edit.Actions.DistributionListsApproval

Ribbon.PostListForm.Edit tab

Ribbon.PostListForm.Edit.Commit group

Control ID
Ribbon.PostListForm.Edit.Commit.Publish
Ribbon.PostListForm.Edit.Commit.SaveAsDraft
Ribbon.PostListForm.Edit.Commit.Cancel

Ribbon.PostListForm.Edit.Clipboard group

Control ID
Ribbon.PostListForm.Edit.Clipboard.Paste
Ribbon.PostListForm.Edit.Clipboard.Cut
Ribbon.PostListForm.Edit.Clipboard.Copy

Ribbon.PostListForm.Edit.Actions group

Control ID
Ribbon.PostListForm.Edit.Actions.DeleteItem
Ribbon.PostListForm.Edit.Actions.EditSeries

Ribbon.SvcApp tab

Ribbon.SvcApp.Create group

Control ID
Ribbon.SvcApp.Create.New
Ribbon.SvcApp.Create.Connect

Ribbon.SvcApp.Operations group

Control ID
Ribbon.SvcApp.Operations.Delete
Ribbon.SvcApp.Operations.Manage
Ribbon.SvcApp.Operations.Administrators
Ribbon.SvcApp.Operations.Properties

Ribbon.SvcApp.Sharing group

Control ID
Ribbon.SvcApp.Sharing.Publish
Ribbon.SvcApp.Sharing.Permissions

Ribbon.Solution tab

Ribbon.Solution.New group

Control ID
Ribbon.Solution.All.Upload

Ribbon.Solution.All group

Control ID
Ribbon.Solution.All.Delete
Ribbon.Solution.All.Activate
Ribbon.Solution.All.Deactivate
Ribbon.Solution.All.Upgrade

Ribbon.UsageReport tab

Ribbon.UsageReport.DateRange group

Control ID
Ribbon.UsageReport.DateRange.Day
Ribbon.UsageReport.DateRange.Month
Ribbon.UsageReport.DateRange.Year

Ribbon.WikiPageTab tab

Ribbon.WikiPageTab.EditAndCheckout group

Control ID
Ribbon.WikiPageTab.EditAndCheckout.SaveEdit
Ribbon.WikiPageTab.EditAndCheckout.Checkout

Ribbon.WikiPageTab.Manage group

Control ID
Ribbon.WikiPageTab.Manage.PageProperties
Ribbon.WikiPageTab.Manage.RenamePage
Ribbon.WikiPageTab.Manage.VersionDiff
Ribbon.WikiPageTab.Manage.Permissions
Ribbon.WikiPageTab.Manage.DeletePage

Ribbon.WikiPageTab.Share group

Control ID
Ribbon.WikiPageTab.Share.EmailPageLink
Ribbon.WikiPageTab.Share.AlertMe

Ribbon.WikiPageTab.PageActions group

Control ID
Ribbon.WikiPageTab.PageActions.SetHomePage
Ribbon.WikiPageTab.PageActions.IncomingLinks

Ribbon.WikiPageTab.LibrarySettings group

Control ID
Ribbon.WikiPageTab.LibrarySettings.LibSettings
Ribbon.WikiPageTab.LibrarySettings.LibraryPermissions
Ribbon.WikiPageTab.LibrarySettings.ViewAllPages

Ribbon.PublishTab tab

Ribbon.PublishTab.Publishing group

Control ID
Ribbon.PublishTab.Publishing.Publish
Ribbon.PublishTab.Publishing.Approve
Ribbon.PublishTab.Publishing.Reject

Ribbon.PublishTab.Workflow group

Control ID
Ribbon.PublishTab.Workflow.ManageWorkflow

Ribbon.WebPartPage tab

Ribbon.WebPartPage.Edit group

Control ID
Ribbon.WebPartPage.Edit.Edit

Ribbon.WebPartPage.Manage group

Control ID
Ribbon.WebPartPage.Manage.EditProperties
Ribbon.WebPartPage.Manage.Versions
Ribbon.WebPartPage.Manage.Permissions
Ribbon.WebPartPage.Manage.Delete

Ribbon.WebPartPage.Share group

Control ID
Ribbon.WebPartPage.Share.EmailPageLink
Ribbon.WebPartPage.Share.AlertMe

Ribbon.WebPartPage.Approval group

Control ID
Ribbon.WebPartPage.Approval.Approve
Ribbon.WebPartPage.Approval.Reject

Ribbon.WebPartPage.Workflow group

Control ID
Ribbon.WebPartPage.Workflow.ManageWorkflow

Ribbon.WebPartPage.Actions group

Control ID
Ribbon.WebPartPage.Actions.EditMobilePage
Ribbon.WebPartPage.Actions.MakeHomePage
Ribbon.WebPartPage.Actions.EditTitleBar

Ribbon.WebApp tab

Ribbon.WebApp.Contribute group

Control ID
Ribbon.WebApp.Contribute.New
Ribbon.WebApp.Contribute.Extend
Ribbon.WebApp.Contribute.Delete

Ribbon.WebApp.Manage group

Control ID
Ribbon.WebApp.Manage.Settings
Ribbon.WebApp.Manage.Features
Ribbon.WebApp.Manage.Paths
Ribbon.WebApp.Manage.Connections

Ribbon.WebApp.Security group

Control ID
Ribbon.WebApp.Security.Controls.AuthProviders
Ribbon.WebApp.Security.Controls.SelfSite
Ribbon.WebApp.Security.Controls.BlockedFiles
Ribbon.WebApp.Security.Controls.UserPermissions
Ribbon.WebApp.Security.Controls.WebPart

Ribbon.WebApp.Policy group

Control ID
Ribbon.WebApp.Policy.Controls.GeneralPolicy
Ribbon.WebApp.Policy.Controls.Anonymous
Ribbon.WebApp.Policy.Controls.PermissionPolicy

Ribbon.SiteCollections tab

Ribbon.SiteCollections.Contribute group

Control ID
Ribbon.SiteCollections.Contribute.CreateSite
Ribbon.SiteCollections.Contribute.Delete

Ribbon.SiteCollections.Review group

Control ID
Ribbon.SiteCollections.Review.ViewProperties

Ribbon.SiteCollections.Manage group

Control ID
Ribbon.SiteCollections.Manage.Owners
Ribbon.SiteCollections.Manage.DiskQuota

Ribbon.ManageTrust tab

Ribbon.ManageTrust.Operations group

Control ID
Ribbon.ManageTrust.Create
Ribbon.ManageTrust.Operations.Edit
Ribbon.ManageTrust.Operations.Delete

Ribbon.EditingTools.CPEditTab tab

Ribbon.EditingTools.CPEditTab.EditAndCheckout group

Control ID
Ribbon.EditingTools.CPEditTab.EditAndCheckout.SaveEdit
Ribbon.EditingTools.CPEditTab.EditAndCheckout.Checkout

Ribbon.EditingTools.CPEditTab.Clipboard group

Control ID
Ribbon.EditingTools.CPEditTab.Clipboard.Paste
Ribbon.EditingTools.CPEditTab.Clipboard.Cut
Ribbon.EditingTools.CPEditTab.Clipboard.Copy
Ribbon.EditingTools.CPEditTab.Clipboard.Undo

Ribbon.EditingTools.CPEditTab.Font group

Control ID
Ribbon.EditingTools.CPEditTab.Font.Fonts
Ribbon.EditingTools.CPEditTab.Font.FontSize
Ribbon.EditingTools.CPEditTab.Font.ClearFormat
Ribbon.EditingTools.CPEditTab.Font.Bold
Ribbon.EditingTools.CPEditTab.Font.Italics
Ribbon.EditingTools.CPEditTab.Font.Underline
Ribbon.EditingTools.CPEditTab.Font.Strikethrough
Ribbon.EditingTools.CPEditTab.Font.Subscript
Ribbon.EditingTools.CPEditTab.Font.Superscript
Ribbon.EditingTools.CPEditTab.Font.FontBackgroundColor
Ribbon.EditingTools.CPEditTab.Font.FontColor

Ribbon.EditingTools.CPEditTab.Paragraph group

Control ID
Ribbon.EditingTools.CPEditTab.Paragraph.Bullets
Ribbon.EditingTools.CPEditTab.Paragraph.Numbering
Ribbon.EditingTools.CPEditTab.Paragraph.Outdent
Ribbon.EditingTools.CPEditTab.Paragraph.Indent
Ribbon.EditingTools.CPEditTab.Paragraph.LTR
Ribbon.EditingTools.CPEditTab.Paragraph.RTL
Ribbon.EditingTools.CPEditTab.Paragraph.AlignLeft
Ribbon.EditingTools.CPEditTab.Paragraph.AlignCenter
Ribbon.EditingTools.CPEditTab.Paragraph.AlignRight
Ribbon.EditingTools.CPEditTab.Paragraph.AlignJustify

Ribbon.EditingTools.CPEditTab.Styles group

Control ID
Ribbon.EditingTools.CPEditTab.Styles.Styles

Ribbon.EditingTools.CPEditTab.Layout group

Control ID
Ribbon.EditingTools.CPEditTab.Layout.PageLayout

Ribbon.EditingTools.CPEditTab.Markup group

Control ID
Ribbon.EditingTools.CPEditTab.Markup.ElementWithStyle
Ribbon.EditingTools.CPEditTab.Markup.LanguagesLabel
Ribbon.EditingTools.CPEditTab.Markup.SelectLabel
Ribbon.EditingTools.CPEditTab.Markup.HtmlLabel
Ribbon.EditingTools.CPEditTab.Markup.Languages
Ribbon.EditingTools.CPEditTab.Markup.Select
Ribbon.EditingTools.CPEditTab.Markup.Html

Ribbon.EditingTools.CPInsert tab

Ribbon.EditingTools.CPInsert.Tables group

Control ID
Ribbon.EditingTools.CPInsert.Tables.Table

Ribbon.EditingTools.CPInsert.Media group

Control ID
Ribbon.EditingTools.CPInsert.Media.Image

Ribbon.EditingTools.CPInsert.Links group

Control ID
Ribbon.EditingTools.CPInsert.Links.Link
Ribbon.EditingTools.CPInsert.Links.UploadFile

Ribbon.EditingTools.CPInsert.WebParts group

Control ID
Ribbon.EditingTools.CPInsert.WebParts.WebPart
Ribbon.EditingTools.CPInsert.WebParts.ExistingList
Ribbon.EditingTools.CPInsert.WebParts.InsertNewList

Ribbon.Image.Image tab

Ribbon.Image.Image.Edit group

Control ID
Ribbon.Image.Image.Edit.Edit

Ribbon.Image.Image.Properties group

Control ID
Ribbon.Image.Image.Properties.URLLabel
Ribbon.Image.Image.Properties.URL
Ribbon.Image.Image.Properties.AltTextLabel
Ribbon.Image.Image.Properties.AltText

Ribbon.Image.Image.Styles group

Control ID
Ribbon.Image.Image.Styles.ImageStyles

Ribbon.Image.Image.Arrange group

Control ID
Ribbon.Image.Image.Arrange.ImageArrange

Ribbon.Image.Image.Size group

Control ID
Ribbon.Image.Image.Size.HorizontalSizeLabel
Ribbon.Image.Image.Size.HorizontalSize
Ribbon.Image.Image.Size.VertSizeLabel
Ribbon.Image.Image.Size.VerticalSize
Ribbon.Image.Image.Size.LockAspect

Ribbon.Document tab

Ribbon.Documents.New group

Control ID
Ribbon.Documents.New.NewDocument
Ribbon.Documents.New.AddDocument

Ribbon.Documents.EditCheckout group

Control ID
Ribbon.Documents.EditCheckout.EditDocument
Ribbon.Documents.EditCheckout.CheckOut
Ribbon.Documents.EditCheckout.CheckIn
Ribbon.Documents.EditCheckout.DiscardCheckOut

Ribbon.Documents.Manage group

Control ID
Ribbon.Documents.Manage.ViewProperties
Ribbon.Documents.Manage.EditProperties
Ribbon.Documents.Manage.ViewVersions
Ribbon.Documents.Manage.ManagePermissions
Ribbon.Documents.Manage.Delete

Ribbon.Documents.Share group

Control ID
Ribbon.Documents.Share.EmailItemLink
Ribbon.Documents.Share.AlertMe

Ribbon.Documents.Copies group

Control ID
Ribbon.Documents.Copies.Download
Ribbon.Documents.Copies.SendTo
Ribbon.Documents.Copies.ManageCopies
Ribbon.Documents.Copies.GoToSourceItem

Ribbon.Documents.Workflow group

Control ID
Ribbon.Documents.Workflow.ViewWorkflows
Ribbon.Documents.Workflow.Publish
Ribbon.Documents.Workflow.Unpublish
Ribbon.Documents.Workflow.Moderate
Ribbon.Documents.Workflow.CancelApproval

Ribbon.Documents.FormActions group

Control ID
Ribbon.Documents.FormActions.RepairItems
Ribbon.Documents.FormActions.RepairAllItems
Ribbon.Documents.FormActions.MergeDocuments

Ribbon.Library tab

Ribbon.Library.ViewFormat group

Control ID
Ribbon.Library.ViewFormat.Standard
Ribbon.Library.ViewFormat.Datasheet

Ribbon.Library.Datasheet group

Control ID
Ribbon.Library.Datasheet.NewRow
Ribbon.Library.Datasheet.ShowTaskPane
Ribbon.Library.Datasheet.ShowTotals
Ribbon.Library.Datasheet.RefreshData

Ribbon.Library.CustomViews group

Control ID
Ribbon.Library.Actions.AllMeetings
Ribbon.Library.CustomViews.CreateView
Ribbon.Library.CustomViews.ModifyView
Ribbon.Library.CustomViews.CreateColumn
Ribbon.Library.CustomViews.NavigateUp
Ribbon.Library.CustomViews.CurrentView
Ribbon.Library.CustomViews.DisplayView
Ribbon.Library.CustomViews.PreviousPage
Ribbon.Library.CustomViews.CurrentPage
Ribbon.Library.CustomViews.NextPage

Ribbon.Library.Share group

Control ID
Ribbon.Library.Share.EmailLibraryLink
Ribbon.Library.Share.AlertMe
Ribbon.Library.Share.ViewRSSFeed

Ribbon.Library.Actions group

Control ID
Ribbon.Library.Actions.TakeOfflineToClient
Ribbon.Library.Actions.ConnectToClient
Ribbon.Library.Actions.ExportToSpreadsheet
Ribbon.Library.Actions.OpenWithExplorer

Ribbon.Library.CustomizeLibrary group

Control ID
Ribbon.Library.CustomizeLibrary.AddButton
Ribbon.Library.CustomizeLibrary.EditList
Ribbon.Library.CustomizeLibrary.EditDefaultForms

Ribbon.Library.Settings group

Control ID
Ribbon.Library.Settings.DocumentLibrarySettings
Ribbon.Library.Settings.LibraryPermissions
Ribbon.Library.Settings.ManageWorkflows

Ribbon.ListItem tab

Ribbon.ListItem.New group

Control ID
Ribbon.ListItem.New.NewListItem
Ribbon.ListItem.New.NewFolder

Ribbon.ListItem.Manage group

Control ID
Ribbon.ListItem.Manage.ViewProperties
Ribbon.ListItem.Manage.EditProperties
Ribbon.ListItem.Manage.ViewVersions
Ribbon.ListItem.Manage.ManagePermissions
Ribbon.ListItem.Manage.Delete

Ribbon.ListItem.Actions group

Control ID
Ribbon.ListItem.Actions.AttachFile
Ribbon.ListItem.Actions.ChangeItemOrder

Ribbon.ListItem.Share group

Control ID
Ribbon.ListItem.Share.AlertMe

Ribbon.ListItem.Workflow group

Control ID
Ribbon.ListItem.Workflow.ViewWorkflows
Ribbon.ListItem.Workflow.Moderate

Ribbon.List tab

Ribbon.List.ViewFormat group

Control ID
Ribbon.List.ViewFormat.Standard
Ribbon.List.ViewFormat.Datasheet

Ribbon.List.Datasheet group

Control ID
Ribbon.List.Datasheet.NewRow
Ribbon.List.Datasheet.ShowTaskPane
Ribbon.List.Datasheet.ShowTotals
Ribbon.List.Datasheet.RefreshData

Ribbon.List.GanttView group

Control ID
Ribbon.List.GanttView.ZoomIn
Ribbon.List.GanttView.ZoomOut
Ribbon.List.GanttView.ScrollToTask

Ribbon.List.CustomViews group

Control ID
Ribbon.List.Actions.AllMeetings
Ribbon.List.CustomViews.CreateView
Ribbon.List.CustomViews.ModifyView
Ribbon.List.CustomViews.CreateColumn
Ribbon.List.CustomViews.NavigateUp
Ribbon.List.CustomViews.CurrentView
Ribbon.List.CustomViews.DisplayView
Ribbon.List.CustomViews.PreviousPage
Ribbon.List.CustomViews.CurrentPage
Ribbon.List.CustomViews.NextPage

Ribbon.List.Share group

Control ID
Ribbon.List.Share.EmailLibraryLink
Ribbon.List.Share.AlertMe
Ribbon.List.Share.ViewRSSFeed

Ribbon.List.Actions group

Control ID
Ribbon.List.Actions.TakeOfflineToClient
Ribbon.List.Actions.ConnectToClient
Ribbon.List.Actions.ExportToSpreadsheet
Ribbon.List.Actions.CreateVisioDiagram
Ribbon.List.Actions.OpenWithAccess
Ribbon.List.Actions.ExportToProject

Ribbon.List.CustomizeList group

Control ID
Ribbon.List.CustomizeList.AddButton
Ribbon.List.CustomizeList.EditList
Ribbon.List.CustomizeList.EditDefaultForms

Ribbon.List.Settings group

Control ID
Ribbon.List.Settings.ListSettings
Ribbon.List.Settings.ListPermissions
Ribbon.List.Settings.ManageWorkflows

Ribbon.Link.Link tab

Ribbon.Link.Link.Link group

Control ID
Ribbon.Link.Link.Link.RemoveLink

Ribbon.Link.Link.Properties group

Control ID
Ribbon.Link.Link.Properties.LinkAddressLabel
Ribbon.Link.Link.Properties.LinkAddress
Ribbon.Link.Link.Properties.LinkTooltipLabel
Ribbon.Link.Link.Properties.LinkTooltip

Ribbon.Link.Link.Behavior group

Control ID
Ribbon.Link.Link.Behavior.PopUp
Ribbon.Link.Link.Behavior.DisplayIcon

Ribbon.Table.Layout tab

Ribbon.Table.Layout.Table group

Control ID
Ribbon.Table.Layout.Table.TableGridLines

Ribbon.Table.Layout.Cells group

Control ID
Ribbon.Table.Layout.Cells.MergeCells
Ribbon.Table.Layout.Cells.Split

Ribbon.Table.Layout.RowsCols group

Control ID
Ribbon.Table.Layout.RowsCols.InsertAbove
Ribbon.Table.Layout.RowsCols.InsertBelow
Ribbon.Table.Layout.RowsCols.InsertLeft
Ribbon.Table.Layout.RowsCols.InsertRight
Ribbon.Table.Layout.RowsCols.Delete

Ribbon.Table.Layout.Properties group

Control ID
Ribbon.Table.Layout.Properties.TableWidthLabel
Ribbon.Table.Layout.Properties.TableHeightLabel
Ribbon.Table.Layout.Properties.TableWidth
Ribbon.Table.Layout.Properties.TableHeight
Ribbon.Table.Layout.Properties.ColumnWidthLabel
Ribbon.Table.Layout.Properties.RowHeightLabel
Ribbon.Table.Layout.Properties.ColumnWidth
Ribbon.Table.Layout.Properties.RowHeight

Ribbon.Table.Layout.Summary group

Control ID
Ribbon.Table.Layout.Summary.SummaryLabel
Ribbon.Table.Layout.Summary.Summary

Ribbon.Table.Design tab

Ribbon.Table.Design.StyleOptions group

Control ID
Ribbon.Table.Design.StyleOptions.TableHead
Ribbon.Table.Design.StyleOptions.TableFirstCol
Ribbon.Table.Design.StyleOptions.TableLastRow
Ribbon.Table.Design.StyleOptions.TableLastCol

Ribbon.Table.Design.Style group

Control ID
Ribbon.Table.Design.Style.TableStyles

Ribbon.WebPartInsert.Tab tab

Ribbon.WebPartInsert.Text group

Control ID
Ribbon.WebPartInsert.Text.Text

Ribbon.WebPartInsert.Media group

Control ID
Ribbon.WebPartInsert.Media.Image

Ribbon.WebPartInsert.InsertRelatedDataToListForm group

Control ID
Ribbon.WebPartInsert.InsertRelatedDataToListForm.RelatedWebPart

Ribbon.WebPartInsert.WebParts group

Control ID
Ribbon.WebPartInsert.WebParts.WebPart
Ribbon.WebPartInsert.WebParts.ExistingList

Ribbon.WebPartOption tab

Ribbon.WebPartOption.Properties group

Control ID
Ribbon.WebPartOption.Commands.Modify

Ribbon.WebPartOption.InsertRelatedDataToListView group

Control ID
Ribbon.WebPartOption.InsertRelatedDataToListView.RelatedWebPart

Ribbon.WebPartOption.Commands group

Control ID
Ribbon.WebPartOption.Commands.Minimize
Ribbon.WebPartOption.Commands.Restore
Ribbon.WebPartOption.Commands.Delete

Ribbon.Calendar.Events tab

Ribbon.Calendar.Events.New group

Control ID
Ribbon.Calendar.Events.New.NewListItem

Ribbon.Calendar.Events.Manage group

Control ID
Ribbon.Calendar.Events.Manage.ViewProperties
Ribbon.Calendar.Events.Manage.EditProperties
Ribbon.Calendar.Events.Manage.ViewVersions
Ribbon.Calendar.Events.Manage.ManagePermissions
Ribbon.Calendar.Events.Manage.Delete

Ribbon.Calendar.Events.Share group

Control ID
Ribbon.Calendar.Events.Share.AlertMe

Ribbon.Calendar.Events.Workflow group

Control ID
Ribbon.Calendar.Events.Workflow.ViewWorkflows
Ribbon.Calendar.Events.Workflow.Moderate

Ribbon.Calendar.Calendar tab

Ribbon.Calendar.Calendar.Selector group

Control ID
Ribbon.Calendar.Calendar.Selector.People
Ribbon.Calendar.Calendar.Selector.Resource

Ribbon.Calendar.Calendar.Scope group

Control ID
Ribbon.Calendar.Calendar.Scope.DayGroup
Ribbon.Calendar.Calendar.Scope.WeekGroup
Ribbon.Calendar.Calendar.Scope.Day
Ribbon.Calendar.Calendar.Scope.Week
Ribbon.Calendar.Calendar.Scope.Month

Ribbon.Calendar.Calendar.Expander group

Control ID
Ribbon.Calendar.Calendar.Expander.ExpandAll
Ribbon.Calendar.Calendar.Expander.CollapseAll

Ribbon.Calendar.Calendar.CustomViews group

Control ID
Ribbon.Calendar.Calendar.CustomViews.CreateView
Ribbon.Calendar.Calendar.CustomViews.CurrentView
Ribbon.Calendar.Calendar.CustomViews.DisplayView
Ribbon.Calendar.Calendar.CustomViews.ModifyView

Ribbon.Calendar.Calendar.Share group

Control ID
Ribbon.Calendar.Calendar.Share.EmailLibraryLink
Ribbon.Calendar.Calendar.Share.AlertMe
Ribbon.Calendar.Calendar.Share.ViewRSSFeed

Ribbon.Calendar.Calendar.Actions group

Control ID
Ribbon.Calendar.Calendar.Actions.TakeOfflineToClient
Ribbon.Calendar.Calendar.Actions.ConnectToClient
Ribbon.Calendar.Calendar.Actions.ExportToSpreadsheet
Ribbon.Calendar.Calendar.Actions.OpenWithAccess

Ribbon.Calendar.Calendar.Settings group

Control ID
Ribbon.Calendar.Calendar.Settings.ListSettings
Ribbon.Calendar.Calendar.Settings.AddCalendar
Ribbon.Calendar.Calendar.Settings.ManageWorkflows
Ribbon.Calendar.Calendar.Settings.ListPermissions
Ribbon.List.Settings.EditList

Ribbon.Permission tab

Ribbon.Permission.Parent group

Control ID
Ribbon.Permission.Parent.ManageParent
Ribbon.Permission.Parent.Inherit
Ribbon.Permission.Parent.StopInherit

Ribbon.Permission.Add group

Control ID
Ribbon.Permission.Add.AddUser
Ribbon.Permission.Add.NewGroup

Ribbon.Permission.Modify group

Control ID
Ribbon.Permission.Modify.EditUsrPerm
Ribbon.Permission.Modify.RemovePerms

Ribbon.Permission.Check group

Control ID
Ribbon.Permission.Check.CheckUsrPerm

Ribbon.Permission.Manage group

Control ID
Ribbon.Permission.Manage.AnonyAccess
Ribbon.Permission.Manage.PermLevels
Ribbon.Permission.Manage.ManagAccReq
Ribbon.Permission.Manage.SiteColAdmin
Posted in SharePoint 2010, Visual Studio 2010 | Leave a comment