A ribbon is an interface where a set of toolbars that are placed on tabs in a tab bar.
0
votes
1answer
654 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
2k 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 ...
0
votes
0answers
75 views
SharePoint 2010 Ribbon dynamic item localisation
We are using PageComponents and javascript to dynamically construct and populate some flyouts with menu options.
Some of the menu options text need to be localised but the resource access strings (eg ...
1
vote
2answers
696 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
518 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
2answers
598 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 ...
0
votes
0answers
121 views
How to enable standard ribbon like data sheet view to the spgridview which is in application page?
I have one application page there i am getting task and doc list information and displaying in spgrid view.Like the sharepoint list view. Now i need to enable the some standard Sharepoint list ...
2
votes
2answers
282 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
2k 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
724 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
348 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
866 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 ...
0
votes
1answer
204 views
Ribbon CSS Selector Syntax
My scenario is that I've got a document library that is configured as a custom document set content type. In order to achieve quick adoption of the library for users who don't get into Sharepoint ...
1
vote
2answers
2k 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
235 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
416 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
470 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
96 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
395 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
2k 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
417 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
345 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"
...
3
votes
1answer
1k 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 ...
0
votes
2answers
1k 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
108 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
263 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
153 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
451 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
195 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
284 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 ...
3
votes
2answers
925 views
Setting the ribbon to default Browse instead of Edit
How do I set the ribbon to default Browse mode instead of default to Edit mode?
It is annoying to see the item details in view mode all the time and then click Browse to remove it...
5
votes
2answers
2k 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
557 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
472 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 ...
0
votes
0answers
143 views
Elements.xml Location value for 'View Item' to add Custom Action
In our Elements.xml file we add a custom action for the EditControlBlock which calls our own edit URL.
Now we want to do a similar thing for when the user click on the 'View Item' ribbon element. ...
1
vote
1answer
145 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
221 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 ...
0
votes
0answers
54 views
Keyboard shortcut to insert a link from address
There is a keyboard short cut "ctrl + k" that will insert a link from SharePoint. Is there a keyboard shortcut to add a link from address? Is it possible to add one?
1
vote
1answer
376 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
95 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
716 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
150 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
1k 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
471 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
641 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
1k 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
498 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
592 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
1k 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
333 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 ...