0 votes
in Rock by (13.1k points)
edited

Originally posted by Unknown

I'm exporting a merge template from the group member list block in Group Viewer and I can't seem to access the GroupMember data shown here. The Row object is just the person entity.

enter image description here

1 Answer

+1 vote
by (13.1k points)
edited
 
Best answer

Originally posted by Unknown

I discovered that the merge template block treats GroupMember entity sets differently. What it does is set the Person as the Row object in lava.

{{ Row.FullName }}

or

{{ Row | Attribute:'BaptismDate' }}

Then it adds the GroupMember object to the Row. So use this syntax to access the GroupMember:

{{ Row.GroupMember.Id }}
Welcome! Here you can ask questions and receive answers (hopefully) from other members of our team.
...