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.
If you are reading this article , i guess you are curious to know about gray failures and different methods to detect gray failures. Hopefu...
Note : In below scenario jenkins was deployed in Linux container Scenario: Jenkins build failed with error. java.io.IOException: error...
SharePoint Capacity Planning Tool on Microsoft Download Center: http://go.microsoft.com/fwlink/?LinkID=93029 System Center Capacity Planner:...
Error when installing NPM Profile not found. Tried ~/.bashrc, ~/.bash_profile, ~/.zshrc, and ~/.profile. Fix: Run command and try a...