Customactions not binding to content type
-
10-12-2019 - |
Question
Facing a strange and frustrating issue just before Christmas :-(
Heres the scenario: I've got a custom content type, list schema , the whole works all exported from another site using the Sharepoint save site as template and import wsp file concept.
Now, the site template does not seem to export my custom actions so I've still got it in my solution to deploy manually.
The problem is that my custom actions does not publish the ribbon buttons for some reason.
Herewith the custom action definition:
Herewith the content type definition
All of this worked before I exported the site definition and placed it in my vs solution. I've tried many variations of the below custom action and nothing seems to be working for the content type!
Any advice?
Solution
CAML is case sensitive. The problem is that in your Custom Action declaration, the RegistrationID is "0X0100..." and it should be "0x0100...".
Cheers!