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
2 votes
1 answer
158 views

Create ContentDocumentLink after insert ContentDocument error

I have pretty simple requirement but I am facing error and I can't understand what is going wrong. I need to add ContentDocumentLink to add file to CollaborationGroup after insert with C permission. I ...
Maciej's user avatar
  • 45
0 votes
0 answers
28 views

How to test, using test data, a Process Builder that fires a Flow which posts to Collaboration Group's Chatter feed?

I am testing a Process Builder process which (1) looks at a new Support_Ticket__C, (2) auto-updates some picklist fields based on what the user entered on creation, then (3) fires a Flow which (4) ...
mattie_g's user avatar
0 votes
2 answers
261 views

create CollaborationGroup in SandboxPostCopy Class

Anyone have experience in creating a CollaborationGroup using SandboxPostCopy class ? My requirement is to create a Public Group in newly refreshed sandbox. I have tried following ways but no success: ...
Chirag Verma's user avatar
0 votes
0 answers
21 views

Minimum permission required to Modify Private groups

By default only admin can see Feeds in Private Group, I need a moderator who can also see and modify Feeds in Private group but is not 'admin'. The solution here Suggest to assign 'Modify all data' ...
AmanSharma's user avatar
1 vote
1 answer
801 views

How to create collaboration group and assign network id?

This is in test class. I wanted to create a collaboration group and assign it to a network. Here's my code: CollaborationGroup group = new CollaborationGroup(); group.Name = 'My Group'; group....
Carl Ortiz's user avatar
0 votes
0 answers
213 views

CollaborationGroupMember Not Inserted In Test Context?

I've a batch class which identifies the users which are not added to list of chatter groups (CollaborationGroups) and adds them to the groups by creating collaborationGroupMember records. In order to ...
sfdcnewbie's user avatar
1 vote
1 answer
402 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 ...
AusNC's user avatar
  • 13
1 vote
0 answers
1k 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 ...
Travis's user avatar
  • 352
1 vote
2 answers
2k 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, ...
rna7's user avatar
  • 347
0 votes
1 answer
94 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....
user50072's user avatar
0 votes
1 answer
984 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 ...
yeselkay's user avatar
  • 321
1 vote
2 answers
2k 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 ...
Arnold Brown's user avatar
2 votes
0 answers
563 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 ...
vt89's user avatar
  • 725
0 votes
1 answer
1k 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 ...
Ordos's user avatar
  • 31
0 votes
1 answer
300 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 ...
Morgan Marchese's user avatar
1 vote
1 answer
649 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 ...
Morgan Marchese's user avatar
1 vote
1 answer
1k 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 ...
Matt M's user avatar
  • 1,477
0 votes
1 answer
827 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?
Patlatus's user avatar
  • 16.4k
1 vote
1 answer
207 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,...
Andrew L.'s user avatar
  • 837
0 votes
1 answer
225 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 ...
Admin_BA's user avatar
  • 141
1 vote
0 answers
221 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....
Thomas's user avatar
  • 41
1 vote
1 answer
155 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?
user22261's user avatar
  • 151
6 votes
1 answer
680 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....
Adrian Larson's user avatar
  • 150k
2 votes
1 answer
179 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 ...
Iliablun's user avatar
0 votes
1 answer
169 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 ...
Rock SFDC's user avatar
  • 301
-2 votes
1 answer
248 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!!!
user3253106's user avatar
2 votes
1 answer
565 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 ...
Brian Mansfield's user avatar