By: TwitterButtons.com

Recent blog posts

User login

Home | Blogs | Stephane Eyskens's blog

Manage the ribbon easily for your lists and libraries

Hi,

I've just released a small tool on CodePlex that helps managing ribbon buttons for lists & libraries in SharePoint. You also have additional options to decide whether you want to apply your settings to xsltlistview webparts only or not.

You can have a look at this short video demonstrating the tool in action

Happy Coding!

Comments

could not disable the ribbon item via xsltlistview webpart

I tried the video demonstation myself and it worked fine for me.

I then tried the following Scenareo but i did not have the same luck.
Any ideas why the ribbon item is not disabled when accessed
via the xsltlistview webpart in the following Scenareo?

1. Created a new Team site
1. created a document library using sharepoint designer
2. Added a xsltlistview webpart on the homepage for this new document libary
on the home page using the insert > data view menu option in sharepoint designer.
3. I then activated the manage ribbon feature
4. I then went to libary setting for the library and using the Manange
ribbon option , i unselected the new folder checkbox.

Expected Result : New folder menu option is disabled on the ribbon when the
list is accessed via the xsltlistview webpart and the library navigation bar
on the left side of the page.

Actual Result : New folder menu option is NOT disabled on the ribbon when the
list is accessed via the xsltlistview webpart but is disabled when accessed via
the library navigation bar on the left side of the site.

Found it

Hi,

The reason why it doesn't work with a dataview created with SharePoint Designer is because the toolbar type is set to "Standard" and should be set to "FreeForm".

Best Regards

I'll check it out

Hi,

I'll have a look at your scenario and I'll give you some feedback.

Best Regards