Is is possible to create a custom action for a specific content type. I did the following but i did not work
<CustomAction
Id="ItemAuditing.DisplayFormToolbar"
RegistrationType="ContentType"
RegistrationId ="0x01006A717F34C81442d1944A38D0CC7F7800"
ImageUrl="/_layouts/images/GORTL.GIF"
Location="DisplayFormToolbar"
Sequence="120"
Title="Approve" >
<UrlAction
Url="~site/_layouts/ItemAudit.aspx?action=approve&ItemId={ItemId}&ListId={ListId}"/>
</CustomAction>
where the RegistrationId ="0x01006A717F34C81442d1944A38D0CC7F7800" is the unique id for the content type I created.
In the meanwhile, when I change that RegistrationId ="0x01" to refer to the item content type everything works just fine, but the approve button shows for every item in every list.
I just want to applly that custom action for a specific content type then apply that contet type to a list, so that the approve button will only show for the items in that list.
Please advice if that is possible or not.