Questions tagged [public-group]

All queries related Pubic Group can be tagged here

Filter by
Sorted by
Tagged with
0
votes
0answers
33 views

Copy link in community returned javascript:void(0);

When I post something in salesforce community groups(Public Groups) and try to share the post using Copy link , I'm getting the below error and can't be able to get the link to share. Can anyone ...
0
votes
1answer
51 views

Differentiate queues in process builder for email notification

I have a process builder workflow setup that sends out new task email notifications.  I would like to differentiate the the email notifications based on the queue that it is getting sent to.   A ...
0
votes
1answer
43 views

AccountShare UserOrGroup.Type returning weird results

I was wondering if someone could explain this to me. I am currently working in an org with Territory Management (1.0) enabled and I am trying running queries but getting weird results. When I run a ...
0
votes
1answer
27 views

Salesforce record access: Can access provided on public group override profile permissions

We have a user X, whose profile level access on an object is CRU. Now, this user is also part of a public group which provide read only access on the same object. So, will the access provided by ...
0
votes
1answer
30 views

Performance Issue while adding members in bulk to multiple Public Groups [closed]

Through trigger trying to add bulk partner users (approx. 50) in bulk Public groups(approx. 50) but it takes a lot of time. Is it something that on insert of members in public group Salesforce takes ...
1
vote
2answers
110 views

Get ALL queue Users

I am trying to come up with a way to get ALL queue Users (not just the users who have a groupMember record with UserOrGroupId matching theirs) via apex. Queue membership can also be granted via User, ...
2
votes
1answer
78 views

In Apex, how do I know if my user can contribute content to a particular library?

Is there a way to discover if the current user can publish content to a specific Library using either Apex or Javascript? Use Case I have a shared library (DeveloperName = Shared_Forms) that many ...
0
votes
2answers
231 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
65 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 (...
2
votes
1answer
141 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
707 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 ...
1
vote
1answer
70 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
135 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
171 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
175 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 ...
2
votes
1answer
214 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
28 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
149 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
479 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
157 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
200 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
63 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
1k 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
4k 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
2answers
2k 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 ...
1
vote
2answers
8k 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
138 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
433 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
3k 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
891 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
333 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
2k 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
488 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
2k 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
614 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
768 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
487 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
701 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
217 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
409 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
95 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
878 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
629 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
211 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
38 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
336 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
3k 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
284 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
43 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 ...