question

Anthony Pike avatar image
Anthony Pike asked

If GroupEntities are entities, can a Group be a member of a Group?

I don't *need* this but I would use it if it was true, and I haven't seen any mention of it.


I have groups that represent classes of students.


I'm curious if the current system allows for a group (in my case a 'school') to contain other groups (eg classes)?

entities
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Anthony Pike avatar image Anthony Pike commented ·

In my case I wouldn't expect the parent group to consider the sub-group members to be it's own members, but more as a way of tracking classes as belonging to a school.

0 Likes 0 ·

1 Answer

·
Made Wang avatar image
Made Wang answered

Groups can only contain players and characters, and nesting of groups is not possible. If you just want to store the relationship between groups, you can store this information in the group's entity object. Refer to Use entity objects to store player data - PlayFab | Microsoft Docs.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Error rendering WebPanel (widgets/consolidation-widget.ftl): org.hibernate.hql.internal.ast.QuerySyntaxException: AvailableConsolidation is not mapped [from AvailableConsolidation up where up.node = :node]