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

learn more… | top users | synonyms

0
votes
1answer
1k views

Hide “Upload Document” button via XML?

I'm trying to hide the "Upload Document" button (including the Upload Document and Upload Multiple Documents submenu). I've tried the following XML, but I can't get it to work: <CustomAction ...
1
vote
2answers
6k 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
2answers
922 views

Sharepoint Ribbon: Circumventing Context sensitivity

First of all, I've asked this same question on StackOverflow. I don't know if questions asked there are visited by users here and vice-versa, so in hopes that my question gets the most exposure, I'm ...
1
vote
1answer
697 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 ...
2
votes
2answers
858 views

Customizing social tags and notes buttons on the ribbon

I want to change social tags and notes buttons in the ribbon, but I don't know how and even if it is possible. So we have 2 social buttons in the ribbon, I like it and Tags & notes. I want to ...
2
votes
2answers
591 views

Ribbon customisations as per example result in errors

Please can someone help my sanity :) I've followed many a blogs including this one : http://msdn.microsoft.com/en-us/library/office/gg549101.aspx#pj14_ModifyPWARibbon_TimesheetRibbon It removes ...
2
votes
2answers
4k 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 ...
0
votes
1answer
1k views

Setting the default ribbon tab to a custom tab in SharePoint 2010?

Ok - So I have a shared documents library - and like many posts before me I would like to make the default tab on the ribbon a custom tab that I have made. Can someone tell me how to edit the URL ...
1
vote
1answer
410 views

How to remove/change JavaScript code from sp.ribbon.js?

I use This link for created a ribbon on my web part. I run the solution and it is OK. but when i change the JavaScript code it is run the old code. I remove the JavaScript code in solution and add ...
1
vote
2answers
1k 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
2answers
3k views

How to add a button at Page tab ribbon when add webpart?

I have a webpart with custom setting. I add 2 property to webpart setting. I want add button to Page tab ribbon when webpart added to page and value set for the property. It is possible that add a ...
2
votes
0answers
292 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. ...
1
vote
1answer
483 views

Custom Ribbon Button on Custom List (created in VS)

I've created a custom document library which is defined through a Visual Studio solution. I also have ribbon customizations which add buttons. My problem is that these buttons do not display on the ...
2
votes
2answers
790 views

Unable to delete item via ribbon Delete Item button

I have a generic list of items in SharePoint 2010. When I select an item with the left column checkbox, then select Delete Item from the ribbon, the item does not delete. Looking at the traffic in ...
0
votes
1answer
114 views

Adding a button to the ribbon of a publishing page

What is te CommandUIDefinition Location for adding a button to the Page Actions section of a publishing page? I looked on this page but I could only find Web Part Pages and Wiki Pages.
1
vote
2answers
734 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 ...
6
votes
3answers
3k views

Multiple values of RegistrationId attribute in CustomAction tag

I wonder is there any ability to set not only one but multiple values of RegistrationId in CustomAction tag. I have an elements.xml entry like this: <CustomAction ...
2
votes
2answers
523 views

Implementing Sharepoint Without the Ribbon

Today when I walked into the office I was greeted with a request to position the ribbon at the top of the page in our Sharepoint Intranet branding in such a way that it:- A. Does not obscure the ...
2
votes
2answers
480 views

Custom tab on contenttype not working in webpart

I've created a custom ribbon tab that shows for a specific contenttype like this: <CustomAction Id="IncomingDocumentTab" Location="CommandUI.Ribbon" ...
0
votes
2answers
3k 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 ...
0
votes
1answer
153 views

Ribbon disappears randomly and cannot open site in SP Designer

We've been running our SharePoint site (public facing, publishing with workflow site) for a few months, but recently we've found that randomly the editing ribbon will disappears for all users who are ...
0
votes
1answer
370 views

Text Formatting discussion board when Ribbon is hidden

I'm working on a new area of my public facing SharePoint 2010 site (i.e. using Publishing templates), that will include an ootb Discussion Board. The site is for our customers, who all have read ...
0
votes
0answers
198 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
1answer
694 views

How to insert selected items after Ribbon Click

I have a code (following http://makarandrkulkarni.blogspot.it/2010/01/new-one.html). I have a custom WebControl which receives a postback and react with server side code. Thanks to Javascript I can ...
2
votes
1answer
227 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 ...
0
votes
1answer
353 views

SPRibbon Button Unique Button Commands

I basically have a WP with its own custom Ribbon Buttons and Commands. The command's are hard-coded inside the the Elements.xml. However, the webpart basically breaks once you add another "same ...
5
votes
2answers
3k views

Location of Ribbon XML for List View

I'm looking for the location of SharePoint ribbon XML for List Views. I'm just curious to see how Microsoft has coded it. However, I don't know the location of the xml file. Could someone put me in ...
3
votes
1answer
1k views

Show Ribbon Button on all types of Lists

I want my custom ribbon button to show in all list views. I found this example: How do you create a Ribbon Button custom action that will appear on all kinds of lists However, this also shows the ...
2
votes
1answer
596 views

How to create Item of a particular Content Type from Ribbon

I have a document library which has two custom types linked to it. From UI I have two buttons to add that items.. I have two simple "ribbon button" and I want to use that to create the new Item from ...
1
vote
1answer
205 views

Possible to have a SPRibbonPostbackCommand and SPRibbonCommand at the same time?

I'm happily using SPRibbonPostBackCommand to a custom save button. It generates a Postback and everything is fine and dandy. Previously to generating a Postback I would like to make one Javascript ...
1
vote
1answer
267 views

How to apply a Ribbon to a custom List Definition

I have a custom list definition defined as follow: <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <!-- Do not change the value of the Name attribute below. If it does not match ...
1
vote
1answer
599 views

SharePoint 2010 Ribbon Customization (Copy/Paste List Item Properties)

I have a requirement to copy and paste only the properties of a document library item. There must be two button on the Edit-Form.aspx ribbon that allows me to copy and paste only the properties. I ...
1
vote
1answer
111 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?
2
votes
2answers
1k 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 ...
2
votes
2answers
178 views

Accessing the propery bag from an elements.xml file

I want to access some configuration data stored in the property bag. I want to access this information from a elements.xml file. This elements.xml file contains a Ribbon with Tabs and Buttons. Is ...
2
votes
1answer
2k views

Javascript call to NewItem2 error “TypeError: Cannot read property 'tagName' of undefined”

Overview I have a CustomAction for a button on the ribbon that calls a command in a javascript file. The command fails in the inplview.debug.js file on the following lines (1745 - 1748) in the ...
1
vote
2answers
697 views

Add button to Ribbon but they don't show up?

Here is the xml from element file. It's scope to web. <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <CustomAction Id="HelloWorld" ...
1
vote
1answer
854 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.
2
votes
1answer
2k views

Show ribbon for a single default webpart on page with multiple webparts

I have a webpart page with two webparts. One is a calendar and the other is a hidden content query webpart that references a file that is used to style (apply color coding) to the calendar entries. ...
0
votes
2answers
673 views

Show Library items in a ribbon when a document library is opened

When a user navigates to a Document library the ribbon shows up, but by default the "Browse" section/button is selected in the button. Is there a way to change this selection to the "Library" option ...
1
vote
1answer
911 views

RTE markup and Page Layout javascript error

Okay, so I have been running into this issue way too often now and it's starting to really irritate me and I have no idea what triggers these errors. I have made a custom masterpage for my SharePoint ...
0
votes
1answer
2k views

Custom Action for a custom Content Type's display form

I have a custom action that I'd want to add to my custom display form of my custom content type My custom action is: <?xml version="1.0" encoding="utf-8"?> <Elements ...
0
votes
1answer
443 views

Rich text - add additional insert types to ribbon

We have a requirement to insert new types of custom objects (for the sake of discussion, let's say a video) into the rich text area: How do we customize this part of the ribbon for the Rich Text ...
3
votes
2answers
2k views

Enable “Change Item Order” button on ribbon

I have a page that I'm provisioning in Visual Studio 2010 through a module. In my elements.xml I have a <File> element with a <View> element underneath like this: <File ...
4
votes
1answer
1k 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 ...
1
vote
1answer
1k views

Could not load type 'xxx

I get this error in the log. Its a custom ribbon button that opens a dialog with a custom application page. I checked the 14 hive and the aspx is there. So, i dont know what else to check Medium ...
1
vote
3answers
551 views

Problem creating a Custom Ribbon Action to Order Lists

I attempted to create my first Custom Ribbon action to allow users to sort list items. But I failed miserably. the Action wont show in my ribbon at all and I am having trouble finding out what is ...
3
votes
1answer
417 views

Explorer view workaround for users without office 2010/ Ribbon customization

We have too many users without office 2010. According to what I read in these 2 blogs, Explorer view will not work in these machines ...
0
votes
1answer
438 views

Best way to initialize an Contextual Tab?

I've a custom contextual ribbon tab element and I'm initializing it throw the following code on a webcontrol hosted on the masterpage: protected override void OnPreRender(EventArgs e) { ...
5
votes
5answers
957 views

Customize a Delegate Control in SharePoint 2010

I created a simple project to Customize a Delegate Control in SharePoint 2010 such as in msdn article (http://msdn.microsoft.com/en-us/library/ms470880.aspx). Source code: Class: using System; using ...