Questions tagged [collaborationgroup]

Use this object to create, edit, or delete groups in an organization or in a community.

Filter by
Sorted by
Tagged with
1
vote
1answer
40 views

Access Errors on FeedAttachment for Chatter Test Class

I am designing a test class for a Chatter component controller I did not design, and I am having issues creating test data. I have posted code below my issue description. I have removed most of the ...
1
vote
0answers
176 views

Create TopicAssignment in apex

I am attempting to automate some chatter stuff. What I want to do is use apex and create a new chatter feeditem, attach it to a group, and then assign a topic to it. I am doing this for a community ...
1
vote
2answers
705 views

How do I test that a ConnectApi.AnnouncementInput has been posted to a CollaborationGroup?

I have a trigger that posts a ConnectApi.AnnouncementInput, but how do I test that this has been posted, and to the correct chattergroup? I've created the test collaborationgroup in my test method, ...
0
votes
1answer
46 views

Insufficient Privileges error on getannouncements() method

We have a created a Chatter group in salesforce. A group manager can post Announcements on the group we need to display this announcement on the community portal. I am using ConnectApi.ChatterGroups....
0
votes
1answer
268 views

Mention private chatter groups

Can users @mention private chatter groups, that they are not a member of? The idea is to restrict members of a group (which is why I prefer private group), but non-member users be able to @mention the ...
0
votes
1answer
1k views

Need to Combine value sets from two maps to create a third Map

I'm needing to associate new SF Community Users to the proper Unlisted Chatter Group within their Community via trigger/triggerhandler. Hard Part is ChatterCollaborationGroup has no reference to ...
2
votes
0answers
261 views

Set User context in Email Template

I would know if it's possible set a "User" for an email template. In a my email template I use {!User.Name}. I have a class and a trigger on CollaborationGroupMember and I send an email each time ...
0
votes
1answer
381 views

Relationship between Collaboration Group and Feed Item (of type QuestionPost)

I am researching into migration of chatter data between two instances of Salesforce. Specifically I need to migrate chatter data within Collaboration Groups in a Community. I found all the posts from ...
0
votes
1answer
73 views

Map a Custom Category String from a Custom Object to Map of (String,List<CollaborationGroup>), could use some logic help

Background: I need some sort of "Category" option for our Collaboration Groups for our community, and Salesforce doesn't offer custom fields or categories of any sort on CollaborationGroup ...
1
vote
1answer
545 views

Napili Community: Filter Groups List Based on Custom Criteria?

Problem: Our Napili (Customer Service) community site utilizes custom components and Salesforce's out-of-the-box "Page Variations" functionality to render different page variations and different ...
1
vote
1answer
892 views

Test Class - Existing Chatter Group - complication

Can someone tell me how I can avoid using (seealldata=TRUE) BUT still be able to access an existing Chatter Group in a test class? Example with use of the SeeAllData=TRUE clause; //Find Chatter ...
0
votes
1answer
212 views

How to check if user has access to make post into chatter group?

How to check by Apex code if user has access to make post into chatter group?
1
vote
1answer
63 views

Trigger on CollaborationGroupMemberRequest

Is there a way to enable triggers on CollaborationGroupMemberRequest object? I know you can enable triggers on ChatterMessage by setting the correct permission in a cloned System Administrator profile,...
0
votes
1answer
110 views

Exception Error for Trigger

I have this trigger where it adds new user to chatter group but it throws exceptions everytime when i reset the password or when i deactivate any user, how can i update the trigger to not throw any ...
1
vote
0answers
88 views

Export member from a chatter group not present in an another group

I have 2 chatter's groups, i would like to export the users present in the group A and not present in the group B. I have tried with custom report, but i have not access to Collaboration Group Member....
1
vote
1answer
94 views

Most efficient way to mass delete CollaborationGroups after 24 hours?

I want to purge all CollaborationGroups (chatter groups) every 24 hours. What is the most efficient way to do this? Creating an apex job?
6
votes
1answer
386 views

NinjaValidationException

I encountered the following exception when trying to insert a CollaborationGroup in a test: System.DmlException: Insert failed. First exception on row 0; first error: UNKNOWN_EXCEPTION, content....
2
votes
1answer
110 views

Custom message on Add/Remove members

I have implemented an apex method that prevents a certain profile (let's call it A profile) from being removed from a Collaboration Group. The apex code works fine but I don't know if there's a way to ...
0
votes
1answer
30 views

Access CaseFeed as a Chatter free License User

I insert comment on CaseFeed logged in as a System admin Profile. I have Chatter Free License User. I want those comments can alse visible to Chatter free license user and can able to Comment on those ...
-2
votes
1answer
178 views

How to display Join (Join the Group) Button in Visualforce page for CollaborationGroup?

I am beginner in salesforce. I have a visualforce page where i am displaying all the collaboration groups. Can anyone guide me to display inherent Join Button for groups in that page? Thanks!!!
2
votes
1answer
325 views

Change Public or Private Chatter Group to Unlisted

Is there any way to do this with the IDE, or any sort of workaround? It looks unlikely, but I just want to make sure before I create a new unlisted group and migrate the group contents to it. I ran ...