Sorry for another newbsie question, but I tried a lot of options and can’t seem to figure this out.
I have “Groups” collection organized like the one below. I want to be able to iterate through Members on the client, listing the Role entry and the Username entry for each using spacebar templates:
I can get as far as iterating through members, but I’m having no luck grabbing the members.userinfo.username field. I realize this is pretty general, but I’ve tried lot of variations on syntax and I’ve not managed to come up with anything. Help would be appreciated incredibly.
Ah thanks, I wasn’t even aware I could do this. I’m much closer to the right track now.
Naturally, I tried it first with just an n and hoped Meteor would somehow read my mind, but I suppose I need to do something with .count now, which is no big deal – unless there’s a simpler way to do that?
But thank you either way, that was the piece I needed.
Oh gosh, I should have thought of doing it this way before instead of stressing over indexes. Thank you so much, I was part the point of being able to think clearly. Working exactly as it should now.