Mailing List



NerdyHearn - Blog

<< Back To All Blogs

Adding Custom Menu Item to MOSS/WSS List Actions Menu

Monday, May 4th, 2009

SharePoint often needs to be extended in order to accomplish a number of custom tasks, and what better way to extend it then to add an action directly to the menu that all users see when clicking on the actions menu on a list directly inside of SharePoint.

This is not very hard, it is just finding out where to begin, and Microsoft has this documented very well here.

To start out, create a folder in 12TEMPLATESFEATURES named MyCustomAction.

You will then need to create a Features.xml file and a CustomActions.xml file which will be placed in this folder.

The CustomActions.xml file can hold a number of different options, based on different types of lists and document libraries.

These are easily used by referencing the page which I linked above in Microsoft's documentation.

You can then point this custom action at any custom ASPX page of your choosing, and you are good to go!

You will need to install and activate the feature using stsadm as well, which is easy as can be.

Actionin' Tom Out.



Related Blogs

Retrieving data from SharePoint SOAP Requests using LINQ
Automatically Setting File Name in SharePoint when submitting an InfoPath 2007 Form
Fixing MOSS/WSS SharePoint errors with Alternate Access Mappings
Receiving "The specified file is not a valid spreadsheet or contains no data" when importing to Office 365
Fixing SharePoint error Log with "Preserving template record"


Currently no comments.

Add A Comment



Email Address: (not public, used to send notifications on further comments)


Enter the text above, except for the 1st and last character:

NerdyHearn - Latest tech news relating to C#, ASP.NET, SharePoint, PHP, general development, and more. SaveMySerials - Protect yourself from theft, fire, natural disasters and more by recording your serial numbers