Tuesday, July 14, 2009

Hide Workflow Link on Item Context Menu for Document List

1. Open CORE.JS on C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\1033
2. find the words: function AddDocLibMenuItems(m, ctx)
3. under the function, find words: AddWorkflowsMenuItem(m, ctx);
4. comment that out. or Add if (ctx.ListTitle != "Test Document") to focus on some list title.
5. Save it of course.

2 comments:

  1. I have been surfing online more than 3 hours as of late, but I by no means discovered any
    interesting article like yours. It is beautiful worth sufficient for me.
    In my view, if all site owners and bloggers made excellent content as you did, the internet might be a lot more helpful than ever before.


    Also visit my blog :: kashmir saffron

    ReplyDelete