Questions tagged [profile]

A profile contains user permissions and access settings that control what users can do within their organization.

Filter by
Sorted by
Tagged with
0
votes
1answer
84 views

Prevent recipients to change their email via Profile Center

At my email footer, there is a link to the Subscription Center (%%subscription_center_url%%) where users can Unsubscribe. On the same page, if they switch the sidebar to Profile Center they can also ...
0
votes
2answers
148 views

Add fields to the user search results in Salesforce setup

I am trying to add new fields to the user search results in setup. For an example, I need to add Profile of the user. But I cannot find a way. Adapting the search results layout doesn't help in this ...
1
vote
1answer
735 views

Allow user to insert File/ContentVersion when not Admin

I want to insert ContentVersion as a non-Admin Profile/User. When I run the code below I get the error below. I tried to clone the System Administrator profile and call it nonAdmin, that did not work....
2
votes
1answer
55 views

Set Default Record Types to avoid Post Deployment activity for each user

Problem: Need to restrict popup 'Record Type selection screen' while new custom object record creation. I tried added under permission set for profile under Default Record type,as shown in below ...
2
votes
2answers
3k views

how can i mass assign object record types to profiles in salesforce

Some new record types were created to a custom object,how can i assign them to n number of profiles instead of manually editing each profile.(The problem is there are around 85 profile that needs to ...
0
votes
0answers
311 views

View Flow Usage and Flow Event Data Permission is conflicting across orgs

I noticed today that a permission conflict is resulting in the failure of a deployment and we have no clear way to fix it. The standard admin profile in Production has the View Flow Usage and Flow ...
0
votes
1answer
2k views

VS Code retrieve Profile data

I retrieved with VS code all my profile, with * Profile in package.xml. But in definition of a profile "profileName-meta.xml", i can't find userPermission with false value. ...
0
votes
0answers
39 views

Apex code behaving differently on different domains

We have a domain that is accessible once logged in to Salesforce, that we use to view VisualForce pages, like https://ourcompany.abc123.visual.force.com We also have a domain that has some publicly ...
2
votes
3answers
3k views

Copy a Profile to Permission set

We need to migrate a profile to permission set... What is the best possible way of doing this.. Any tool, hack .. anything ??? I cannot find any app exchange product. I have tried to manipulate the ...
0
votes
1answer
113 views

Related List is not showing up…?

I'm having an issue that a related list is not showing up on the detail page of the Asset object. When I try with the 'System Administrator' profile it shows up, but when I try with other profiles, it ...
4
votes
3answers
21k views

How many standard profiles do we have in salesforce?

Hi I have a developer org and in that I have observed different set of 18 standard profiles while http://ap1.salesforce.com/help/doc/en/standard_profiles.htm link demonstrated another set of 18 ...
1
vote
0answers
560 views

REQUIRED_FIELD_MISSING, Required fields are missing: [Profile]: [Profile]

I am able to create a new community user internally but when i try to create a user from filling the custom registration page from incognito its throwing the error Insert failed. First exception on ...
0
votes
2answers
157 views

How to create multiple test custom setting hierarchy

I am not sure how to create multiple profiles for one hierarchy custom setting. I assume it would look something like this: ConcurrentSessionsPolicyLimit__c defaultLimit = new ...
0
votes
2answers
34 views

need to provide one permission to users

I just wanted to add one permission to users (Sales(standard__LightningService) the current approach is to create a permission set and assigned connected app to PS.is this good for only one ...
0
votes
0answers
87 views

Extract profile's field level security

Is there a way to get a profile's field level security? I tried an soql query for FieldPermissions object but it's based off of permission sets so if there's no permission set with at least read ...
1
vote
0answers
273 views

Why are readable/editable fields missing from Profile.xml Metadata? Workaround?

I'm trying to build a "no permissions" baseline profile in a sandbox I just spun up from my production org before playing with a new integration (so I can assign permissions in a "least privilege" way)...
1
vote
1answer
454 views

Sharing Setting on MAster Detail Field is not being enforced - Bug or correct SF behaviour

There are two Objects 'Parent' and 'Child'. Two User Admin and LocalUser. As per the profile of LocalUser : Parent Object has Read permission Child Object Has CRU permission OWD for Parent Object is ...
0
votes
2answers
474 views

profile setting to have access to the recall button

I have been restructuring Profiles and I have just run into an issue. I switched one of my users and now she does not have the "recall" action on the approval history view. She is an approver and ...
1
vote
0answers
67 views

Salesforce DX and Profile settings?

I have a weird issue I’m having with Salesforce DX. We’re looking to convert to unlocked packages. When I install an unlocked package, I can see the metadata flagged as being a part of the package for ...
0
votes
2answers
2k views

How can we control trigger to fire only for some users which share same profile

We have a trigger on attachment, can we control the trigger firing on the basis of users who share same profile. Like through custom setting or anything.
0
votes
1answer
265 views

Reporting on Profile and Login IP Range

Is there an easy way to build a report type that would allow me to build a report on the profile and Login IP Range permissions. I have profiles with either no Login IP Ranges or IP's that need to be ...
0
votes
1answer
204 views

Field Permissions History Query

I'm aware on how to run a query on FieldPermissions object to check the permissions for a specific field. The question I have, and I haven't been able to find anything online yet, is: If I run the ...
1
vote
1answer
150 views

How to remove fieldPermissions from Profile via metadata API

We manage to create new fieldPermissions by calling updateMetadata() and passing to it a Profile object with the new fieldPermissions. However, we haven't figured out a way to remove specific ...
0
votes
1answer
138 views

Can change the ownership(to internal user) of custom object record by Site Guest User

We have lightning community, in which we have drag and drop component. After onclick of button, we are updating custom object 'contact survey' record owner id. In @AuraEnabled method we are updating ...
1
vote
0answers
68 views

Trying to update site guest user profile

I am trying to update site guest user profile and it gives me following error "Please fix the following: Too many custom tabsets for this profile." Not sure how to fix it.
2
votes
1answer
217 views

Knowing a priori ProfileSessionSetting metadata member name

I use ProfileSessionSetting to deploy session timeout from an org to another. When I build the package.xml I have initially retrieve all the profile settings with a wildcard: <?xml version="1.0" ...
1
vote
0answers
226 views

Apex(no sharing specified) , OWD (public read only) and read Object level permission on profile - INSUFFICIENT_ACCESS_OR_READONLY

Custom Object - OWD (public read only) Apex(no sharing specified) and the apex is the entry point Object level permission on profile is read I was trying to update a custom object logging in as a ...
0
votes
0answers
23 views

Account sharing Rule

My requirement is "Log in as any user with a profile other than System Administrator. Ensure the user has access to view all Account record types but is only able to create and edit those with the ...
7
votes
1answer
2k views

Profile Field Level Security missing in XML when retrieve profile changes from scratch org

In our DX project we maintain 4 profiles (3 custom and the System Administrator profile). When a scratch org is created I can push the project and everything deploys correctly including the profiles ...
1
vote
1answer
413 views

Do you need Read access to an object to view its records in a report?

I believe if you have access to a report, record level access can be ignored and you can potentially see all records. Does this apply at the object level of a profile? So say a report is on Accounts, ...
0
votes
2answers
565 views

Can't create a new “system administrator” user

A few days ago I created a new "system administrator" user in this way: service setup - users - new user license: salesforce profile: system administrator But now I can't. I don't have the option "...
7
votes
1answer
7k views

Find out the default record type of any Object in Apex

I've to find out the default record type of an Object so that I can use in Apex to insert/update records. Found out that it is at the user level(user profile based). Is there any other way which I ...
1
vote
0answers
80 views

SFDX Scratch orgs are missing Chatter Plus/Chatter Only license

I need to create a user with "Chatter Plus/Chatter Only" license in my DX scratch org with this config: { "orgName": "Demo Company", "edition": "Developer", "features": [ "PersonAccounts", ...
2
votes
2answers
7k views

I want to delete the record type which is default to the some profiles

Record Type *Record Type Label Sales Order *Record Type Name Sales_Order Namespace Prefix Description Active This record type Sales Order cannot be deactivated because the following ...
3
votes
2answers
4k views

How to update all profiles with the same Custom Object Permissions?

The case: I created a custom object. After that, I need to give permissions to all profiles. I have a lot of profiles. And editing each one is time-consuming. Is there a way to update all profiles at ...
1
vote
1answer
353 views

Retrieved profile from scratch org contains a permission which is unknown to a sandbox, why?

I've been working with SalesforceDX for a while now, and I've always removed profiles from deployments because of similar issues. Often you will create a simple scratch org, write your code, and then ...
0
votes
1answer
440 views

How can I overcome a “session is not valid for use with the API” error when accessing AJAX Toolkit as a Community user?

I'm attempting to use the AJAX Toolkit to access the current Account ID of the logged-in user from within a community site. (The particular community is managed by Nimble AMS, and is referred to as "...
2
votes
1answer
53 views

What do Profiles do uniquely?

After becoming frustrated with the half-dozen Profiles that all do the same thing (except for subtle differences here and there), I have started on cleaning up my org's permissions scheme. My basic ...
0
votes
1answer
71 views

Impacts on Page Layouts, Record Types, Objects and Fields on Profiles Clean Up

Since the Salesforce org becomes old, there is a need for Clean up. On this process, looking to clean up the profiles in the org. I have already created an Administrative User report to check the ...
1
vote
3answers
1k views

How to allow OpportunityLineItem delete but not Opportunity delete

How can I stop users from deleting Opportunity's but allow them to delete OpportunityLineItems? Because OpportunityLineItem is a child record of Opportunity it is not possible to control it's object ...
1
vote
1answer
60 views

Metadata API - FSC Retail Banking from being set as the default App instead of my custom App

I am having an issue where, using the Metadata API, I can't get my custom app to be the default App after installing the FinServ managed package. I first am deploying my custom App and setting the ...
1
vote
1answer
2k views

Users of some specific profile are not getting salesforce mail from Workflow, email alerts and test deliverabilty

I have salesforce enterprise edition environment. In this any user is not getting mail from saleforce workflow or any kind of system mail from sfdc if we change users profile to system administrator ...
1
vote
0answers
23 views

Cannot add record type to standard profile because of unrelated error [duplicate]

I want to assign a case record type to System Administrator. When I try to do this I get the error: Please fix the following: Permission Subscribe to Dashboards: Send to Groups and Roles ...
0
votes
1answer
88 views

SOQL field/object security setting in all Permission Set

I have two questions: How to get all Permission Sets' Name/Label? How to know the Security setting in a name-knowed Permission Set? Scenario: For audit reason, I have to retrieve Object/Field ...
1
vote
2answers
2k views

Can I retrieve a Profile's XML with Managed Package metadata?

I am currently attempting to update a new profile's permissions to match that of another profile (different license types, so cloning isn't available). My current best solution is to pull various ...
10
votes
1answer
8k views

'Guest' vs 'Guest User License' in sites?

When I first set up a site, I am always given the option to have the the type of new site be 'Guest' or 'Guest User License'. I have not been able to find any documentation on what the difference is. ...
45
votes
3answers
8k views

Salesforce bug enabled “Modify All”

Apparently, Salesforce has released a patch that implicated "Modify all" to be enabled for every single profile in some orgs. This includes standard profiles and custom as well. Yes, even standard ...
1
vote
1answer
33 views

Dev Platform - Custom Object

I just created a developer org for a customer presentation. I have created a special object from the object manager. When creating, a warning message appears: "Permissions for this object are ...
0
votes
1answer
130 views

Able To Delete Sobject Even if No permission for User

I have an Invoice Object inovice1, A profile sales1.Profile sales1 have no crud permission for invoice1 object not even read. Also OWD for Invoice object is set to private.Still I am able to insert,...
2
votes
1answer
127 views

SOQL Profile Id Bug Introduced in Summer 2019 Release

We have discovered SOQL Profile Id Bug Introduced in Summer 2019 Release. To reproduce this, we need to have either a Custom Object or Custom metadata with Custom Field of Text field which contains ...

1
3 4
5
6 7
17