CRM 2011–TreeView Control
MS Dynamics CRM allows us to have an entity with Self-Join that is we can establish Parent-Child relationship with itself. This relationship makes it easier to store hierarchical data in single CRM entity. This type of relationship can be used to store Taxonomy data. For Example Area-Region-Subsidiary-Country or Sales Territories.
I have developed a CRM 2011 WebResource which will render self-joined Entity data in Tree View structure and which can be used to assigned to Lookup attribute on CRM 2011 form.
This Utility has 3 parts
1. Mechanism to render data from Self-Joined entities and convert it to XML Web Resource form.
2. On CRM form bind XML Web Resource data to TreeView control
3. Wiring event to populate Lookup attribute on CRM form when User select one of the Tree View Node.
Demo Screen 1
This WebResource is easily portable on CRM Form and it needs just one JavaScript call to set Lookup Attribute for which data need to be rendered.
Let me know if anybody interested in having CRM Managed Solution for this WebResource and I will be glad to share it.
Any ideas to improve this TreeView control is welcomed.
[Updates: 11/03/2011]
Thanks all those who showed interest in TreeView utility. I am currently working on Packaging the Utility into CRM 2011 Managed Solution, once completed with Testing I will share the Managed Solution
[Updates: 11/07/2011]
Finally I could complete packaging Beta releases for two separate Projects !!!
These projects are now available in CodePlex. In case you come across any issues send me an email.