Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how can I hide a ribbon item (specifically Ribbon.ContextualTabs.ProjectCenter.Home.ChangeProjectType) on project server 2010? I followed this link:
https://msdn.microsoft.com/en-us/library/office/gg549101(v=office.14).aspx[^]
It hides a ribbon item I want to, but it affects the functionality of the other ribbon items in the Tab; in a way that buttons don't be clicked and comboboxes don't be filled. Here is my command:

XML
<CustomAction
    Id="Ribbon.ContextualTabs.ProjectCenter.Home.ChangeProjectType"
    Location="CommandUI.Ribbon"
    Title="Hides the ChangeProjectType button in the Project Center ribbon">
    <CommandUIExtension>
      <CommandUIDefinitions>
        <CommandUIDefinition Location="Ribbon.ContextualTabs.ProjectCenter.Home.ChangeProjectType"/>
      </CommandUIDefinitions>
    </CommandUIExtension>
  </CustomAction>
Posted
Updated 15-Aug-15 0:12am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900