0

How to edit ECB menu items in SharePoint 2007 using non-code method & code method?

  • What is the problem and what are you trying to achieve? – Lars Fastrup Sep 12 '11 at 9:54
  • What I would achieve is that I do not want some end-user to be able to use some of the ECB menu item and therefore I would either hide those menu items or just delete those menu item. – Wilson Tan Sep 13 '11 at 2:54
1

There is no non-code method for this.

Jan Tielen’s three-part series is nice resource for adding items on ECB.

However hiding item can be only done by changing core.js and this is something you don't do. Take a look at my answer here: Disable Send To and Download a Copy options for files?

  • Got your point. Is there other solution beside the changing of the core.js? (Maybe using the permission or etc..) – Wilson Tan Sep 13 '11 at 2:58
0

Actually, I found another work around using the SPServices (http://spservices.codeplex.com/).

Rather than allow the user to have direct access to the SharePoint List (and thus having the "power" to use the ECB menu), I will use a aspx file that provide interface with the SharePoint List via SPServices.

0

This article can also be helpful : http://extreme-sharepoint.com/2011/10/29/hide-menu-ecb/

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

  • Please don’t add just a link as answer to a question. If the link breaks, the answer you provided will not be useful for future visitors. Provide an answer of your own and use the link as reference. If needed, you can block quote the content from your link. More information is found in our help center, especially How do I write a good answer – Benny Skogberg Jun 5 '17 at 9:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.