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

learn more… | top users | synonyms

15
votes
3answers
20k views

Show custom action in ribbon for only one list

Does anyone knows how to show a custom action in the ribbon for only one list? At this moment I've got multiple custom lists, but my button is added on all of them. I only want to show it on one ...
11
votes
3answers
11k views

Hiding buttons of the Ribbon Bar

Is it possible to hide specific buttons of the SharePoint 2010 Ribbon Bar based on the user's permission on publishing pages? For example, we need to hide the font dropdown and under the Insert tab, ...
13
votes
3answers
25k views

Ribbon gets hidden by default. How to fix that?

I have the following problem: the ribbon bar gets hidden by default for the users of a site collection, so they must enable it manually by using the "Show Ribbon" link on the site action menu. This ...
7
votes
2answers
7k views

Buttons not appearing in custom ribbon group

I'm trying to add a new group to the list form display ribbon that contains a few buttons. The group is created but it's blank. Here's the Elements.xml that defines the CustomAction: <?xml version=...
4
votes
1answer
2k views

SharePoint RTE: How to attach to mousedown events (like bold, italic does)

When clicking on bold text in the RTE (rich text editor), magically the ribbon button for bold: get's activated. The same happens for the other format option buttons you can see on the screenshot. I ...
3
votes
3answers
7k views

Trigger JavaScript on Custom Action Ribbon/Menu Item

I have two custom actions that are currently deployed to a SharePoint 2013 Forms Library. They are working perfectly fine with the exception of a less than favorable method. What happens now is that ...
2
votes
3answers
13k views

I want to hide the SharePoint Ribbon Tabs (Browse, Page, etc) on my homepage based on permissions and such that they are stripped/trimmed when hidden

I am trying to hide the SharePoint Ribbon Tabs based on a users permissions. I know that I can use the SPSecurityTrimmedControl to do this but I need to wrap it around just the tabs and not the whole ...
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 ...
8
votes
9answers
20k views

How do I enable a greyed out datasheet button?

On my list the datasheet button is greyed out. How do I go about enabling it?
4
votes
4answers
5k views

Blog - how to avoid List Tools in ribbon when clicking on text

I have created a custom blog with the publishing feature enabled. When I am logged on with a normal user (with no admin rights) and click on a text or an image, "List Tools" appeares in the ribbon, ...
3
votes
6answers
11k views

Infopath Button missing in Ribbon for List

I am trying to follow some tutorials for customizing a list with InfoPath 2010. However, when I click on a list it appears I am missing the InfoPath button. I do have Infopath 2010 installed and can ...
4
votes
2answers
5k views

Attach a Javascript function to an OOTB ribbon button

I want to attach a custom javascript function to the out of the box "Download a copy" ribbon button. This is to provide analytics for file downloads done through the ribbon button. I tried this code,...
7
votes
3answers
15k views

Rich text Editor (ribbon based) in a webpart in SharePoint 2013

My goal is to create a rich text editor for a textarea in my custom webpart in SharePoint 2013. The data is saved outside the SharePoint, so I can't really use a sharepoint list for that. I really ...
3
votes
1answer
391 views

Add content to the editor

I've developed a ribbon button to Sharepoint inside Media tab. This opens a dialog where I list loads of content. On click I'm calling a function to close the dialog and it is supposed to insert some ...
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 ...
8
votes
3answers
4k views

Add Ribbon Button via JavaScript

I have specific requirements from my client that he wants to add some additional Ribbon Button "but only" via JavaScript (including EnableScript reading value from some other list). They don't want to ...
4
votes
1answer
3k views

Select the ListView Web Part Automatically on AllItems.aspx

In SharePoint 2010, if you have more than one web part on a web part page, the ribbon disappears because SharePoint doesn't know which web part to display the ribbon for (this is by design because if ...
4
votes
3answers
10k views

Enable/Disable ribbon button based on current item value of a field

Lets say I have a field called locked, which is boolean on a document library. And I want to make a workflow to Lock or Unlock an item. The Lock button should be enable only if its unlocked and the ...
2
votes
4answers
3k views

How to invoke server side code from Ribbon

I want to create a Button in my Ribbon which modifies some fields in my items.. In details I want to select more than one element and select my "link" button and make the elements be "linked" by an ...
8
votes
2answers
716 views

How do I make a custom publish button for a page and make it do the same as the ribbon publish button?

How do I make a custom publish button for a page and make it do the same as the ribbon publish button? We have a request from the customer to make a simple page that should have a custom publish ...
7
votes
5answers
8k views

How do I hide the “Datasheet view” option in a list?

How do I hide the "Datasheet view" option (under "View Format") in a list's ribbon menu?
6
votes
3answers
8k views

Show Ribbon always to Visitors

Is there any way to show Ribbon for visitors, in all pages, by default? Normal Page View for Visitors: (No Ribbon) Normal Page for Editors: I am looking for a solution to display the ribbon for ...
5
votes
4answers
8k views

Get current web url in a SPRibbon Custom Action Command

I've a SPRibbon custom action with the purpose of open an custom app page in a modal dialog, but I'm getting troubles for getting the current web URL, as well, set a reference for a .js with the right ...
4
votes
2answers
2k views

In SharePoint how to display custom ribbon button to particular lists only?

I am having four external list "List1", "List2", "List3", "List4". I have added a custom ribbon button Like: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft....
4
votes
2answers
1k views

Add link in ribbon - SP2013

I would like customizing my ribbon, but not in this way that is exemplified here Custom actions in SharePoint 2013. I need to add a link in the green stripe or gray (preferably in gray stripe). ...
3
votes
2answers
2k views

Add button to Ribbon.PublishTab.Publishing

This question is for anyone who wants to add a custom button to the Ribbon under the WikiPage or PublishTab tabs. The methods out there for adding a button that is associated with a list or library or ...
3
votes
2answers
3k views

Start Workflow using JavaScript or Ribbon Button

I'm using SharePoint 2010 Foundation. I've developed a SharePoint-Farm Solution and now I want start a SharePoint Workflow clicking a Ribbon Button. I know that with SharePoint Designer I can create ...
2
votes
1answer
650 views

How to partial disabling 'Open to Explorer' Ribbon Action

I'm disabling, for all user Rights, the 'Open with Explorer' button in the SPRibbon with the following code: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft....
1
vote
0answers
215 views

automatically show ribbon on publishing site

I have a custom publishing site (custom masterpage and custom site definition). I want ribbon automatically be shown on new sites. So the users don't have to enable it through Site Settings: So it ...
0
votes
2answers
8k views

How to get List Name from JS Object Model - List Name from URL problem

I'm trying to connect Ribbon to Pages.. This works, javascript get what I need and pass as parameter to my page.. I pass the URL and the SelectedItemsID.. I'm facing a problem: If I had a List ...
6
votes
4answers
12k views

Items And List Tabs In Ribbon Don't Show After Editing Page

In my portal I am running a custom master page. I have an issue, however, that the Items and List tabs don't show (even for admin) until I click in an existing list, in which case the ribbon opens. ...
3
votes
2answers
862 views

Tricky error in dialogbox styling

This question is related to this: Customize Sharepoint 2010 Ribbon in Dialog ONLY I did what suggested there and it works fine, but with a small problem shown on the screenshot below. My Ribbon html ...
3
votes
1answer
2k views

Customize Sharepoint 2010 Ribbon in Dialog ONLY

In the screenshoot below I pasted the Dialog of the NEW ITEM on top of our website. The ribbon bar selected in red, we want to change it, but it should be different to the ribbon bar in the normal ...
3
votes
1answer
2k views

SharePoint Ribbon Loading endlessly

i'm a beginner of SharePoint.I'm using 2010version. Here i'm facing a problem that the ribbon of my root site is loading endlessly. I could not use the options like page, Edit,site action etc.. but ...
2
votes
2answers
6k views

how do i place custom action in custom group on displayform?

By following the examples in the SP 2010 C# Hands On Lab (SPCHOL308), I've gotten a CustomAction button to show up under the View tab in the Manage group on the DisplayForm. I want to place this ...
2
votes
1answer
2k views

“Ribbon.Read” has not been made available for this page or does not exist

I have created a link to open up a new page in a model form. I get this error but I dont know how to fix this The Ribbon Tab with id: "Ribbon.Read" has not been made available for this page or does ...
2
votes
3answers
1k views

Expected ; on javascript

I got the following code in my elements.xml, but I cant find the error. My ribbon is broken, the error says, expected;. But I see no error, yet, maybe fresh eyes can see it. See the EnabledScript ...
2
votes
1answer
4k views

Adding custom button to ribbon - Button doesn't get displayed

I'm trying to add a custom button to a SP2010 ribbon in the DisplayFormToolbar for a list item. The list is external, although I don't think that matters but still... This is my custom action ...
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
380 views

Sharepoint Ribbon for view item form going full option

I have a view item form which contains a custom WebPart for displaying that item. I have no issue with that but the ribbon for the display form looks weird: It contains lots of options that don't ...
1
vote
1answer
117 views

Why can I not stop personalizing?

When I "Personalize this Page", I don't seem to have a way to "Stop Editing". I'd expect such a button under the "Page" of the ribbon, but it's not there. What can cause this?
1
vote
2answers
2k views

Remove Attach file button from Ribbon

Can anyone offer advice please as to how i can remove the 'attach file' menu button form the ribbon only on a specific library? It is on the default new + edit forms that are loaded ... It needs to ...
0
votes
0answers
72 views

How to show a website under the ribbon of sharepoint?

How do I show a C# web page developed in the asp.net VS 2013 in sharepoint online?. I have created a dropdown menu in sharepoint each menu item when clicked the needs to go to a landing page as shown ...
0
votes
1answer
353 views

Hide New Document Command from ribbon using PowerShell

Want to know how to hide New Document command from ribbon using PowerShell in SP 2013. Below is my code that does not work. $CustomAction = $list.UserCustomActions.Add() $CustomAction.Title = "Hide ...
0
votes
2answers
132 views

Hiding browse and page tab from SharePoint 2013 for specific users

I have made a site in SharePoint 2013 and different users in my sites like who can view, visit, edit or has full control of the site. Now for some users I want to hide the browse and page tab from ...
0
votes
6answers
2k views

Enable/Disable Button On Ribbon When Content Type Selected

I have created a custom action button that appears on the DisplayForm for a specific content type. On the list view I would also like to enable the button but only when the specific content type is ...
0
votes
1answer
2k views

How can I add button to ribbon that visible only for specific content type?

I have document library and i want to add button that will be visible only for my content type: <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <!-- Parent ContentType: ...