{"id":68,"date":"2021-08-31T11:26:20","date_gmt":"2021-08-31T03:26:20","guid":{"rendered":"https:\/\/just-a-web.com\/blog\/?p=68"},"modified":"2021-08-31T11:30:12","modified_gmt":"2021-08-31T03:30:12","slug":"ribbon-debug","status":"publish","type":"post","link":"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/","title":{"rendered":"Ribbon Debug"},"content":{"rendered":"\n<p>This is a very useful feature, whereby you can check if your custom code is working or not, or the button is blocked by other OOB scenario.<\/p>\n\n\n\n<p>Just append at the entity record&#8217;s URL end with ribbondebug=true to enable this feature.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"282\" height=\"207\" src=\"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/08\/image.png\" alt=\"\" class=\"wp-image-69\"\/><\/figure><\/div>\n\n\n\n<p>There is a extra selection at the end of the ribbon which called &#8220;Command checker&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1014\" height=\"551\" src=\"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/08\/image-1.png\" alt=\"\" class=\"wp-image-70\" srcset=\"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/08\/image-1.png 1014w, https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/08\/image-1-300x163.png 300w, https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/08\/image-1-768x417.png 768w\" sizes=\"(max-width: 1014px) 100vw, 1014px\" \/><\/figure>\n\n\n\n<p>From here, you can check for all the OOB and custom rules under Command Properties.<\/p>\n\n\n\n<p>So for example, in Enable Rules, if you are getting all true, it means this button pass all the validations, if let say one of it become false, then it will not show the button. <\/p>\n\n\n\n<p>Sometimes, it will show as &#8216;Error&#8217; if you are using custom Enable Rules, whereby you need check your JavaScript.<\/p>\n\n\n\n<p>For this feature, currently it is available on D365 cloud version. <\/p>\n\n\n\n<p>I am not sure if latest on-premise version has this feature or not, drop a comment if you know that.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a very useful feature, whereby you can check if your custom code is working or not, or the button is blocked by other OOB scenario. Just append at the entity record&#8217;s URL end with ribbondebug=true to enable this feature. There is a extra selection at the end of the ribbon which called &#8220;Command&hellip;&nbsp;<a href=\"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Ribbon Debug<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[1,2],"tags":[36,35,37,34],"class_list":["post-68","post","type-post","status-publish","format-standard","hentry","category-dynamics","category-javascript","tag-display-rules","tag-enable-rules","tag-ribbon","tag-ribbondebug"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.3.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Ribbon Debug - Dynamics Blog<\/title>\n<meta name=\"description\" content=\"How to check why the ribbon button is not showing\/working in Dynamics 365 Cloud Version\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ribbon Debug - Dynamics Blog\" \/>\n<meta property=\"og:description\" content=\"How to check why the ribbon button is not showing\/working in Dynamics 365 Cloud Version\" \/>\n<meta property=\"og:url\" content=\"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/\" \/>\n<meta property=\"og:site_name\" content=\"Dynamics Blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-31T03:26:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-31T03:30:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/08\/image.png\" \/>\n<meta name=\"author\" content=\"hk.ang\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"hk.ang\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/\"},\"author\":{\"name\":\"hk.ang\",\"@id\":\"https:\/\/just-a-web.com\/blog\/#\/schema\/person\/7c5fde715b55adf97070f3506709b0af\"},\"headline\":\"Ribbon Debug\",\"datePublished\":\"2021-08-31T03:26:20+00:00\",\"dateModified\":\"2021-08-31T03:30:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/\"},\"wordCount\":159,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/just-a-web.com\/blog\/#\/schema\/person\/7c5fde715b55adf97070f3506709b0af\"},\"image\":{\"@id\":\"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/08\/image.png\",\"keywords\":[\"display rules\",\"enable rules\",\"ribbon\",\"ribbondebug\"],\"articleSection\":[\"Dynamics\",\"Javascript\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/\",\"url\":\"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/\",\"name\":\"Ribbon Debug - Dynamics Blog\",\"isPartOf\":{\"@id\":\"https:\/\/just-a-web.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/08\/image.png\",\"datePublished\":\"2021-08-31T03:26:20+00:00\",\"dateModified\":\"2021-08-31T03:30:12+00:00\",\"description\":\"How to check why the ribbon button is not showing\/working in Dynamics 365 Cloud Version\",\"breadcrumb\":{\"@id\":\"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/#primaryimage\",\"url\":\"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/08\/image.png\",\"contentUrl\":\"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/08\/image.png\",\"width\":282,\"height\":207},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/just-a-web.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ribbon Debug\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/just-a-web.com\/blog\/#website\",\"url\":\"https:\/\/just-a-web.com\/blog\/\",\"name\":\"Dynamics Blog\",\"description\":\"A blog that related to coding stuff\",\"publisher\":{\"@id\":\"https:\/\/just-a-web.com\/blog\/#\/schema\/person\/7c5fde715b55adf97070f3506709b0af\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/just-a-web.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/just-a-web.com\/blog\/#\/schema\/person\/7c5fde715b55adf97070f3506709b0af\",\"name\":\"hk.ang\",\"logo\":{\"@id\":\"https:\/\/just-a-web.com\/blog\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/just-a-web.com\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Ribbon Debug - Dynamics Blog","description":"How to check why the ribbon button is not showing\/working in Dynamics 365 Cloud Version","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:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/","og_locale":"en_US","og_type":"article","og_title":"Ribbon Debug - Dynamics Blog","og_description":"How to check why the ribbon button is not showing\/working in Dynamics 365 Cloud Version","og_url":"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/","og_site_name":"Dynamics Blog","article_published_time":"2021-08-31T03:26:20+00:00","article_modified_time":"2021-08-31T03:30:12+00:00","og_image":[{"url":"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/08\/image.png","type":"","width":"","height":""}],"author":"hk.ang","twitter_card":"summary_large_image","twitter_misc":{"Written by":"hk.ang","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/#article","isPartOf":{"@id":"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/"},"author":{"name":"hk.ang","@id":"https:\/\/just-a-web.com\/blog\/#\/schema\/person\/7c5fde715b55adf97070f3506709b0af"},"headline":"Ribbon Debug","datePublished":"2021-08-31T03:26:20+00:00","dateModified":"2021-08-31T03:30:12+00:00","mainEntityOfPage":{"@id":"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/"},"wordCount":159,"commentCount":0,"publisher":{"@id":"https:\/\/just-a-web.com\/blog\/#\/schema\/person\/7c5fde715b55adf97070f3506709b0af"},"image":{"@id":"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/#primaryimage"},"thumbnailUrl":"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/08\/image.png","keywords":["display rules","enable rules","ribbon","ribbondebug"],"articleSection":["Dynamics","Javascript"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/","url":"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/","name":"Ribbon Debug - Dynamics Blog","isPartOf":{"@id":"https:\/\/just-a-web.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/#primaryimage"},"image":{"@id":"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/#primaryimage"},"thumbnailUrl":"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/08\/image.png","datePublished":"2021-08-31T03:26:20+00:00","dateModified":"2021-08-31T03:30:12+00:00","description":"How to check why the ribbon button is not showing\/working in Dynamics 365 Cloud Version","breadcrumb":{"@id":"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/#primaryimage","url":"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/08\/image.png","contentUrl":"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/08\/image.png","width":282,"height":207},{"@type":"BreadcrumbList","@id":"https:\/\/just-a-web.com\/blog\/2021\/08\/31\/ribbon-debug\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/just-a-web.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Ribbon Debug"}]},{"@type":"WebSite","@id":"https:\/\/just-a-web.com\/blog\/#website","url":"https:\/\/just-a-web.com\/blog\/","name":"Dynamics Blog","description":"A blog that related to coding stuff","publisher":{"@id":"https:\/\/just-a-web.com\/blog\/#\/schema\/person\/7c5fde715b55adf97070f3506709b0af"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/just-a-web.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/just-a-web.com\/blog\/#\/schema\/person\/7c5fde715b55adf97070f3506709b0af","name":"hk.ang","logo":{"@id":"https:\/\/just-a-web.com\/blog\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/just-a-web.com\/blog"]}]}},"_links":{"self":[{"href":"https:\/\/just-a-web.com\/blog\/wp-json\/wp\/v2\/posts\/68","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/just-a-web.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/just-a-web.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/just-a-web.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/just-a-web.com\/blog\/wp-json\/wp\/v2\/comments?post=68"}],"version-history":[{"count":1,"href":"https:\/\/just-a-web.com\/blog\/wp-json\/wp\/v2\/posts\/68\/revisions"}],"predecessor-version":[{"id":71,"href":"https:\/\/just-a-web.com\/blog\/wp-json\/wp\/v2\/posts\/68\/revisions\/71"}],"wp:attachment":[{"href":"https:\/\/just-a-web.com\/blog\/wp-json\/wp\/v2\/media?parent=68"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/just-a-web.com\/blog\/wp-json\/wp\/v2\/categories?post=68"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/just-a-web.com\/blog\/wp-json\/wp\/v2\/tags?post=68"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}