I want to disable and NOT hide the ribbon button (in particular, Ribbon.ListItem.New.NewListItem) for a specific type of list. On the Internet, I could find many posts showing ways to remove / hide the buttons, but it really doesnβt cost anything, which could tell me how I can simply disable the existing sharepoint alrteady button in my custom list type.
eg. The following code removes the button instead of hiding it.
Id = "RemoveRibbonButton" RegistrationType = "List" RegistrationID = "213908" Location = "CommandUI.Ribbon">
source share