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.

1 Answer 1

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.

4
  • Thank you! Can you check the link you provided? I can't open it. Commented Sep 6, 2011 at 12:41
  • sry. link updated Commented Sep 6, 2011 at 12:43
  • Is it possible to revert this operation (if I need this ribbon button in the future)? Commented Sep 6, 2011 at 12:48
  • 1
    Just retract solution and you have your button back. Commented Sep 6, 2011 at 12:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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