Skip to main content

#Profiles2 discussing

I have a profile xyz where the license is customer community plus and i have experience cloud site.  

 String profileName=[Select Id,Name from Profile where Id=:userinfo.getProfileId()].Name; 

 

this query is not working all of the sudden for abc customer it is working why not for xyz customer 

 

error which i am getting is sObject type 'Profile' is not supported. 

 

I also tried querying via user object and without sharing as well still not working 

 

 String profileName = [SELECT

Profile.Name FROM User WHERE Id = :UserInfo.getUserId()].Profile.Name

;  

 

#Apex  #Lightning Web Component Communication  #Experience Cloud  #Profiles

2 answers
  1. Jul 15, 3:53 AM

    @Ashwini Garwandha I am getting error Method does not exist or incorrect signature: void getProfileName() from the type System.UserInfo (37:39)

    Even I checked the documentation I dont see getProfileName() method itself. 

    Please help I need to fetch the logged in user's profile name.  

     

    And also abc customer's license is also customer cummunity plus itself not an internal user.

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 answers
  1. Mar 2, 2:34 PM

    @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 answers
  1. Jul 11, 2025, 5:23 PM

    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 answers
  1. Jul 10, 2025, 1:42 AM
    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 comment
  1. Jul 10, 2025, 1:36 AM
    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 answers
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 answers
  1. Jun 11, 2024, 3:47 PM

    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 answers
  1. Feb 29, 2024, 1:18 PM

    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

How to create a blank profile in Salesforce? 

 

 If you want to create a completely blank profile in Salesforce, you typically start by cloning a base profile like "Standard User" and then manually remove all object and system permissions. This process involves going through each permission setting and removing or unchecking every option to ensure the profile has no access to any objects or system features. 

 

But we can create a complete blank profile using REST API. Follow the steps mentioned in the link 

 

https://sfdcpulse.wordpress.com/2024/02/02/salesforce-profile/

 

  

#Profiles  #RestAPI  #Salesforce Developer

0/9000

Here are two brand new posts on what I believe are best practices for the next decade of Salesforce user provisioning at small organizations. Lol... what a statement. I'll guarantee you that what I have in my org of more than ten years is a far cry from best proactive now... probably wasn't then. But I've been trying! And it's starting to save time and make more possible...

 

It starts with a minimal user profile. Then you add tasks to be done broad permission sets and put them into a permission set group muted down to those needed by the user or user group.

 

It's not easy stuff but I highly recommending learning how. There is too much valuable data in your org to continuing running "wide open" and there isn't enough time in the day to manage it any other way that I know about.

 

P.S. LAtely I can't seem to get my game together to release a blog on Wednesday which is probably the best day. So please comment and share on Wednesday. Lol

 

1. Brief intro to creating an empty or minimal profile article: (summary created with help of AI): 

Enable restricted access login users like volunteers or interns by creating an empty

profile. Salesforce’s default “Minimum Profile” has been inadvertently added

Permissions by us (you have to uncheck it each time you add stuff), making it useless and requiring cleanup. Workbench allows easy addition 

of a blank profile with only name and license type, saving time and effort compared to

searching for granted access. Created a test user named Nobodyx @SYMin with no

role, assigned minimum profile, and unique email address. Login-as admin without

password. Currently, there is only one app (and one rogue app) available.

 

https://mighyforce.dreamhosters.com/2024/01/sym-publicity-volunteer-permission-set-group/. Compliments to @Tom Bassett for the neat method to create your own.

 

When you login as a user created with no checkboxes per missions other than this profile, you simply get lightning with one app (chatter). This is what we want! (P.S. I did eventually get rid of Power of Us Hub... it was a tab setting apparently ignored by the profile and permission sets) @Cheryl FeldmanHere are two brand new posts on what I believe are best practices for the next decade of Salesforce user provisioning at small organizations. Lol... what a statement.

2. Brief intro to creating a permission set group to capture a complex jobs to be done for a volunteer publicity helper: (summary created with help of AI):

A volunteer will access Salesforce Experience Cloud to edit objects at

cconnect.SYMin.org, allowing them to view, proofread, and modify data from numerous

records. Volunteers will receive a minimum profile and permission set for working with

functional tasks. Tasks include working with SYM Events, inventory items, programs,

and Managed Content. They will fix spelling errors, view impact data, and fix errors in

various objects. CRM content may be an alternative if needed. The document outlines

permission sets for various SYM objects, including SYM Events, Inventory, Programs,

and Managed Content. These permissions require full CRUD access to custom objects,

SYM Event Management App access, and access to the SYM Inventory App. The

permission set also requires read access to Program Engagements and Program

Cohorts, and access to the Program Management Reports folder. The document

emphasizes the importance of these permissions for effective use. Users assigned to

the experience cloud can access web pages, navigate to record pages, and edit fields

with edit permissions.

 

This is a veal example--it's messy... not simple at all. But it wasn't hard. And the parts are reusable and set the template for how all future tasks for internal ad external users will be provisioned.:

 

https://mighyforce.dreamhosters.com/2024/01/sym-publicity-volunteer-permission-set-group/

 

Here is the finished user logged in. They see a number of apps because the items exposed on our experience cloud site come from a variety of places. They have no delete rights for most items, although our custom object for managed content (a CRM type object) has full rights. Very cool... nothing distracting or dangerous! Just what everyone would order for a new person!

pasted image 0 (1).png

@The Blog Group @MVPs & AppExchange All Stars @Nonprofit and Education MindShare @Ryan Ozimek @Nonprofit User Group, San Antonio, US @Nonprofit User Group, Dallas, US @Nonprofit User Group, Houston, US @Nonprofit User Group, Austin, US #User Provisioning #Profiles #Minimum Access 

3 comments
0/9000