Please upgrade your web browser now. Internet Explorer 6 is no longer supported.
Zac Smith
SharePoint, WSS and MOSS development.

Remove Menu Items from a SharePoint List

by Zac Smith 20-Apr-07, 0 Comments

This is really easy to do if you use SharePoint Designer. The scenario here is that I have a custom list and I want to remove the actions menu.
Before customisation:

list before customisation

Steps:

  1. Open the site in SharePoint designer and then navigate to the AllItems.aspx form for your list, mine was at Lists/Test/AllItems.aspx
  2. Right click on the Allitems.aspx form and select 'New from existing page'. We do this as it's not a good idea to customise a page from its site definition. Save the file as AllItems2.aspx
  3. In the AllItems2.aspx form right click the list web part and select Convert to XSLT data view. This allows much more control and opportunity to customise the look and feel of the list.
  4. Now simply delete the unwanted actions menu and save the page. At this point it's a good idea to view it in the browser and see how it looks. You will notice some slight differences after the conversion to Data View Web Part.
  5. When you're happy with the new form you can delete the old AllItems.aspx. We don't want people to still be able to navigate to this page.
  6. The List will now default to displaying your new AllItems2.aspx page (minus the action menu). I renamed the page back to AllItems.aspx for consistency.

After customisation:

list after customisation

Categories:
0 responses so far:

     

Post a Comment:
Name:
URL:
Email:
Comments: