Problem Profile Editor
Introduction and overview to a simple tool for editing tricky, hard-to-reach profiles.
🆕 v0.2 released 2025-APR-12: Support inaccessible profiles!
📢 Jump to Installation Info
Have you ever tried remove profile access to a default record type, either because of an accidental assignment, org clean up, or to uninstall a package, only to get stopped in your tracks when pesky profiles like the Site Guest Users, Chatter Users or Platform License Users (and more!) have access? Or even trying to clean up field access as part of security/compliance checks and these same profiles are a problem?
If you haven’t, I’m sorry to tell you that it’s not so easy.
If you have, you know that the workaround is to disable some things and then juggle URL parameters of other (working) profiles, and then remember to go back to re-enable those things. And if you’re like me, you often forget this or find it really annoying.
Salesforce Help tells us…
- Disable the “Enhanced Profile User Interface” within the User Management Settings of Setup
- (Recommended) Switch to the Classic interface
- Copy the link from the error message in order to get the 15-character Id (starting with
00e
) for the offending profile and put it into a text editor - Go to a working Profile, like the System Administrator, and get to the editing page for the Record Type Settings for the object needed
- Copy this URL, paste it into a text editor, find the URL parameter for the
id=
and swap out the working profile id with the offending profile id copied earlier - Use this modified URL in the browser to access the editing page in order to make your changes and save them
- Re-enable the “Enhanced Profile User Interface” and go back to the Lightning interface.
Introducing Problem Profile Editor
With this simple tool, you can now do this in a few quick steps without having to remember how to do all these steps or having to copy/paste your way to a resolution.
- Just go to the “Problem Profile Editor” tab from the App Launcher
- Search/select the Profile from the first input
- Search/select the Object from the second input
- Click the action button(s) for what needs to be resolved
- Record Type Settings
- Field-Level Security
- Classic Profile Editor
- Make the changes on the new tab that opens directly to the Classic interface and click save
No more hassle. You can even return to the tab and change Profiles or Objects and repeat the process as needed.
Setup
Just install the package!
Want to explore the code? It’s an 🔓📦 unlocked package and the repository is open-source too!
Installation Info
- v0.2 - 2025-APR-12
- Sandbox & Scratch Orgs
- https://test.salesforce.com/packaging/installPackage.apexp?p0=04t3x000001ZqqqAAC
- Production & Developer Edition Orgs
- https://login.salesforce.com/packaging/installPackage.apexp?p0=04t3x000001ZqqqAAC
Old Versions (Production-only) v0.1 - 2025-MAR-13
Uninstall Steps
If you followed the steps we’ve outlined here, it should be simple:
- Navigate to Setup
- In the Quick Find, search for
Installed Packages
- Click
Uninstall
next to the “Problem Profile Editor” package (fydo) - Follow the steps
Did you know?
With unlocked packages, you can remove most metadata components from the package by clicking
Remove
which will keep them in your Salesforce org, even though you’re uninstalling the package!Watch out, Salesforce says there are some things to consider .