Questions tagged [profile]
A profile contains user permissions and access settings that control what users can do within their organization.
938
questions
0
votes
2
answers
230
views
Deploying an incomplete profile: how does Salesforce fill in the gaps?
If I create a blank profile in DX (minimal info, no object/field level security) and deploy it, the resulting deployed profile still has some object and field level security.
How does Salesforce ...
0
votes
1
answer
518
views
Actionable Relationship Center Component is not opening
https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_admin_guide.meta/financial_services_cloud_admin_guide/fsc_admin_set_up_arc.htm
I have configured Actionable Relationship ...
0
votes
1
answer
915
views
Removing some references to deprecated objects in profiles result in metadata deploy operation to fail
I removed references to a deprecated object's layout from profiles.
Basically removal of the following:
<layoutAssignments>
<layout>Deprecated Object Layout</layout>
&...
2
votes
1
answer
3k
views
How do I list all Profiles that include "Modify All Data"
Ideally, I need a list of active users that are assigned to a Profile in which the 'Modify All Data' system permission is checked.
But if I can even, quickly, get a list of just the Profiles with that ...
0
votes
1
answer
1k
views
How to determine which objects / object permissions are applicapble / not applicable for a given profile?
Some Salesforce objects have own section within Object Permissions list in specific profiles, other not. As I know ObjectPermissions has ParentId field which points to PermissionSet associated with ...
4
votes
1
answer
2k
views
How to change field permissions in a permission set or profile programmatically (APEX)
I've been testing out a component where one can programmatically create a field in the user object. It's being used to allow a user to check a few boxes that'll filter components in pages (using the ...
1
vote
1
answer
2k
views
Experience Guest User Profile Layout Assignment
For the Experience Site that I am currently building, I want to show a preview of a several layouts which will encourage the guest to sign up.
This preview is supposed to be a limited set of fields of ...
0
votes
1
answer
2k
views
How to assign permission set to multiple users based on profile?
I am trying to assign permission set to all users of specific profile. While doing this i'm getting errors.Please help me to solve this.
Error:
Line: 18, Column: 1
System.DmlException: Upsert failed. ...
0
votes
1
answer
31
views
Need help with Data Security requirement
Below is my requirement:
There are multiple programs within the org and I have this requirement.
Part 1: Profile A should only be able to see Program A data (Accounts, Customers, etc..)
Part 2: ...
1
vote
1
answer
3k
views
If I create a custom object tab with tab settings as "Default on" for system administrator profile and not include it any app?
Now, I created a custom object and then created a custom tab for it, in that I selected default ON only for system admin profile, after that I did not include the tab in any of the applications. Now ...
0
votes
1
answer
604
views
Is possible to deactivate the possibility to edit filter in a report in the Lightning experience?
Is possible to deactivate the possibility to edit filter in a report in the Lightning experience? Or at least "lock" every filter?
Our users does not create/edit/delete a report. Some of ...
0
votes
0
answers
41
views
To handle the profiles
For the specific profile ,I have given the Object Permissions for eg: Account Object-Create,Edit and Read in this Iam able to create a new account and edit that created account but iam not able to ...
0
votes
1
answer
39
views
The way to find profile(s) with only Read access on Account
Let's say we are near to create new profile but before there is need to verify that there are not such ones in org. How can we do it?
0
votes
1
answer
436
views
Need to give edit access for all custom object record to same profile but different role
I have one custom object with private OWD and CRUD/View All on profile.
There are more than 10 different roles but not in same role hierarchy and I just need to provide edit to all the records for ...
0
votes
2
answers
2k
views
Deletion of records who created it
For example am the owner of the record then only i should be able to delete the record, And i should not be able to delete records created by others.I cant give ModifyAll permission to that profile as ...
2
votes
2
answers
2k
views
How to enable Apex Class access to the `System` user
The recent enforced update Require User Access to Apex Classes Invoked by Flow enforces that all users, including the hidden System user must have Apex Classes assigned to their profile or permission ...
0
votes
1
answer
88
views
Disable Toggle to Classic | Automate permission assignment to New Users Analysis for Implementation [closed]
When a new user is created in Salesforce and is assigned to lightning enabled profile, then they should be automatically assigned the existing permission set "Restrict Toggle to Classic".
...
1
vote
2
answers
3k
views
Close Opportunity Flow Button Not Showing Up
I have a flow and an action button affiliated with it. The flow walks the user through editing a couple fields on Opportunity then closes the Opportunity with the right status. I've made an action ...
0
votes
1
answer
696
views
INVALID_FIELD error on User.ProfileId for Salesforce Platform User
We have a running application that has a custom lightning component to create partner users. User is successfully created in the context of System Admin. But when trying to create a partner user in ...
0
votes
1
answer
2k
views
Unable to assign permission set for guest license user
I have create a test/demo org from environment hub, stuck in assigning permission to guest license user.
where as it's working perfectly in prod and test sandbox environment.
permission set was ...
0
votes
1
answer
483
views
How to get metadata of metadata field types?
Is it, for example, possible to get information about Profile.ProfileApplicationVisibility (like here)? Possible requirements are: Which fields are required or what is the default value of that field.
0
votes
1
answer
221
views
How to recover Minimum Access Profile?
The Minimum Access Profile has been accidentally deleted from our organization. How can we recover it (development tools are possible!).
1
vote
2
answers
4k
views
Is it possible to check which all profile have access to a apex class salesforce
I have have created a new apex class. The old apex class have access to certain profiles new i need to give the same access to newly created apex class. Do anyone have any idea how to get the list of ...
0
votes
1
answer
391
views
Disable Setup Button in Salesforce but also need "View Setup and Configuration Permission" in Profile for Metadata Deployement
I have a lightning component that is used to create and edit Metadata using Metadata API Deployment.I have created a System admin user for this because only System Admin user has "Author Apex&...
2
votes
2
answers
757
views
Hidden System Permissions on Permission Sets / Profiles
I've been going through an exercise of migrating profiles into a more scalable permission set approach and ran into a few user permissions that don't have a UI checkbox or don't appear to have any ...
1
vote
2
answers
2k
views
Insufficient Privileges Error when clicking on EmailMessage record
Where Can I set the permissions for this object? I can see the record as an admin, because of Modify All permission. As a sales user, I can see only the records which were created by me. How to extend ...
2
votes
1
answer
2k
views
Why is this profile missing in the options of an org-wide email address and also the profile list in setup?
We have a custom profile called Customer Community Profile. User license is Guest User License.
We also have an org-wide email address from which certain emails are sent via Apex.
I need to allow ...
0
votes
1
answer
439
views
Validation Rule Triggered for another profile
AND(
$Profile.Name<> "Quality Sales Rep",
ISBLANK(ID__c)), True, False
)
This is a validation rule which should trigger on the user object when ID field
is blank while creating a new ...
2
votes
2
answers
1k
views
How to query profiles by ID?
My goal is to get all profiles (including customs) including all permissions and settings. I try to first get all profiles and then iterate over it to retrieve all permissions and settings.
However, I'...
0
votes
0
answers
46
views
Hide Site Guest User When Assigning Users
We recently created a two public sites, where we've enabled apex classes. The only purpose of these sites are to update a record field when called. The Apex classes have @RestResource(urlMapping='/<...
0
votes
1
answer
592
views
sObject type 'RemoteProxy' is not supported
I'm having: "sObject type 'RemoteProxy' is not supported." when I try to do an API call. I'm sure it is a profile permission issue. RemoteProxy relates to 'Remote Site Settings'. On the ...
0
votes
1
answer
255
views
Field 'PermissionsWorkplaceCommandCenter' can not be grouped in a query call [duplicate]
I am trying to get the value of PermissionsWorkplaceCommandCenter field per Profile in PermissionSets via Salesforce Workbench.
At first, I have this query:
But this results to following error:
I ...
-1
votes
2
answers
2k
views
Grant permission to Lead object
I need a specific profile to be able to view Leads. But the Lead object is not visible under that profile. Which permission do I need to enabled. Lead object is available under System Admin profile.
1
vote
0
answers
1k
views
How to detect Permission Set Assignments deletion?
I am currently trying to detect changes in permission set assignments within an arbitrary period; it implies creation and deletion. Where profile and permission set assignment creation is straight ...
1
vote
0
answers
159
views
Can't Find Content Permissions Referenced in Official Documentation
I'm developing a solution which leverages ContentDistribution, and I'm figuring out access levels and permissions. I read this page in the Soap API Developer Guide:
However, I can't find the ...
1
vote
2
answers
640
views
How can I map between a permission name in the API and the label shown in the UI?
I just ran into an error when deploying a Profile that required knowing the mapping between the UI Label "Run Macros on Multiple Records" and it's corresponding API PermissionName of "...
1
vote
1
answer
334
views
Metadata Equivalent of the System Permission "Run Macros on Multiple Records"
I'm getting the following error when deploying profile Metadata:
"You may not modify the permission Run Macros on Multiple Records while editing a Standard Profile"
I know I need to remove ...
0
votes
1
answer
397
views
Set default opportunity record type for a profile?
Can some one tell me how to set a default record type for a custom profile? It should be very easy, however, I am not able to do that in our production org. I opened up the profile and went into ...
1
vote
1
answer
143
views
Whats the most efficient way to build a FULL FLS perm set?
View All / Modify All system perms in no way interact with FLS. Yet there's also no convenient system permission to say 'this user should have read/edit ability for all field FLS', as far as I know.
...
5
votes
1
answer
730
views
Is there a to check how many users using compact/comfy display density view?
Goal is to find out all users in the org using Compact/Comfy density View. Is there a way to figure it out via SOQL query or Report?
0
votes
1
answer
1k
views
Which permissions to uncheck to disable a profile from creating dashboards and report [closed]
I have a the following requirements:
profile A which does not create any reports and dashboards, and
other users cannot share with this profile, even if they do share
this profile cannot read those ...
1
vote
1
answer
2k
views
Field Level security disable field visibility
On Opportunity are two Custom Fields Product__c (controlling field) and Product_Type__c (Dependent Field)
When i check the field level security on these fields, it is visible for all Profiles. I want ...
3
votes
1
answer
496
views
How to fix Re-occuring error in Apex class Permission set assignment
to create a specific Permission to make a button we created available for specific roles, we had to include all of the Apex classes used for this and this error occured after saving :
common.exception....
0
votes
1
answer
1k
views
Error: Unknown user permission: ManageSandboxes
When System Administrator profile is deployed through metadata, got the following error.
Unknown user permission: ManageSandboxes
Then I logged into my target organisation and checked Setup -> ...
0
votes
1
answer
820
views
Trying to setup permission sets in communities
I have a specific need where I’m struggling to properly setup the combo between profiles, roles and permission sets. Any insights welcome !
Context
I am setting up a system where our users will ...
3
votes
1
answer
898
views
Custom Profile User Throws Error When Subscribing To Platform Event
We have a lightning web component, that updates via the EMP API from an 'after insert' apex trigger. During testing we found that if we log in as a non-admin user (custom profile), the onError ...
1
vote
0
answers
26
views
Is there a way to hide Custom Settings and Metadata Types to Profiles? [duplicate]
Is there a way to hide Custom Settings and Metadata Types to Profiles?
Thank you in advance! :)
0
votes
2
answers
1k
views
Getting the following error INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY for a site guest user
So I know similar questions has been asked before, but I couldn't find a solution using the following links:
Link1, Link2, Link3 (and more)
The situation is as follows.
So I have a form (a visualforce ...
1
vote
1
answer
843
views
Profile with Unlocked package is having issues
I have unlocked package with some profiles. As of now I cloned those profiles from Minimum access - Salesforce and Customer Community Plus Login and it doesn't contain any of the extra permissions.
I ...
2
votes
1
answer
1k
views
Deployment Issues With Community License
I'm trying to deploy a community in an org and I'm getting these errors with these profiles...
Customer Community Login User Profile In field: userLicense - no UserLicense named Customer Community ...