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.
This is a simple function but to my surprise lot of ML engineers had asked me about the actual usage of this function and why do I use it wh...
Note : In below scenario jenkins was deployed in Linux container Scenario: Jenkins build failed with error. java.io.IOException: error...
Docker Error :In the default daemon configuration on Windows, the docker client must be run elevated to connecterror during connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/auth: open //./pipe/docker_engine: The system cannot find the file ...
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...