I’ve seen a couple of other questions about that are similar to this here and there, but none of them seem to have the answer I’m looking for the closest I’ve gotten is this Github issue on it.
So, what I’m going for is I have some groupings that I am iterating through to print to an HTML table and in between each grouping, I wanted to get the name of the object the groupings made using the ID of. The name isn’t included on the objects, so I need to pass the names in in a different way. I chose a dictionary because that seemed easiest at the time, but following the Github issue’s directions, I can’t seem to get it to work. So far, this is the code I have:
{{- for group in Groupings}}
<tr>
<td>
{{Names[group[0].ObjectId.toString()].Value}}
</td>
</tr>
{- for item in group }
<!--some code here-->
{- end}
{- end}