OK, so after having hunted for several days for a way to hide various items in a SharePoint document library context menu... (SharePoint 2010 of course :-)), I am still pretty much at square one. I did however feel like posting this in case it might help someone else... (Things I did actually find). You can hide the following items pretty easily with a content editor web part:
Manage Permissions
Send To
Workflows
Check In
Check Out
For the most part, you just override the existing functions with empty ones. I don't know why this is so hard for most programmers to just come out and say. Is there a reason that that it has to be so difficult??!! I think not :-) The javascript to hide the above items is here:
Too bad my problem is that I need to hide the "Edit Properties" and "View Properties" options from the context menu :-( The problem with this is that I can't seem to find the functions that were written in the CORE.js file to override with my own script. It would be nice if there were a list of these functions someplace for reference (I am sure there probably is, I just haven't found it yet :-)) As soon as I find this list, I will post it here and hopefully it will make someones life a lot easier than mine has been for the past 48 hours :-)
Tuesday
blog comments powered by Disqus
Subscribe to:
Post Comments (Atom)
