I am creating a mail merge template in CRM 2011 and I need to pass a list of related entities to the entity that is being merged. For example, if I am merging records of an entity A which has a relationship to entity B, I wanted to know if there is a way to pass such a list of records of entity B related to the entity A into Microsoft Word 2010 through data fields on the mail merge template? Or is there some other way to handle this situation?
Also, a related question is, is there a way to pass an entity that is related by 2 levels to the entity being merged, for example, if the entity being merged is A, and that has a related entity B which in turn has a related entity C. Is there any way for me to pass the attributes of the entity C through the data fields on the mail merge template of entity A?
Any inputs will be greatly appreciated. Thanks in advance!