Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [public-group]

All queries related Pubic Group can be tagged here

0
votes
1answer
15 views

Formula to Concatenate all Public Group Membership Names onto User Record

I need to create a custom field on the user table that concatenates the public groups this user is a member of separated by ', '. Does anyone know if it's possible to pull public group data through to ...
0
votes
2answers
47 views

Fire workflow rule from trigger

Is it possible to cause a workflow rule to fire from a trigger? I would like to send an email to a group when the Owner field is changed to a specific value on the PSR object. But I'm getting the ...
1
vote
3answers
19 views

Email alerts to the public chatter groups

How to update members of Chatter Groups which was already created to receive email on every post. thanks
2
votes
1answer
28 views

Custom Object Access via Public Groups

We have around 100 users who belong to 3 different profiles. We know it is possible to do it via permissions sets. But is it possible to provide permission via public groups or roles...what is best ...
0
votes
1answer
19 views

Query Access for Group, Group Member, RecordType, UserRole

What permissions / controls, if any, are there to control whether a user can query group, group member, recordtype, or user role? If they are not a member of a group (role, group), can they query all ...
0
votes
1answer
34 views

Make shareable task to public group in salesforce

Wanted to make shareable task where any group member can close the task for all group members there is any way to do this?
0
votes
1answer
110 views

Not able to insert public group id as LinkedEntityId in contentDocumentLink object

I have written one trigger which makes file private on the creation and has another trigger which shares the file access to a public group, but the second trigger is not working since, when I try to ...
0
votes
1answer
32 views

Public Community Group

I have created a public community group.  I added my users to the group as members.  To my surprise, unauthenticated guests with the link can see see the content of the group.  It is as if my guest ...
1
vote
1answer
112 views

Can't navigate to a Group record via force:navigateToSObject

I'm running into an issue while trying to open a Group record page via force:navigateToSObject in Lightning - When the event is fired, the page navigates to a page stating 'You can't view this item in ...
0
votes
1answer
34 views

Button access to public groups

I am facing issue to build this logic in my application, can anyone help me how to achieve this scenario. I have two public groups in my Org like Group A, Group B. I have two buttons in the record ...
3
votes
2answers
282 views

Trigger on GroupMember object

I am trying to write a trigger to update user records as soon as they are added to a Group. So I decided to write a trigger on GroupMember but it says "SObject type does not allow triggers: ...
0
votes
3answers
684 views

How to Assign user to public group based on profile

How to create public Group based on the profiles Requirement: I have certain profiles For ex: Profile 1 profile 2 profile 3 profile 4 How to add these profiles related user to the ...
2
votes
1answer
548 views

SOQL to find whether user's role is part of the public group

I have few public groups where I have only roles added. Is there any way to identify whether the current user is part of the group by taking current user's role and then comparing with the roles added ...
0
votes
0answers
18 views

Report for Group Members

We are creating a report for Group Members. And that report must contains some group Members details. Is there a way to get the Group Member's email address and contact id in a Report? We can only see ...
0
votes
2answers
2k views

Deployment of public groups and the associated users

Do i have to manually add the assigned users to a public group, after a group is migrated using the 'ant migration tool'? If i retrieve a public group using the below package.xml <?xml version="1....
0
votes
1answer
40 views

Export Users with group membership

Is there a SOQL query or a method to extract all users, their profiles and group membership from Salesforce?
0
votes
1answer
171 views

How to find public groups assigned to list view in apex?

We want to get a list of public groups assigned to list view in Apex code. We didn't found object/API which can provide this details.
0
votes
1answer
745 views

Write a SOQL Query to extract queue memebers [closed]

How do I write a SOQL query for the developer console that extracts the names of the names of the queue members buried within a public group inside the queue?
2
votes
1answer
369 views

Add Public Groups as criteria to a Process Builder

I want my process builder to run just for set of users. I know that I can do it to run for certain profiles/ Roles but not all people in that profile/ roles need to run it. Is there a way to add '...
0
votes
1answer
132 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
2answers
985 views

trigger to add user to group based on profile

I want to add users to a public group based on profile. This is what i have done so far. trigger newUserTrigger on User (after insert) { string name = 'test Apex trigger'; list<groupMember&...
0
votes
1answer
232 views

Deleting all public groups from Org

We have an utility which imports all data from one org to another, this results in creating public groups every time import operation is carried out. Is there any way we can perform delete operation ...
-1
votes
1answer
620 views

What is the Object in which public group data is stored?

I want to find a way to create public group in salesforce using data loader. For that i need the object in which public groups are stored. Can anyone tell me the object in which public groups are ...
0
votes
2answers
318 views

How to find count of users in all public groups

I am trying to find a count of users in all public groups in a salesforce org. Has anybody done any apex class which can get the results? Buyan
1
vote
1answer
505 views

how to query portal roles added to the public group in SOQL

I have a public group and many Portal Roles added to that along with other users. How do I query all the portal roles added to this public group in SOQL ?
1
vote
1answer
220 views

cannot query on public group for community user

Hi have a controller with constructor running below query GroupMember groupMember = [SELECT Group.Name,GroupId, UserorGroupId FROM GroupMember ...
2
votes
1answer
443 views

Access to account, contact and opportunity on lead conversion

I was practicing for Sales Cloud and came across the following dummy question: Joe is the record owner of a Lead. A Lead sharing rule has been defined so that leads owned by Joe are shared with ...
0
votes
2answers
87 views

Finding accountshares of a user thats in groups with accountshares

My objective is to get a list of AccountShare records related to groups where a specific user is in. How would I write this query?
3
votes
1answer
55 views

How can I remove a user from public group 1 when s/he is added to public group 2?

I have a business requirement to show all records of a custom object to all users except for a small group called 'reviewers'. This requirement runs against the grain of standard SFDC sharing, so it's ...
0
votes
0answers
23 views

I didnt recieve mail for scheduled report

I have a report scheduled for every weekday. Report is running as me and I have added my user in the recipient list. But I am not getting the mail. However mail is sent to the Group members added for ...
6
votes
0answers
75 views

What's happening upon deletion of a Group record

I just ran a few consecutive tests of inserting and deleting a bunch of groups via the developer console (execute anonymous). Inserted 50 Group records: List <Group> groups = new List <...
1
vote
1answer
587 views

How to share Chatter File (ContentDocument) with set of Users

As per salesforce documentation, record can be created in ContentDocumentLink https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_contentdocumentlink.htm LinkedEntityId ...
0
votes
1answer
240 views

Requirement for extracting all public group Members in a sheet

I have a requirement to export all the active public group members. Currently we are doing select all on the screen and then extracting in an excel sheet. Then we are filtering out inactive members ...
2
votes
0answers
146 views

No records returned when querying GroupMembers from Groups with type Role/Roles and Subordinates

I created a Public Group and added Roles as members. When I am querying the GroupMembers of that Group, I am getting the Ids for the Groups with Type Role. But when I am trying to query the Users/...
0
votes
0answers
29 views

Can I put a workflow or or build a process builder flow around the GroupMember object?

I am trying to send an email to a single person every time someone gets added to or is removed from a Public Group. Can I do this via standard workflow or using the process builder? If no, can this ...
0
votes
1answer
190 views

Trigger on PermissionSet or PublicGroup possible ? Or way to crack it

We want to fetch the permission set and public group info into custom object. We run batch to do that(Scheduled every day). So we need to wait for a day to get the latest. Now we want to reduce those ...
0
votes
1answer
38 views

Help On Task Object

I have a trigger on one of the custom objects which helps me to create a task based on one of the fields( active = true) in the custom object. I am able to achieve this requirement, but I have one ...
7
votes
1answer
2k views

GroupMember Types of a Public Group

How can we get the Type of a Group Member? Using getSObjectType() on the UserOrGroupId of GroupMember we get the Types - but they are only User or Group. List<GroupMember> members = [ SELECT ...
0
votes
1answer
119 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
0answers
33 views

Question on permission needed to add users (at least partner users) to public group

I have created a delegated administration that allows a full salesforce internal user to create public groups. They can add roles, and other public groups to existing public groups, and ones they ...
1
vote
1answer
188 views

Lookup Filter Question

I have a Lookup field on the Opportunity that looks up to the User called Cost Estimator. I would like to make it so the only users that can be selected are members of the Cost Estimator Public Group. ...
6
votes
1answer
2k views

Restrict Users to Find and Access a specific Case Record Type

I've created public groups and sharing rules in order to give access rights to the "Y" profile to A, B and C case record types. The user that has profile Y assigned cannot find, access and view "D" ...
2
votes
1answer
220 views

Public Groups - Updating “Grant Access Using Hierarchies” Setting

Can anyone tell me if the DoesIncludeBosses field is the back end for the front end checkbox of Grant Access Using Hierarchies for Public Groups? Documentation doesn't connect the two together. I ...
2
votes
1answer
257 views

Email Template {!Receiving_User.Name}

I want to send email to all the users in a public group from initial approval action. How can I refer individual user's name in the email template? I tried {!Receiving_User.field_name} merge field in ...
0
votes
0answers
59 views

Not able to fetch GroupMember records

I have 2 Partner Users : PU1 created with Standard User profile PU2 created with System Admin User profile A public group having 'All Partner Users', is assigned to a Queue which is owner of a ...
0
votes
1answer
26 views

Custom data segmentation requirement

I have a requirement where there are federal and commercial Orders. Federal Orders should only be shared with Federally certified users and commercial users should not see these orders. Federal users ...
2
votes
1answer
603 views

Access / identify Role GroupMembers in Apex

If I know the Role Id of the logged in the User. Can I determine which Groups the Role Id is associated with? When I query the GroupMember object - using something like this SELECT Id, Group.Type, ...
1
vote
1answer
611 views

get all members of public group EXCEPT where they are managers if a member

I am using the below code to get the members of a public group, plus all the indirect members (either members of a child group, or associated by their role membership) public class GetAllGroupMembers ...
4
votes
1answer
219 views

Where are all the places that public groups can be used?

We're considering deleting some public groups, but we need to know all the different areas that the groups my "touch". So far, here's the list I've come up with: Sharing Rules Record Sharing Queues ...
0
votes
1answer
145 views

Many to Many, 1 to Many, Many to 1 Relation in Custom fields

Use case : It is for project management, where manager can enter modules and assign to some developers to test this functionalities. Manager can assign many modules to one developer(user) or one ...