Questions tagged [profile]

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

205 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
1answer
792 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 ...
5
votes
1answer
64 views

Where can I find a mapping between a profile setting label and the underlying XML tag for a profile?

I am trying to audit a profile. I have a sheet with the labels in the profile, and I have the profile XML. But there is no simple concordance between something like this: <userPermissions> &...
5
votes
0answers
60 views

Is there a way to restrict access to push upgrades?

I'm trying to restrict access to push upgrades functionality in the org to certain user profile. I'd like to create a developer profile, which allow users to create, upload and test package, but ...
5
votes
0answers
1k views

Class is not visible in managed package

I have created a VF page and extensions for VF page a extension. I am using custom object as standardController and create a field set in the object which I am using in the VF page. On this VF page ...
5
votes
1answer
273 views

What determines the permissions for a profile deployed with change sets?

Question For a new profile created in a sandbox and deployed with a change set it'll carry with it the settings for all other metadata in the change set plus all settings that aren't specifically ...
4
votes
0answers
72 views

Enable Apex Classes - Sometimes Only Global, Sometimes Includes Public

I have a managed package that I distribute to clients and I'm running into a curious situation trying to help one install. I have noticed that in the Enable Apex Classes for their System Administrator ...
4
votes
0answers
80 views

Delete Profile settings via migration tool?

I'm trying make changes within a box, and I can see how to change settings via the migration tool, but I'd like to delete all loginIpRanges for a certain profile. Is this possible? I attempted ...
4
votes
3answers
2k views

Can I Mass Modify Object Settings > Tab Settings for All Profiles? (Default On/Default Off/Hidden)

I am in the process of my first Salesforce deployment to Production (my company has been working with an implementation team for 7 months or so, and we are going live on Monday). We had some security ...
4
votes
0answers
223 views

Profile Login IP Range Description Missing

I am missing the description field from the loginIpRanges for profiles. According to this doc (http://www.salesforce.com/us/developer/docs/api_meta/Content/meta_profile.htm#ProfileLoginIpRange_title) ...
4
votes
0answers
206 views

External users and standard profiles

In the Spring 14 release notes are the following two points: "Object permissions for contracts have been added to standard profiles. If your organization uses contracts and Communities, note that ...
3
votes
0answers
65 views

Get available record types for any user (not just current one) in apex code

We need to fetch in apex code list of available record types for a user provided by its id. We've already figured out how to do the same for current user (e.g. using DescribeSObjectResult....
3
votes
0answers
37 views

Password policies remain after deleting profile?

I deleted a profile via the Metadata API, and it did not delete its associated password policies. I cannot find the policies anywhere in the UI, but when I pull from production (or any sandbox ...
3
votes
1answer
99 views

Why is Field Level Security at the object-level presented as “Visible / Read-only” instead of “read / edit”?

If you access FLS settings for a given profile, it lists all the "edit" and "read" permissions for all fields in any object. If accessing the FLS settings from the object by clicking the "Field Level ...
3
votes
3answers
189 views

To display Profile name of the related user in related list

I have a team member object. Team member have a master detail relationship with "Team" object and a lookup relationship with "User" object. The lookup field for User object is labelled as "Related ...
3
votes
2answers
721 views

Can we set permission for Custom Setting object for Different Profile

Actually we don't want to show some details to other profile user. I have researched solution for this problem but didn't find a answers for this question.
3
votes
1answer
127 views

Profiles and Record Types

We have a custom object with 6 record types. I would like to know whether it is possible to determine what all profiles have access to a specific record type from this custom object . Any pointers ...
3
votes
1answer
400 views

Callout to web service doesn't work depending the profile I'm using

I have a customized button that once you click it, a new window it's open displaying some data from an external app, getting the data through a SOAP web service. If I'm logged as System Administrator ...
3
votes
0answers
474 views

Access to Custom objects for Customer Portal Users

We have customer portal and We have exposed Custom objects that have lookup to Account object and private sharing to Customer portal users. This is done by adding the sharing set such that User's ...
3
votes
0answers
2k views

Ant profile deployment - You cannot deploy to a required field Object_Name__c.Field_Name__c

I am getting the below error when I am trying to deploy a new profile: You cannot deploy to a required field Object_Name__c.Field_Name__c. I saw the solution posted here: Force.com IDE profile ...
3
votes
1answer
481 views

No read access to ProfileId for a User over the REST API

We've been looking up ProfileId from a given user that has OAuth-ed already. Normally they're returning the Id correctly when we call this: /services/data/v28.0/sobjects/User/THEIR_USER_ID However,...
3
votes
0answers
57 views

What's the best policy for managing Knowledge Article Data Categories?

We need to begin controlling Knowledge Articles by Data Category. Anyone have experience on using Roles vs. Profiles? Our idea is to strip access from Roles and provide access via the Profile ...
2
votes
0answers
19 views

Transaction Security is not available in Scratch Org

How am I able to turn on the visibility for transaction security? I am trying to test an apex class that implements TxnSecurity.PolicyCondition and according to this article to be able to see these ...
2
votes
1answer
120 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 ...
2
votes
0answers
26 views

Profile Mapping when installing a managed package using Ant

When installing a managed packages via Ant, is there any way to map managed package profiles to profiles that already exist in the Salesforce org? I have the following profiles in the Salesforce Org. ...
2
votes
0answers
59 views

Do subsequent Unlocked Package version installs deploy FLS?

I've created an Unlocked Package using Salesforce CLI and installed the first version in an org. I've checked the Field Level Security for each Profile and they were all correct. But when I changed ...
2
votes
0answers
494 views

Profile permisison not being deployed with ant tool

General User Permission on profile not updating (Import Personal Contacts) I have all profiles, custom permissions, permission sets, added to the repo as well as leads, accounts, contacts. After ...
2
votes
0answers
71 views

Standard RecordType selection on the Napili Community page?

I do have two record types for a custom object. For the User who's having Community User License, I have removed one of them(at the Profile level). Now on the Napili community's page, I do have a "...
2
votes
0answers
68 views

Throw error when the unlicensed user access the Lightning custom record page with the record detail and custom components

I created a managed package with a custom lightning component. After I installed this package in another org, I created a custom record page for Account object. I dragged the record detail component ...
2
votes
0answers
125 views

Some permission are not available in profile?

When I am migration profiles from one organization to another that time I need some permission in Target organization, but in target organization these permissions are not available. Can anyone tell ...
2
votes
0answers
38 views

Is it possible to remove “Login as other user” permission for system administrator profile?

Is it possible to remove "Login as other user" permission for system administrator profile? I thought to clone sys admin profile and give delegated administrator access, but i dont want to create a ...
2
votes
0answers
171 views

Hiding activity and attachments for a profile

I want to hide notes and attachments, Activity of Account and Contact object for a specific profile. Ie., that profile can view all the accounts and contacts but they cant able to see the attachments ...
2
votes
0answers
728 views

Give internal users access to the customer portal by default?

By default, the customer portal is accessed via portal user accounts. Salesforce internal users have a separate, non-portal contact for logging into Salesforce via a standard SF splash page. To ...
2
votes
0answers
384 views

Metadata for assigned Home Page Layouts

I've just created a customised Home Page Layout and assigned it to a couple of profiles. I now want that assignment to be deployable to other sandboxes via metadata. Is this possible? Or does this ...
2
votes
1answer
46 views

Getting userprofileupdate timestamp in apex

I want to get time when user profile image gets updated. How can i get that in apex?
2
votes
1answer
755 views

how to upload contact/lead profile image through REST API?

I have byte array data of user image and what is best way to upload contact/lead profile photo and what is the REST API for uploading the same. I have also social site photo url. is there any API to ...
2
votes
0answers
62 views

Assigning User to a Profile through MetaData Api

I am .net Developer, creating some POC on SFDC Metadata Api, so please bear with me if i ask silly question. I am able to create a Profile and permission set in SFDC org, through metadata api. But am ...
2
votes
0answers
202 views

Confusion with Org-Wide Defaults Permission and Profile

I have two users .. attached is the screenshot The object level permission on "Job Application" object is: The Org-Wide record level access on "Job Application" object is: Now what is happening is ...
2
votes
0answers
44 views

Is it possible to query Profiles in InstallHandler script of managed package?

Is it possible to query Profiles in InstallHandler script of managed package. I'd like to get target profile ids to create specific custom settings for them.
2
votes
0answers
678 views

Change default app for customer portal profiles

I cannot uninstall an AppExchange application because it is the default app for the Customer Portal profiles. However, when I try to edit these profiles, they are read-only with respect to the ...
1
vote
0answers
26 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
0answers
15 views

Permission error when creating package version with Custom Object

I am trying to restructure my code for sfdx, but a lot of it is (unsurprisingly) built on custom objects. One of the packages I'm trying to create has a custom object that is a detail in a master-...
1
vote
0answers
23 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 ...
1
vote
0answers
47 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 ...
1
vote
0answers
19 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", ...
1
vote
1answer
47 views

Not able to give CRUD permissions to custom object on Customer Community Plus Login User Standard Profile

Profile Screnshot I need give access to Customer Community Plus Login User to one of my custom objects,this user should be able to crete and delete the records of the custom objects. However, when I ...
1
vote
2answers
31 views

View all data and Modify all data checkbox is not showing profile in Salesforce

I am trying to give modify all data permission to contact object in production. But View all data and modify all data checkbox is not showing in production for guest site user. I want to display ...
1
vote
1answer
35 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
0answers
18 views

Cannot add record type to standard profile because of unrelated error

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 ...
1
vote
0answers
73 views

List Button is not passing parameter in URL for a particular profile

I have a list button on a related list of custom Object ABC under Contact object which redirects to a VF page (custom record creation page for ABC). I am passing contact id in the URL so that contact'...
1
vote
1answer
49 views

Site guest user profile CRUD missing in a new scratch org

I've got a bitbucket pipeline which creates a new scratch org with the following config and then immediately deploys the source into the scratch org. { "orgName": "MyOrg", "edition": "Developer", ...