Question

Photo of Jeremy Turgeon

0

Referencing Group Member Attributes in Reports

I'm trying to use groups to track our scrip distribution and have created a member attribute called Received By (key value ReceivedBy).  How can I bring up this value in a report?  I've tried using Liquid but couldn't find any documentation that covers this in depth.

  • Photo of Mike Peterson

    0

    Member Attributes that are defined at the Group Type level or Group Level are not currently supported.  It seems like a reasonable request though.  I'll ask about adding this and will let you know.

  • Photo of Carolyn Walker

    0

    Has this been added?

  • Photo of Nick Airdo

    0

    I'm on the Rock v7 pre-release and was just able to add this Lava field to a Rock Report in order to list each person's "Hours Serving" group type member attribute (for each of their serving teams [23]):

        
    {% assign person = Id | PersonById %}
    {% assign groupMembers = person | Groups: "23",'Active' %}
    
    {% for groupMember in groupMembers %}
        {{ groupMember.Group.Name }} (hours serving: {{ groupMember | Attribute:'HoursServing' }}), 
    {% endfor %}
    
    This may work prior to v7 so you might want to give it a try.