Questions tagged [public-group]

All queries related Pubic Group can be tagged here

Filter by
Sorted by
Tagged with
1
vote
0answers
87 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
203 views

Narrow Search in public knowledge base is not working?

I am unable to get the Narrow Search section to appear on the PKB. I've checked all settings and permissions and nothing's jumping out at me. I follow the below Step to do this. From Setup, click ...
1
vote
0answers
28 views

Grant different access to documents folder for different groups

I have a document folder and two user groups that need different access for them: one of the groups should be able to create documents in the folder, the other group should be able to read documents ...
1
vote
0answers
855 views

Access Salesforce CRM Content in Communities & public VF pages

We have a requirement to put a custom download link on VF page for few Salesforce CRM Content. We would like to share few Salesforce content with "Community User" and few Salesforce Content with guest ...
1
vote
1answer
500 views

How to find if a group is internal or external in apex

Is there a way to find out if a group is of external users only. I know you can do something like this: select id,name,portaltype from userrole where id = 'name of the relatedid of the group' Using ...
1
vote
0answers
62 views

Salesforce User Licenses valid for Public Groups

There are lots of different User Licenses in Salesforce. I need to know which ones are valid for Public Groups, since otherwise, the trigger that adds a user to a public group upon creation will ...
1
vote
0answers
59 views

Granting app-specific permissions

We have a Visualforce Contact page in our managed package where there are a number of Actions, e.g. Go to VF page 1 Go to VF page 2 Render component Execute this javascript Right now we have ...
0
votes
2answers
224 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 ...
0
votes
1answer
120 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 ...
0
votes
2answers
3k 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
29 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
1answer
78 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
1answer
133 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
52 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 ...
0
votes
2answers
443 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
242 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 ...
0
votes
2answers
788 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
0
votes
1answer
882 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 ...
0
votes
1answer
395 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
164 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 ...
0
votes
1answer
17k views

How to query public group of a user? [duplicate]

I want to check whether a user contains a certain public group. I have tried the following select statement [SELECT id, Name FROM Group where RelatedId=: userInfo.getUserRoleId() and DeveloperName = ...
0
votes
0answers
22 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 ...
0
votes
0answers
18 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 ...
0
votes
1answer
27 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
1answer
63 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
0answers
20 views

Query List Views Shared With A Particular Public Group

I have a Public Group named "Random Group" created in my Org and I want to query which all List Views are shared with this particular public group. Is there a way to query this? Thanks in ...
0
votes
0answers
102 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
127 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
142 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
66 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
164 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
230 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
1answer
35 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
192 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
736 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
221 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
568 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
481 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
1answer
649 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 ...
0
votes
2answers
252 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?
0
votes
0answers
44 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
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 ...
0
votes
1answer
414 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?
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 ...
0
votes
4answers
146 views

How to display Public groups in table format list in visualforce page?

How to display Public groups in table format list and in select one public group,then search button clicks need to display table format list the group members in particular public group? anybody help ...
0
votes
3answers
352 views

Share records with a particular user only.

I may case their are 2 CEO (A, B) and 2 COO (C, D). I want to share record of A only to C and B only to D. I have set the object to private and create 2 group. 1st group with (A and C), 2nd group with ...
0
votes
2answers
5k views

How to check if the current user in Public groups before insert new contact using trigger?

I have been trying to check the current user is exists in public groups or not using trigger on Contact object before insert. I was wondering whether this is right way to check it or not? Exactly what ...
-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 ...
-1
votes
3answers
6k 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 ...

1
2