{"id":1854,"date":"2015-11-28T10:39:01","date_gmt":"2015-11-28T10:39:01","guid":{"rendered":"http:\/\/himbap.com\/blog\/?p=1854"},"modified":"2015-12-17T04:39:21","modified_gmt":"2015-12-17T04:39:21","slug":"know-your-entity-metadata-using-metadatabrowser","status":"publish","type":"post","link":"https:\/\/himbap.com\/blog\/?p=1854","title":{"rendered":"Know your entity metadata using MetadataBrowser"},"content":{"rendered":"<p>While working with customization or developing solution for CRM, we first\u00a0need to know the metadata of the CRM entities, that we are going to use. We can get some of the information from CRM UI, let\u2019s take a simple example, if we want to write code to create account record and want to know fields of account entity, we can simply navigate to solution and check fields details under Fields view.<\/p>\n<p><a href=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2015\/11\/metadatabrowser11.png\"><img decoding=\"async\" loading=\"lazy\" class=\" size-medium wp-image-1859 aligncenter\" src=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2015\/11\/metadatabrowser11-300x107.png\" alt=\"metadatabrowser1\" width=\"300\" height=\"107\" srcset=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2015\/11\/metadatabrowser11-300x107.png 300w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2015\/11\/metadatabrowser11-624x222.png 624w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2015\/11\/metadatabrowser11.png 920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>But let\u2019s say if we want to write code to retrieve duplicaterule entity records and want to know different fields available in this entity, we can\u2019t get this detail from CRM UI because CRM UI does not provide details for all the entities. Similarly if we want to know if any entity is customizable or not, it can be part of relationship or not, we can create or add modify entity form or not, we can\u2019t get these details from CRM UI. But we can use metadata browser solution that comes with CRM SDK to get complete details. If you don\u2019t have CRM SDK you can download it from <a href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=44567\">here<\/a>.<br \/>\nOnce you have SDK you can extract and can import metadata browser to our CRM environment.<br \/>\n<a href=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2015\/11\/metadatabrowser2.png\"><img decoding=\"async\" loading=\"lazy\" class=\" size-medium wp-image-1857 aligncenter\" src=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2015\/11\/metadatabrowser2-300x177.png\" alt=\"metadatabrowser2\" width=\"300\" height=\"177\" srcset=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2015\/11\/metadatabrowser2-300x177.png 300w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2015\/11\/metadatabrowser2.png 601w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>We can open metadata browser by clicking on solution and can navigate to\u00a0views to see all entity details or can open view for specific entity<br \/>\n<a href=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2015\/11\/metadatabrowser3.png\"><img decoding=\"async\" loading=\"lazy\" class=\" size-medium wp-image-1855 aligncenter\" src=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2015\/11\/metadatabrowser3-300x148.png\" alt=\"metadatabrowser3\" width=\"300\" height=\"148\" srcset=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2015\/11\/metadatabrowser3-300x148.png 300w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2015\/11\/metadatabrowser3-624x307.png 624w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2015\/11\/metadatabrowser3.png 790w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nNow we can browse all entities metadata, whether they are customizable or not.<\/p>\n<p><a href=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2015\/11\/metadatabrowser4.png\"><img decoding=\"async\" loading=\"lazy\" class=\" size-medium wp-image-1858 aligncenter\" src=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2015\/11\/metadatabrowser4-300x148.png\" alt=\"metadatabrowser4\" width=\"300\" height=\"148\" srcset=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2015\/11\/metadatabrowser4-300x148.png 300w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2015\/11\/metadatabrowser4-624x308.png 624w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2015\/11\/metadatabrowser4.png 836w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>So make sure to use metadatabrowser in your dev environment next time when you are working in any CRM implementation.<\/p>\n<p>Happy Codding !!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While working with customization or developing solution for CRM, we first\u00a0need to know the metadata of the CRM entities, that we are going to use. We can get some of the information from CRM UI, let\u2019s take a simple example, if we want to write code to create account record and want to know fields of account entity, we can&#8230; <a href=\"https:\/\/himbap.com\/blog\/?p=1854\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6,8],"tags":[274,257,256,258],"_links":{"self":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1854"}],"collection":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1854"}],"version-history":[{"count":10,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1854\/revisions"}],"predecessor-version":[{"id":1943,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1854\/revisions\/1943"}],"wp:attachment":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}