Saturday, January 20, 2007
Hiding SharePoint 2007 List Context Menu Items
Am sure lot's of people would be wondering how to hide menu items of a list eg document libraries "Send to " menu item .
In olden days of SharePoint 2003 this used to be achieved using playing around with the OWS.jss file ,though the customization is same in SharePoint 2007 too but the file has been changed . Now the modifications needs to be done in CORE.JS file located at "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\1033\CORE.JS"
Let's change the file and see the difference , In order to hide menu item e.g "Send to " search for function named "AddSendSubMenu()" in CORE.JS and comment the function call . as shown in figure below:
That's it check the menu in doc lib now , does it looks like mine:-)
NOTE: Make sure you take back up of Core.js file before making any change in order to prevent any server functionality malfunction.
Error when installing NPM Profile not found. Tried ~/.bashrc, ~/.bash_profile, ~/.zshrc, and ~/.profile. Fix: Run command and try a...
Ever wanted to have a people picker kind of control in Infopath form and that too in browser mode. Did i heard yes :) , well there is a Acti...
API manager showing up as "Unregistered " even after publishing the API to cloudhub Check out the setting of clientid and s...
Am sure lot's of people would be wondering how to hide menu items of a list eg document libraries "Send to " menu item . In o...