{"id":96,"date":"2008-09-24T16:29:01","date_gmt":"2008-09-24T16:29:01","guid":{"rendered":"http:\/\/www.myfatblog.co.uk\/?p=96"},"modified":"2008-09-25T08:49:24","modified_gmt":"2008-09-25T08:49:24","slug":"adding-a-contenttype-specific-item-to-the-ecb-edit-control-block","status":"publish","type":"post","link":"http:\/\/www.myfatblog.co.uk\/index.php\/2008\/09\/adding-a-contenttype-specific-item-to-the-ecb-edit-control-block\/","title":{"rendered":"Adding a ContentType Specific item to the ECB (Edit Control Block)"},"content":{"rendered":"<p>There&#8217;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..<\/p>\n<p>So, for the benefit of Mr google bot&#8230; (Edit Control Block Entries for Custom Content Types)<\/p>\n<p>How do we do it, well it&#8217;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&#8217;ll see something similar to &#8220;<em><strong>ctype=0x0100140835253A1B6F4E8B40A833287BB367<\/strong><\/em>&#8221;<\/p>\n<p>Grab that sortof GUID and add the following entries into your ECB declaration in the Elements.Xml file of your feature..<\/p>\n<pre lang=\"XML\" line=\"1\">\r\n  <CustomAction Id=\"UpdateDeliveryState\"\r\n  RegistrationType=\"ContentType\"\r\n  RegistrationId=\"0x0100140835253A1B6F4E8B40A833287BB367\"\r\n  ImageUrl=\"\/_layouts\/images\/customimage.jpg\"\r\n  Location=\"EditControlBlock\"\r\n  Sequence=\"242\"\r\n  Rights=\"EditListItems\" \r\n  Title=\"Update Delivery State\" >\r\n    <UrlAction Url=\"~site\/_layouts\/UpdateDeliveryState.aspx?ItemId={ItemId}&amp;ListId={ListId}&amp;Source=http%3A%2F%2Fdemosite\"\/>\r\n  <\/CustomAction>\r\n\r\nReg.\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>There&#8217;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&#8230; (Edit Control Block Entries for Custom Content Types) How do we &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/www.myfatblog.co.uk\/index.php\/2008\/09\/adding-a-contenttype-specific-item-to-the-ecb-edit-control-block\/\">Continue reading<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[13,16,12],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Adding a ContentType Specific item to the ECB (Edit Control Block) - Blog of an overweight SharePoint addict<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.myfatblog.co.uk\/index.php\/2008\/09\/adding-a-contenttype-specific-item-to-the-ecb-edit-control-block\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Adding a ContentType Specific item to the ECB (Edit Control Block) - Blog of an overweight SharePoint addict\" \/>\n<meta property=\"og:description\" content=\"There&#8217;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&#8230; (Edit Control Block Entries for Custom Content Types) How do we &hellip; Continue reading\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.myfatblog.co.uk\/index.php\/2008\/09\/adding-a-contenttype-specific-item-to-the-ecb-edit-control-block\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog of an overweight SharePoint addict\" \/>\n<meta property=\"article:published_time\" content=\"2008-09-24T16:29:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2008-09-25T08:49:24+00:00\" \/>\n<meta name=\"author\" content=\"Cimares\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@cimares\" \/>\n<meta name=\"twitter:site\" content=\"@cimares\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Cimares\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.myfatblog.co.uk\/index.php\/2008\/09\/adding-a-contenttype-specific-item-to-the-ecb-edit-control-block\/\",\"url\":\"https:\/\/www.myfatblog.co.uk\/index.php\/2008\/09\/adding-a-contenttype-specific-item-to-the-ecb-edit-control-block\/\",\"name\":\"Adding a ContentType Specific item to the ECB (Edit Control Block) - Blog of an overweight SharePoint addict\",\"isPartOf\":{\"@id\":\"http:\/\/www.myfatblog.co.uk\/#website\"},\"datePublished\":\"2008-09-24T16:29:01+00:00\",\"dateModified\":\"2008-09-25T08:49:24+00:00\",\"author\":{\"@id\":\"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/55ae8f6885bb5b8390dad001f3da83c6\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.myfatblog.co.uk\/index.php\/2008\/09\/adding-a-contenttype-specific-item-to-the-ecb-edit-control-block\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.myfatblog.co.uk\/#website\",\"url\":\"http:\/\/www.myfatblog.co.uk\/\",\"name\":\"Blog of an overweight SharePoint addict\",\"description\":\"The rantings of a (not so) food obsessed IT consultant!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.myfatblog.co.uk\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/55ae8f6885bb5b8390dad001f3da83c6\",\"name\":\"Cimares\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/About_D057\/TopOfTheWorld.jpg\",\"contentUrl\":\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/About_D057\/TopOfTheWorld.jpg\",\"caption\":\"Cimares\"},\"sameAs\":[\"http:\/\/www.myfatblog.co.uk\"],\"url\":\"http:\/\/www.myfatblog.co.uk\/index.php\/author\/reginald\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Adding a ContentType Specific item to the ECB (Edit Control Block) - Blog of an overweight SharePoint addict","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.myfatblog.co.uk\/index.php\/2008\/09\/adding-a-contenttype-specific-item-to-the-ecb-edit-control-block\/","og_locale":"en_US","og_type":"article","og_title":"Adding a ContentType Specific item to the ECB (Edit Control Block) - Blog of an overweight SharePoint addict","og_description":"There&#8217;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&#8230; (Edit Control Block Entries for Custom Content Types) How do we &hellip; Continue reading","og_url":"https:\/\/www.myfatblog.co.uk\/index.php\/2008\/09\/adding-a-contenttype-specific-item-to-the-ecb-edit-control-block\/","og_site_name":"Blog of an overweight SharePoint addict","article_published_time":"2008-09-24T16:29:01+00:00","article_modified_time":"2008-09-25T08:49:24+00:00","author":"Cimares","twitter_card":"summary_large_image","twitter_creator":"@cimares","twitter_site":"@cimares","twitter_misc":{"Written by":"Cimares","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.myfatblog.co.uk\/index.php\/2008\/09\/adding-a-contenttype-specific-item-to-the-ecb-edit-control-block\/","url":"https:\/\/www.myfatblog.co.uk\/index.php\/2008\/09\/adding-a-contenttype-specific-item-to-the-ecb-edit-control-block\/","name":"Adding a ContentType Specific item to the ECB (Edit Control Block) - Blog of an overweight SharePoint addict","isPartOf":{"@id":"http:\/\/www.myfatblog.co.uk\/#website"},"datePublished":"2008-09-24T16:29:01+00:00","dateModified":"2008-09-25T08:49:24+00:00","author":{"@id":"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/55ae8f6885bb5b8390dad001f3da83c6"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.myfatblog.co.uk\/index.php\/2008\/09\/adding-a-contenttype-specific-item-to-the-ecb-edit-control-block\/"]}]},{"@type":"WebSite","@id":"http:\/\/www.myfatblog.co.uk\/#website","url":"http:\/\/www.myfatblog.co.uk\/","name":"Blog of an overweight SharePoint addict","description":"The rantings of a (not so) food obsessed IT consultant!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.myfatblog.co.uk\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/55ae8f6885bb5b8390dad001f3da83c6","name":"Cimares","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/image\/","url":"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/About_D057\/TopOfTheWorld.jpg","contentUrl":"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/About_D057\/TopOfTheWorld.jpg","caption":"Cimares"},"sameAs":["http:\/\/www.myfatblog.co.uk"],"url":"http:\/\/www.myfatblog.co.uk\/index.php\/author\/reginald\/"}]}},"_links":{"self":[{"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/96"}],"collection":[{"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=96"}],"version-history":[{"count":0,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/96\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=96"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=96"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=96"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}