Challenge #6
If there is a need to collect the contextual record's related records in a collection, the following formula doesn't collect the complete records. Only the GUID of the related records is fetched as can be seen below (and the label in the gallery that is supposed to display the contact's full name is blank).
Trick #6
One way is to use a LookUp to fetch the contextual record using the ModelDrivenFormIntegration control.
Another way is to have a gallery of Accounts that is filtered based on the ModelDrivenFormIntegration control and then to use that gallery to fetch the related records using the formula mentioned below. The gallery of Accounts can then be hidden so the users will not see the gallery.
Have fun! Get addicted!
1 thought on “Challenge #6: Collecting related records in a collection”