Photo of Miqueas Nieves

0

Group id

Please, Where do I find a group Id?

I am getting the following error: 'Group does not have a default value for groupId'


If someone can point in the right direction in finding a group I'd?

thank u

  • Photo of Jay Greentree

    0

    Can you provide a screenshot?

  • Photo of Miqueas Nieves

    0






    The LAVA documentation gives the following example:

    {% group where:'GroupTypeId == 25' %}

       {% for group in groupItems %}

         {{ group.Name }}
       {% endfor %}

    {% endgroup %}


    How do I identify the GroupTypeID?


  • Photo of Michael Garrison

    0

    In general settings under the administration menu, you can view and add group types. When you click on an existing group type to view it's settings, check the URL in your address bar: it should end in something like ?GroupTypeId=25


    That's the id for the group type you're currently viewing.


    If you can share the full lava you've got in the merge template, we can help you troubleshoot that as well.