MSCRM Development Tips & Tricks #2 – Metadata Browser
Throughout your CRM development process, there are numerous times where you need to quickly find out a list of attributes for particular entity, inspect their relationships or check if the fields are valid for creation / update / delete. Yes, you can achieve this by going to Customization tab – Customize Entities and select the entities you want.
But this is just way too many clicks if I want to quickly find out these sort of information. This is where the Metadata Browser comes in handy. To open this Metadata Browser, you can just browse to http://[crmserver]:[portno]/[orgname]/sdk/list.aspx in your favorite browser.
You will see a list of entities and their relevant description as per the picture below.
To see the list of attributes and relationships, click on the Definition icon
for a particular entity. On this screen, you can inspect a number of things such as the attribute list, its type, length, valid for advanced find, valid for form, whether the field is a required field or not, relationships, etc.
Hopefully this simple trick can save you enormous time in your development.
March 11th, 2010 - 15:12
I use metabrowser regularly, but I have always wondered… Any idea why the list contains some weird characters next to icons?
March 11th, 2010 - 17:09
I think it’s because there is a character that is out of range for the encoding that CRM use.
I also noticed that all the image tags on mdbrowser doesn’t have closing tag.
Very minor issue, but I hope this is fixed for CRM vNext.