Thursday, December 8, 2011

SP2010 ListView Ribbon missing

Scenario:
Post upgrade to SP2010 from SP2007 the ribbon is missing on some list view pages (allitems.aspx).


Solution:
This happens if there is a CEWP or any other webpart or any modifications done to the default list pages like allitems.aspx. Once the pages are modified SP treats them as application pages and hence the ribbon is modified.


You will notice that clicking on the list view webpart on the page will bring the ribbon back or clicking on one the item checkboxes.


You can add some JS to a CEWP to fix this problem as mentioned in the reference below. The JS simply sets focus to the list view webpart once the page has loaded.


Reference:
http://stackoverflow.com/questions/4848892/list-tools-tab-is-no-longer-available-after-adding-webpart-to-the-page 

No comments:

Post a Comment