Adding a ContentType Specific item to the ECB (Edit Control Block)

There’s plenty of articles on the net that tell you how to add items onto the Edit Control Block for a given list type, But I found articles on Content Types to be in short supply..

So, for the benefit of Mr google bot… (Edit Control Block Entries for Custom Content Types)

How do we do it, well it’s quite simple. Go to Site Settings, Site Content types and click on the content type you want to affect. In the URL that opens you’ll see something similar to “ctype=0x0100140835253A1B6F4E8B40A833287BB367

Grab that sortof GUID and add the following entries into your ECB declaration in the Elements.Xml file of your feature..

  
    
  

Reg.

1 ping

  1. […] page that can be connected to the Edit Control Block menu of any List using the techniques in (this post). Not the most earth shattering use here, after all you can add an attachment in the edit screen, […]

Leave a Reply

Your email address will not be published.

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.