+ Start a Discussion
Amiya Das1410Amiya Das1410 

Creating Chatter group for community users via Apex?

Hi Folks,

I have a scenario to restrict a community user from creating more than 1 private chatter group. Trigger has been created for this. Now while covering the trigger handler class via test class, I am facing the issue on how to create a chatter group for community users via apex. Is this a constraint??
Any suggestions or workarounds for this.

Khan AnasKhan Anas (Salesforce Developers) 
Hi Amiya,

Greetings to you!

Please refer to the below links which might help you further with the above requirement.




I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas