I was created a custom list. But by default custom actions are present in Context menu. I want to hide the Custom actions like Workflows, Alert me Shared with and Delete Item from list using C# or element.xml file.

enter image description here

  • pls share your support by upvoting/marking as answer – DvG Jun 21 '17 at 9:16

Done, Write below custom script using script editor web part on your SP List

<style type=text/css>
display: none;

I have hidden "Share" list item menu. refer screen shot

enter image description here

call me one liner ;)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.