Skip to main content

#Profiles8 discutindo

Hi Everyone,

I have an Experience Cloud site where the users are using the Customer Community Plus license.

I have a requirement to create a new Customer Community Plus user from an LWC/Apex component. As part of the user creation process, I need to select the appropriate Customer Community Plus Profile.

To populate the Profile selection, I need to fetch the available Profiles from the org using Apex.

I tried the following SOQL:

List<Profile> profiles = [

SELECT Id, Name

FROM Profile

];

However, when this code executes in the context of a Customer Community Plus user, I receive the following error:

sObject type 'Profile' is not supported

I also understand that Experience Cloud users have restrictions on accessing certain standard objects.

My questions are:

  1. Is there any way to grant a Customer Community Plus user access to the Profile sObject through a Profile, Permission Set, or any other Salesforce configuration?
  2. If direct access to the Profile object is not supported for Customer Community Plus users, what is the recommended Salesforce approach for retrieving the appropriate Customer Community Plus Profile when creating another user?
  3. Is there any supported Apex/API approach to retrieve the available Customer Community Plus Profiles without directly querying the Profile object?

My requirement is specifically:

Existing Customer Community Plus user → LWC/Apex → Create a new Customer Community Plus user → Select the appropriate Customer Community Plus Profile

Any guidance or recommended approach would be greatly appreciated.

Thanks! 

 

#Salesforce Developer  #LWC  #Profiles  #Experience Cloud

7 respostas
  1. Ontem 10:13

    I am getting this below error  when I use Site.createExternalUser() .

    common.apex.runtime.impl.ExecutionException: [You are already logged in.]

      

    Please suggest

0/9000

Is there a way to either (1) choose a profile and see a list of all the objects and the corresponding Lightning page assignments for this profile and/or (2) look at an object and see all the Lightning page assignments for an app for each profile? 

 

#Lightning App Builder  #Profiles

2 respostas
  1. 3 de set., 16:23

    Hi Rachel, 

     

    Confirming the object-level view: Object Manager > [Object] > Lightning Record Pages > Page Assignments shows every profile/app/record-type combination and which page each one gets — that's the closest native equivalent to your #2 ask. 

     

    For #1 (profile → all objects/pages), there's no native single screen for that. Options if you need it regularly: 

     

    1. Query it via Tooling API — FlexiPage and FlexiPagePageAssignment objects hold this data; a nightly export/report could reconstruct a profile-centric view for you. 

    2. Metadata-based approach — retrieve all FlexiPage metadata via VS Code/CLI and grep for a specific profile name across the assignment XML — faster than clicking through Object Manager one object at a time if you have many objects. 

    3. AppExchange tools — several free/paid metadata-dictionary apps (e.g., Elements.cloud, Metazoa) can generate cross-referenced reports like "profile → pages → objects" without manual digging. 

     

    Reference:

    https://help.salesforce.com/s/articleView?id=platform.lightning_page_assign_profiles.htm&language=en_US&type=5

0/9000

Trailblazer Profile editing is currently not working for me.

When I open Edit Profile, the required fields Role and Relationship to Salesforce already contain valid selected values, but both fields are highlighted in red and Salesforce displays “This field is required.”

Re-selecting the existing values or choosing different values does not resolve the validation error. Because of this, I cannot save any changes to my profile, including my title and Short Bio.

The profile editor has also become unstable: while entering or changing text, characters sometimes behave unexpectedly and the edit window can close or reset.

Expected behavior: existing or newly selected values should be accepted and profile changes should save normally.

Actual behavior: the two required dropdown fields are treated as empty even though values are visibly selected, preventing all profile updates.

I have screenshots showing the validation errors. Is this a known Trailblazer Profile issue, and is there a workaround or a way to have the profile data corrected? 

 

#Trailhead  #Trailblazer  #Forums Community  #Community  #Profiles  #User Group Profile Settings  #Custom Profiles  #Certifications  #Certification

3 respostas
  1. 26 de ago., 05:04

    There can be a random compatibility issue as the maintenance goes on the backend. So please give it a try.

0/9000

So a question for you that have moved permissions from Profiles to Permission sets, how did you handle Global Actions?  Since Global actions rely on the Global Publisher Layout and that is only by Profile, how did you handle situations where some users needed to see global actions and others did not? 

 

#Nonprofit #Salesforce Admin #Permissionset #Profiles

3 respostas
  1. 2 de mar., 14:34

    @Edward Elliott I am leaning toward a limited set of Profiles, to handle global and in a very specific use case, default record types. In most cases, as you mention Permission Sets, flows, etc can handle everything. But there are some use cases, at least for us, that mean I will need to look at having at least 2 if not 3 profiles, just for that. Still far less than what we have now.

0/9000

Hello - I am a solo admin for a nonprofit and I am starting the journey of migrating from Profiles to Permission Sets.  I have been doing some research and talking with others, watching presentations, and more.  So at a high level, things are making sense.  However......I am also trying to determine what are the main things that are important and what is just "noise". 

 

For example, I am doing some comparisons of the profiles and I am also just reviewing what access each profile has, not what is just different but do I have profiles that have access to object and fields that they should not have (or do not use). 

 

I am using the Elements app to help with this and one thing I noticed is that in some cases, even if a person has a Profile called "Coach" for example and that Profile does NOT have access to a specific Object, like "Opportunities" they are showing that they DO have access to a number of fields in the Opportunity Object.  

 

Now, I know that since they don't have access at the Object level they can't view those fields.  But my question is Do I need to make sure that I remove the field level access on the "Coach" profile and another other profiles that were cloned off that?  Or just leave it as is and just focus more at the overall Object level? 

 

Again, just trying to determine how much clean up (or pre work) I need to do. 

 

I should mention that our org has been using SF since 2009 and I was not here, so I really don't know what they did to make a number of the profiles or specifically what base profile they cloned a lot of what I am dealing with now. 

 

Anyway, any insight/advise is appreciated. 

 

#Salesforce Admin #Permissionset #Profiles

4 respostas
  1. 11 de jul. de 2025, 17:23

    Hi @Heath Parks

     

     

    I have recently done this process myself.  

     

    I would recommend clearing out what they don't need access too, as going forward it will make things clearer and easier for you.  

     

    You do also have a couple tools you could use to make this process easier.  

     

    1st tool is PermComparator which is a Heroku app that lets you compare user's access. 

      

    2nd is an app I have installed in my org called 'User Access & Permissions Helper' from the AppExchange.  

     

    This wonderful app allows you to convert existing profiles into permissions sets at a click of a button.  

     

    Hope this helps :)

0/9000

I'm on a project that's at the beginning stages of building an Org that will ultimately have a large number of users whose access rights will vary greatly by user function/role.  

 

The current design is to use only 1 or 2 Profiles, and manage all of the access needs via Permission Sets and Public Groups.  Is this a recommended approach?  

 

My concern is that certain features which are dependent on Profiles - like Field-Level Security, Record Types, etc - don't support using Perm Sets and Pub Groups.  

 

Is there a best practice for determining how many Profiles an org needs, out of the gates, versus Perm Sets and Public Groups?    (FYI, the current design is to not use the OOTB Role Hierarchy either...in case that impacts this decision)  

 

Thanks, in advance!

 

#Best Practices  #Object Access  #Profiles  #Profile  #Best Practice  #Best Practices Advice  #Permission Set  #Service Cloud

4 respostas
  1. 10 de jul. de 2025, 01:42
    What did you ultimately decide? I’m in the same situation. Very customized record types I don’t need others to see. It’s just clutter in their view.
0/9000

🌟 Salesforce is moving its permissions from Profiles to Permission Sets – and this shift brings great flexibility for admins! 🚀

But here’s an idea I’ve been thinking about to make permission management even more powerful:

🔧 Future Enhancement Idea:

It would be amazing if Salesforce allowed admins to view all users assigned to a Permission Set and edit CRUD permissions (Create, Read, Edit, Delete) for each user within that set! Currently, we can see Permission Sets assigned to users, but we can’t easily adjust individual user permissions from within that set.

Why this would help:

  • Multiple users could have different permissions within a single Permission Set without needing to create multiple sets.
  • Better visibility into who has what permissions.
  • Streamlined workflow for admins, making permission management faster and easier.

Not sure if this is a great idea or not – I’d love to hear your thoughts on it! Is this something you think would improve Salesforce admin workflows? 💡

 

#Salesforce Admin  #Security  #Permissionset  #Profiles

1 comentário
  1. 10 de jul. de 2025, 01:36
    What plan did you decide on to reduce your customer profiles? I’m wracking my brain for the easiest option as I have 6 different record types for accounts, leads and opportunities because we have completely different sales teams.
0/9000

Hi Team, I would like to make the Service Console custom app as a default for some profile in SF.  I followed the below steps but when I tried login as other user I still can landed in 'Sales' cloud app. 

 

  1. From Setup, enter App Manager in the Quick Find box, then select App Manager.
  2. Click New Lightning App and walk through the New Lightning App wizard.
  1. Add only the App Launcher tab to Selected Items.
  2. Make the App Launcher the default when users log in for the first time.
    1. From Setup, enter Profiles in the Quick Find box, then select Profiles.
    2. Select a profile and scroll to the Custom App Settings section.
    3. Select Default next to the Lightning app.

Please let me know If I am missing something.

 

#Sales Cloud #Service Cloud #Permissionset #Profiles #Salesforce Admin

3 respostas
0/9000

I'm trying to disable the 'Edit Read Only Fields' system permission on a custom profile.

 

However, I encounter this error trying to complete the Save:

 

The user license doesn't allow the permission: FreezeUsers

 

  1. Where is this permission? I do not see it.
  2. Why is it tied to editing read-only fields?

#Profiles

3 respostas
  1. 11 de jun. de 2024, 15:47

    That's really odd. I think I saw a couple other posts on here in the last couple of days that mentioned a similar error with FreezeUsers since Summer 24 release. 

    Hate to say it, but I think this calls for opening a Case with Salesforce. 

0/9000

I am attempting to customize the permissions to a profile (Salesforce license) I am creating. Without making any changes if I click Edit and Save (in this case in Assigned Apps) I get the following message.

 

You may not turn off permission Allow View Knowledge for this License Type

 

I don't see anything called "View Knowledge" and I have yet to make changes.

 

Please advise. 

Thank you,

Hindy

3 respostas
  1. 29 de fev. de 2024, 13:18

    I now see that there is a checkbox under the App Settings, in the Knowledge Management section that has a grayed out checkbox 'Allow View Knowledge'. If the Standard Profile is built this way, why does it not allow me to make changed to the profile?

     

    #Profiles #Object Permissions

0/9000