I am creating an Item in my dropdown to go to an application page I created. The option in the dropdown is added to the context menu for items with spesified content types. However, i seam to have hit a small snag.
<CustomAction Id="UserInterfaceCustomActions.DocumentMigrateToLocation"
RegistrationType="ContentType"
RegistrationId="0x0101"
Location="EditControlBlock"
Sequence="500"
Title="Migrate document to location">
<UrlAction Url="~sitecollection/_layouts/ContentMigrationTool.aspx?listId={ListId}&ItemId={ItemId}"/>
This added an option to the menu for all Document content types (0x0101 + children). This is perfect, because I need the option on word documents. Unfortunatly I don't want the option to be on lets say a Picture content type (0x010102).
How can I have the option available for word documents (0x0101) and not on some of its children content types (Ex.: 0x010102)?
Thank you in advance,
Edouard