1

I want to hide the workflow button: Ribbon.List.Settings.ManageWorkflows

Which scope should the feature have (web or site)?

Now I try:

<HideCustomAction Id="RemoveRibbonButton"
    Location="CommandUI.Ribbon.List.Settings.ManageWorkflows">
</HideCustomAction>

on site scoped feature. But it doesn't work.

3

This is XML to hide ManageWorkflows button.

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <CustomAction
    Id="RemoveRibbonButton"
    Location="CommandUI.Ribbon">
    <CommandUIExtension>
      <CommandUIDefinitions>
        <CommandUIDefinition
          Location="Ribbon.List.Settings.ManageWorkflows" />
      </CommandUIDefinitions>
    </CommandUIExtension>
  </CustomAction>
</Elements>

Check Walkthrough: Removing a Button from the Server Ribbon for more info.

| improve this answer | |
  • Thank you! Can you check the link you provided? I can't open it. – Anatoly Mironov Sep 6 '11 at 12:41
  • sry. link updated – Vedran Rasol Sep 6 '11 at 12:43
  • Is it possible to revert this operation (if I need this ribbon button in the future)? – Anatoly Mironov Sep 6 '11 at 12:48
  • 1
    Just retract solution and you have your button back. – Vedran Rasol Sep 6 '11 at 12:50

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.