A ribbon is an interface with set of toolbars placed on several tabs.

learn more… | top users | synonyms

2
votes
1answer
2k views

Add custom groups to custom ribbon tab from different features

I have two features in SharePoint 2010 project. Every feature has its own button that have to be placed in different groups on the same custom tab. For example: Feature1 adds "Hello" group with "...
2
votes
1answer
2k views

Removing “Edit Item” from calendar ribbon in sharepoint 2010

I am facing trouble removing the "Edit Item" ribbon button from calendar DispForm.aspx. I have created a visual studio 2010 user control where i used the method TrimById("Ribbon.ListForm.Display....
2
votes
3answers
2k views

Enabling a Button on the Ribbon Based on Selection

How can I change EnabledScript asynchronously? I need this, because EnabledScript depended in my case on some item fields, but I can read them only in async way: var itemId = SP.ListOperation....
2
votes
2answers
29 views

Web-Page giving error when trying to Edit or open the Ribbon

A user has added some custom JS code into a web-page, making it unusable. Basically the ribbon cannot be opened, and web-parts cannot be modified. Custom JS: <script type="text/javascript"> ...
2
votes
2answers
656 views

SharePoint Online “Page Elements” style for Format Text missing

We are currently experiencing a really weird bug where the "Page Elements" is missing under the Font Styles under Format Text. Here is a screenshot: The weird thing is, it was working fine ever ...
2
votes
0answers
168 views

How to edit ribbon button tooltip

There is a custom ribbon button MyButton declared inside feature and deployed on site. Now I need to change it's tooltip value in some cases: Button enabled: Some text Button disabled and there is ...
2
votes
1answer
323 views

SharePoint 2013 Rich Text Field Custom Web Part - Embed Code Disabled

I'm developing a custom SharePoint 2013 Web Part that contains a Rich Text field. I'm using the method described here to allow the Ribbon to be used for Rich Text editing. This works for everything ...
2
votes
2answers
211 views

To ScriptLink or not to ScriptLink

I need a custom ribbon button that calls a function in a js file in one particular library. To get access to the JS file, I could: Add the JS file reference via a content editor web part on the ...
2
votes
0answers
358 views

Page Edit ribbon is disabled in Edit mode, sharepoint online

I have created a custom masterpage inherited from Seatle, and then created custom masterpages. When I apply my custom pagelayout to the site and click on Side--> Edit to edit the pagelayout again or ...
2
votes
1answer
382 views

Get object of ribbon button in JavaScript

I am trying to access the ribbon button via JavaScript. Below is my code: // Get the page manager var ribbonPageMgr = SP.Ribbon.PageManager.get_instance(); // Get the ribbon var ribbon = ...
2
votes
1answer
143 views

Show error message when custom Ribbon button is disabled

I have a custom button added to SharePoint Ribbon. And there is EnabledScript attribute of the CommandUIHandler for the button. This attribute contains a javascript code to conditionally disable/...
2
votes
0answers
76 views

Add Rich Text to List View without changing ribbon context?

I have a few Lists and Libraries in my Sharepoint 2010 farm that I have added small instructions to. For example: This particular image is a calendar list view page of which I used the site actions ...
2
votes
0answers
1k views

How to add CustomAction button in Ribbon of DocumentLibrary in SharePoint Online?

How can I add a CustomAction button in Ribbon of Document Library in SharePoint Online (Office-365) for Sandbox solution without any code ? I have created team-site in SharePoint Online. And having ...
2
votes
0answers
67 views

SharePoint 2010 Ribbon in MOSS 2007

I wonder if any of you might have any experience/suggestions/ideas in how to implement a ribbon control in MOSS 2007, that is identical to the version available in SP 2010
2
votes
0answers
151 views

SharePoint interact with Rich HTML editor using javascript

Is there any way to manipulate the editor content by using JavaScript? My ultimate goal is to allow user to click a button on ribbon bar, and JS will help to insert some predefined template html into ...
2
votes
1answer
732 views

How to remove ms-cui-disabled from a button?

The Workflow button is currently disabled on a list, in all views. It is using the "ms-cui-ctl-large ms-cui-disabledcui-disabled" CSS. Where do I go to change this to the class="ms-cui-ctl-large " ? ...
2
votes
1answer
160 views

Load List Item Ribbon tab on page load when using Page in Pages Library

My question is a little bit different than the other missing / loading ribbon questions and I'll explain why. In order to properly style my application, I've created a page in the Pages Library and ...
2
votes
0answers
238 views

Create submenu item on Ribbon's Splitbutton

I just want to know if it's possible to add submenu on a custom splitbutton by using a delegate control. I know that the normal way is to use javascript function to create the submenu xml. But I was ...
2
votes
2answers
7k views

Getting value of column in selected rows from list

I am trying to get selected rows in the list and select ids for the pdf generator. Debug stops after context.load(rows) and nothing happens after that till I reload the page. If remove code for ...
2
votes
0answers
365 views

SP2010 Ribbon add confirm logic on publishing a page

I need to display a confirm popup when page is published to warn about unpopulated publishing page fields. User might contiune in which case page will be published, or user might cancel publishing. ...
2
votes
1answer
285 views

Use SP OOB Ribbon Buttons in a own Custom Ribbon Tab

I want to import some OOB Buttons to my custom ribbon tab, following this link steps I was able to show exactly the buttons as it should, however, the commands and tooltips are not working and every ...
2
votes
0answers
199 views

Field types error when ribbon is shown

We upgraded our MOSS 2007 to SharePoint 2010 yesterday. Everything seemed fine until I chose Show Ribbon from the site menu. Now I get an error like this: "One or more field types are not installed ...
2
votes
0answers
400 views

How To: Ribbon Options Language & their ToolTip Text Language = Same Site's Language?

I have SPS 2010 Intranet site for a global company where each country has its own site. Of course, Each country's site has its own language (All SharePoint 2010 Language Packs are installed). ...
2
votes
0answers
519 views

How do I get the full folder path of a selected list via the Ribbon and Client Side Script? [closed]

What I want to achieve is something similar to this OOB method: SP.ListOperation.Selection.getSelectedList() But this method only returns the GUID of the selected list. I would like to get the path,...
2
votes
1answer
701 views

SharePoint 2013 Ribbon Change Functioning of the Scrollbar

I have noticed on SharePoint 2013 that the scroll with the ribbon activated differently than when the ribbon is not activated. When the ribbon is activated (clicking the Page Tab), the scroll for s4-...
2
votes
1answer
251 views

Is It Possible to Add the SharePoint List View Related Ribbon to the Application Page?

Is it possible to add the list view related ribbon to the application page? I have a list view webpart in my application page. Now I don't have any ribbon like list view web part. Is it possible to ...
1
vote
3answers
218 views

Place a Ribbon on a Root Site

I have created a Ribbon following an example. However, the only examples I can find place the Ribbon on a document list. I suspect that a change is needed here: Location="CommandUI.Ribbon" ...
1
vote
2answers
911 views

How to collapse Ribbons bar when page is loaded?

When user click on an item display view (DispForm.aspx) the "View" ribbon is always expanded by default. It is annoying sometimes. How can I to make it collapse (not hide) by default? When user need ...
1
vote
1answer
5k views

How can restrict Rich Text Editor Properties (Fonts, Font Sizes, Color etc.) in Ribbon in SharePoint 2013?

I would like to restrict Rich text editor features which placed on Ribbon Toolbar while an user is editing an page. For example, only Arial and Times New Roman fonts and font size 10, 11 and 12 will ...
1
vote
2answers
996 views

How do I add a theme font to a ribbon?

I have Arial and Verdana as Theme Font. I want to add Tahoma to the Theme Fonts as well. How do I add a theme font to the ribbon?
1
vote
3answers
65 views

I can't see “Insert New List” in the ribbon

I cannot see the option Insert -> New List in the ribbon in sharepoint 2013. Has this function disappeared from the ribbon or is it just a configuration issue? If it's disappeared, how can i ...
1
vote
2answers
388 views

Where is the location of custom GroupTemplate?

I am in the process creating the webpart associated ribbon following the example. http://msdn.microsoft.com/en-us/library/gg552606.aspx I would like to create my own GroupTemplate. However it seams I ...
1
vote
3answers
483 views

How to enable my ribbon custom action only when 1 or more list items are selected?

I created a custom action in the ribbon by VS. I see the button always. Also when no list items are selected. How can I enable the button only when 1 or more listitems are selected? This is my ...
1
vote
3answers
10k views

Hide/disable ribbon bar buttons with client-side code

In SharePoint 2013, I'm trying to figure out how to hide or disable the Cancel button in the ribbon for the default form (NewForm) for a document library. Looking at the form source, I think this is ...
1
vote
1answer
1k views

Custom Action to Print multiple list items

A client has requested to print every selected list item (and its attachments) with one button click. How can this be achieved? Can I add a custom action in the ribbon that detects every list item ...
1
vote
1answer
2k views

Showing the tab on button click

Basically my questiong is regarding the ribbon. So I want to have the following behaviour, when a person clicks on the button, the contextual ribbon tab should be opened. Any idea how to do that? I ...
1
vote
2answers
2k views

Adding button to ribbon in CommandUI.Ribbon

I'm trying to add a button to the ribbon, in the same place the default "I Like It" and "Tags & Notes" buttons are located. I the elements.xml file for this feature (SocialRibbonControl) and tried ...
1
vote
1answer
1k views

Ribbon button - Move selected items into Document Set

How do I create a button on the ribbon and how do I move the selected item(s) from the list/library into a Document Set?
1
vote
1answer
858 views

hide ribbon menu for workflow

I want to hide the workflow button: Ribbon.List.Settings.ManageWorkflows Which scope should the feature have (web or site)? Now I try: <HideCustomAction Id="RemoveRibbonButton" Location="...
1
vote
2answers
1k views

How do I modify the ribbon for a Welcome Page or Page content type?

I'd like to add some custom actions for the pages on our site. These pages all have use the Page or Welcome Page Content Type. Thanks.
1
vote
1answer
83 views

Hiding ribbon in SharePoint 2013 based on permission level

I am trying to hide ribbon in SharePoint 2013 based on different permissions level.For example admin who is the owner of the site would be able to see ribbon and other users would not be able to see ...
1
vote
3answers
11k views

Get list ID and selected item ID

I use SharePoint Online and working in Visual Studio with SharePoint hosted app I need to get list id and the id of the SELECTED item in the list And i use a ribbon button to show a dialog and want ...
1
vote
1answer
555 views

How to hide button from context menu on SP view

I have a SharePoint view, and I want to hide "Share with" button when click to context menu of this view. How can I do this?
1
vote
2answers
3k views

Custom Button added in Ribbon is disabled

I have successfully added a new button in the ribbon. But when I check , it is disabled and I cannot even click it. The following is the code that I have used: <?xml version="1.0" encoding="...
1
vote
2answers
1k views

Hide Ribbon Button for a Particular List

I want to hide a SharePoint 2010 ribbon button for a list based on SharePoint groups. SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite site = new SPSite(SPContext....
1
vote
2answers
2k views

List ribbon button disappeared

I have a problem with a List ribbon button that disappears. The only thing that has happend that I know of is that the wsp was redeployed and the site-feature (which creates the list) was reactivated. ...
1
vote
1answer
902 views

How to make top ribbon visible on all accounts - My Sites

So I've spent a lot of time customizing the look and feel of My Sites using feature stapling but I had been checking the changes using the Administrator account...now I logged in as a test user with ...
1
vote
1answer
1k views

Display Warning Message at Click Event of Cancel Button of Ribbon

I want to display a warning message whenever user clicks the Cancel button on the ribbon of EditForm.aspx OR Hide/Remove the Cancel button from the Ribbon. Both solutions are most welcome.
1
vote
2answers
1k views

How to determine why custom ribbon tab does not appear with page component?

I've defined custom tab with buttons in elements.xml which shows only on document libraries (RegistrationType="List", RegistrationId="101"). When I use CommandUIHandler for javascript, custom tab ...
1
vote
1answer
3k views

How to add a button at Page tab ribbon at publishing page?

Can you please help me in order to add a button at Page tab in publishing page. I am able to add the button in the documents library but I am not able to add the button at Page tab. Here is the XML ...