Questions tagged [public-group]
All queries related Pubic Group can be tagged here
107
questions
-1
votes
1
answer
134
views
How can I make the public group is just visible for system admin?
I have created a set of users under the public groups.
Now I wanted to make that public group to be visible to system admin .
Basically how to control the visibility of a public group ?
-1
votes
1
answer
480
views
there was any way to stop sending email to single member in queue salesforce
How can we stop sending email for any specific queue member in salesforce
like we have list of queue member than I want to restrict the sending email to some queue member
How can achieve this please ...
1
vote
1
answer
175
views
missing New Case Button, in groups
I cannot put the button to create a New case, on a public group layout. Just like here:
from this trailhead: https://trailhead.salesforce.com/content/learn/modules/lex_implementation_chatter/...
0
votes
1
answer
58
views
Example Code from CalendarView Object Doesn't Compile?
I am attempting to create a calendar view object for my users. It is my first forray into Apex programming, so I have been referencing the example code in the developer docs.
I ran into an issue with ...
0
votes
1
answer
76
views
Trying to build group hierarchy to display public groups and which public groups they inherit
The issue is that if I use something like
[SELECT Id, GroupId, UserOrGroupId FROM GroupMember WHERE GroupId IN:GroupIds]
The issue is that it returns all group members I don't want such as user/role ...
1
vote
1
answer
4k
views
Listview visibility problem
I got really interesting issue and cannot find clue to solve it.
I have many listviews and some of them should be hidden for the moment. So I created new public group, let's call it "empty", ...
0
votes
1
answer
636
views
Sharing rule does not expand permissions for specified group members
I have a custom object called Banner that I'd like to allow portal users to view and portal administrators to create/edit all records. Currently the admin can create, edit, delete their own records, ...
2
votes
1
answer
507
views
Query Indirect GroupMember Records
Is there a way to query GroupMembers who have been granted access indirectly, i.e. via a UserRole?
The GroupMember docs imply that no records are created but they are shown in the UI, so I am hoping ...
0
votes
1
answer
743
views
Assign Task to public group apex
Salesforce allows us to create task with ownerId as single user/to a queue through apex. I would like to know if it's possible to create a task with ownerId as publicGroup ID. I know that we can query ...
0
votes
2
answers
5k
views
How to show a list of ALL USERS NAMES who belong to a selected Group and a list of USERS who don't belong the selected Group
For the moment I have this Query:
SELECT userorgroupId, GroupId, Group.Type
FROM GroupMember
WHERE groupId ='00G09000000vV44EAE'
AND Group.Type='queue'
I am ...
1
vote
1
answer
3k
views
Unable to add users to Public Group
I have created a Delegated Admin Group and add few users to this group. The Delegated Admins have access to a Public Group. This should allow them to add users to the Public Group.
Some of the users ...
0
votes
0
answers
2k
views
How to see where a public group being used
I Have to delete few users from public group to revoke few accesses assigned to those users via sharing rule but this might revoke few other accesses as well. As i am not sure where that public group ...
1
vote
0
answers
137
views
Any ideas on getting the count of users a record is shared to
I'm building a LWC that gives a metric for 'sentiment' but counting the occurrences of used topics in the host record pages feed.
It would be nice to be able to have a metric like "75% of Users ...
2
votes
0
answers
281
views
Public Group - Only group member is a role and subordinate. How to check a user is in that public group?
I've an aura/Lightning Component Quick Action/button that checks to see if someone is part of the public group. If the user is part of the group they can run the quick action.
Originally there was ...
1
vote
2
answers
91
views
Do we need to set up Roles if we don't care about record ownership?
We have set our org up with Org Wide Defaults set to Private on a few objects. We open them up via Profiles and criteria-based Sharing Rules to Public Groups made up of users.
Record ownership means ...
0
votes
1
answer
510
views
How to retrieve Users, their AssignedPermisionSets and Public Groups they are part of using a SOQL query
I have a use case where I have to query Users, their AssignedPermisionSets and Public Groups they are part of using a single SOQL query in an Excel File, I'm currently using Enabler4Excel for this ...
0
votes
1
answer
212
views
Is there a way to add individual users or a public group to a Library programmatically?
I'm looking for a way to add individual users or a public group to a Library programmatically using Apex.
I've been investigating if there is an API that let me do that, but I had no luck.
I know I ...
0
votes
1
answer
1k
views
Share records related to a record type using groups
I have several recordtype on the account. I created a permission set that has access to a certain recordtype but there is no view all, but I need the user to have access to all the records created ...
0
votes
1
answer
989
views
Public groups in Salesforce.com
There is no way to identify where all places any Public Group created is used in Salesforce.com.
The public group can be used at -
Sharing Rules
Record Sharing
Queues
List Views
Other Public Groups (...
0
votes
1
answer
223
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
1
answer
451
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
1
answer
707
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
1
answer
245
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
3
answers
5k
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
1
answer
314
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
2
answers
1k
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 -- ...
-1
votes
1
answer
98
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
1
answer
560
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
1
answer
2k
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
2
answers
780
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
0
answers
349
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
1
answer
462
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
2
answers
434
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
1
answer
758
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
1
answer
109
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
1
answer
298
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?
1
vote
1
answer
370
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
1
answer
253
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
1
answer
362
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 ...
4
votes
2
answers
3k
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
3
answers
11k
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
1
answer
6k
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 ...
3
votes
2
answers
25k
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
1
answer
766
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
1
answer
985
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
1
answer
7k
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
1
answer
1k
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
1
answer
895
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
2
answers
4k
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
1
answer
1k
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 ...