Group not found when using a!groupsByName( groupName )

Certified Lead Developer

There seems to be a length limit that is not communicated in the documentation for the new a!groupsByName( groupName ) function. This is causing unexpected behaviour in some cases where group names are longer than advised. Please confirm whether there is an upper limit and if so, please update the documentation with the limit.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    Thank you to all that responded. This issue was related to the visibility and privacy policy settings. Initially, visibility it was set to Personal which it turns out hides the group ( including the name ) from non-admins of the group. We subsequently changed the visibility setting to Restricted and the privacy policy to High. This configuration provided us with the access control we were looking for. Thanks!
Reply
  • 0
    Certified Lead Developer
    Thank you to all that responded. This issue was related to the visibility and privacy policy settings. Initially, visibility it was set to Personal which it turns out hides the group ( including the name ) from non-admins of the group. We subsequently changed the visibility setting to Restricted and the privacy policy to High. This configuration provided us with the access control we were looking for. Thanks!
Children
No Data