Retrieve Attribute values from 1:N relationship RRS feed

  • Question

  • How can I retrieve 1:N relationship custom entity Attribute values from Plugin? I am calling plugin code from Primary Entity Form and retrieve values(Prime Enity Attribute values) using the following code. But I would like to retrieve child enity attribute values. I appreciate any help.

            if (context.PreEntityImages.Contains("PreImage") &&
              context.PreEntityImages["PreImage"] is DynamicEntity)
              DynamicEntity preMessageImage = (DynamicEntity)context.PreEntityImages["PreImage"];
              contractName = (String)preMessageImage.Properties["new_title"];


    Friday, April 15, 2011 6:03 PM

All replies