Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [public-group]

All queries related Pubic Group can be tagged here

Filter by
Sorted by
Tagged with
0
votes
2answers
42 views

Error while deploying new Public Group using ANT

I'm getting the following error while deploying into my Sandboxes using ANT: 2019-09-19T15:15:28.4944305Z All Component Failures: 2019-09-19T15:15:28.4945450Z 1. groups/Service_Desk_Users.group -- ...
0
votes
1answer
54 views

Please help me with this task

Create a new lead whenever a new user (with profile Marketing User) is created, also add the user into following Public group and Queues: General Announcements (public Group) Marketing Hot Leads (...
0
votes
0answers
6 views

Listing of reports/dashboards accessible by a public group

Is there a way of understanding the list of report/dashboard folders that a particular public group has access to, in the report hierarchy? We have a lot of reports and need to figure out the ...
0
votes
0answers
27 views

Sharing Rules for Knowledge in Salesforce

Is it possible to create sharing rules for Knowledge? How can I share knowledge record with Role/Public Groups?
2
votes
1answer
222 views

Getting 'FATAL_ERROR System.TypeException: DML operation INSERT not allowed on Group' on Apex Trigger

I am getting: "FATAL_ERROR|System.TypeException: DML operation INSERT not allowed on Group" error on an apex trigger (line 43) when I am logging in as any other user except System Admin. I am ...
0
votes
1answer
25 views

Unable to allow external customers in chatter groups

I am trying to create groups in Salesforce and allow external customers to join them in order to discuss details about cases and maintain privacy by creating a group for each customer. The ...
0
votes
0answers
72 views

Apex Sharing : AccountShare ImplicitParent

I am querying below AccountShare records - Select Id,AccountAccessLevel,Account.Name,RowCause,UserOrGroupId from AccountShare where UserOrGroupId='some_id' I am getting 2 records in which ...
0
votes
1answer
91 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
114 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
246 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
121 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
25 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
95 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
257 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
91 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
164 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
41 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
606 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: ...
-1
votes
3answers
2k 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
1k 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
2answers
4k 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
78 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
281 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.
1
vote
1answer
2k 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
615 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
233 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
1k 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
340 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
1k 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
472 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
636 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
316 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
582 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
147 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?
2
votes
1answer
88 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 ...
6
votes
0answers
83 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
728 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
409 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
159 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
31 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
270 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
39 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 ...
6
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
188 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
36 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
258 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
283 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
354 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
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 ...