Microsoft CRM 4.0 - How to get at entity attributes from a parent form
Posted on 2009-04-02
I have a two custom entities... Product, and Parts.
Parts entity has a 1:N setup with Product
Product form has a lookup for the Part entity "name" field.
The Product form works properly, allowing me to select the record from the Parts entity.
Once I've selected the Part, I would like to populate a number of read-only fields on my form with more of the attributes for the selected Part.
For example, when I choose "Widget A" from the Parts lookup dialog, back on my
main Product form I would like to fill in the "Length", "Weight", "Price"
attributes from the Parts entity.
I have no clue how to go about this. I have a feeling it may have something
to do with mappings, but have had no luck in what I've tried.