Query Communities
The queryCommunities method can be useful for users who are new to your app or are exploring their community options. By providing a way to explore for communities, you can help users to discover the full range of community options available within your app.
To query communities with certain criteria, the following parameters are used:
displayNameallows you to filter communities based on the community's displayName.filter/membershipallows you filter communities based on the logged-in user membership status.categoryIdallows you filter communities based on community categories.sortByallows you filter communities based on the order that the communities were created or based on alphabetical order, last created, and first created.includeDeletedallows you specify if you want to include deleted communities in your query. By passingtrueorfalseto this method, you can include or exclude deleted communities from the results.
If you'd like to fetch all communities, you can pass the keyword as null.
Version 6
Beta(v0.0.1)
Last updated
Was this helpful?