I was wondering if someone could help me out with Sharepoint 2007. What I want to do is to add a custom menu item to a context menu (the menu that opens when you click a document or another item).
Right now, the menu looks like this: picture
I want to add an item, "Do stuff" for example, to this menu. Major problems:
- I wish this item to appear only in menus for a certain file type (e.g. only for .html but not for .doc);
- When I click this item ("Do stuff"), I want to call custom external code (written in C#, either an exe or a DLL), which accepts the name of the clicked file as an input parameter.