I cannot delete a record type because of the following profiles do not have the option to change the default record type? - Answers - Salesforce Trailblazer Community
Trailblazer Community
Ask Search:
Charlie FunkhouserCharlie Funkhouser 

I cannot delete a record type because of the following profiles do not have the option to change the default record type?

External Who, Chatter External User, Chatter Free User and Chatter Moderator User
Best Answer chosen by Charlie Funkhouser
Nagasubramaniam Natrajan (Subbu)Nagasubramaniam Natrajan (Subbu)
Go to the profile and make it as default to user profile . Do you have Admin access check this posted bySteven Danschutter

There is a way to change this, it's a kind of workaround:

- in the Salesforce.com config panel, navigate to a profile that still has the ability to change default record type settings, for example 'System Administrator'.

- notice that the URL is now a combination of the salesforce.com domain name, plus the ID of this profile (for example 00ed00019019MAM )

- scroll to 'Record Type Settings' and click the Edit link next to the object where you want to alter the default record type settings (for example Account)

- at the bottom of this page you should be able to change the default record type

- notice that at this point the URL is build out of the profile ID, plus some extre commands to redirect you to the edit page

- if you would replace this profile ID, with the profile ID of 'chatter free user', you get a similar page.
It will still display 'User Profile System Administrator', but you are in fact looking at the correct settings.

- change the record type settings at the bottom of the page, and click save.

- now you're able to delete / deactivate the record type that you have deselected in the previous step

- leave your desk and give a compliment to a random colleague, just because you can.

All Answers

Cory DEV 2Cory DEV 2
It sounds like those profiles only have access to the default record type which is the one that you are trying to delete. If they were to create a record on the object, it would have to create as the remaining record type, which they don't have access to.
I would change the access of those profile so that they have access to the other record type as their default, or create another record type as their default, Then, you should be able to delete it.
Nagasubramaniam Natrajan (Subbu)Nagasubramaniam Natrajan (Subbu)
Are you trying to delete the Master Record Type? Deactivate Record Types rather than deleting it . Here similar https://sites.secure.force.com/success/questionDetail?qid=a1X30000000HZ5eEAG
Nagasubramaniam Natrajan (Subbu)Nagasubramaniam Natrajan (Subbu)
Another idea create a new record type and   get into each profile and set the default record type to the newly created one. Once  old record type is removed from all profiles, you will be able to delete it.
Susan ThayerSusan Thayer
You'll want to have a master record type that is assigned to these profiles. Then you can delete the other ones.  All profiles need to have a default record type.

The easiest way to do this is to go to the Settings>>Customize>>{ObjectName}>>Record Type. Then click on page layout assignment.

But as to your specific question, these are default profiles that are not very customizable and have limited permissions, what specifically are you trying to delete? It must be pretty core to Salesforce.
Charlie FunkhouserCharlie Funkhouser
I created a new LEAD Record Type with a New Layout that it has been assigned.  I want to make it the default for my org, but did not assign it as such in the setup process.  However I have changed all of the profiles to show this new record type as default except those mentioned above.  There is noway to change them in SF and that is what is stopping me from making it the default.  Even when you look at creating a new record type those profiles are not listed in the make default section.
Nagasubramaniam Natrajan (Subbu)Nagasubramaniam Natrajan (Subbu)
Go to the profile and make it as default to user profile . Do you have Admin access check this posted bySteven Danschutter

There is a way to change this, it's a kind of workaround:

- in the Salesforce.com config panel, navigate to a profile that still has the ability to change default record type settings, for example 'System Administrator'.

- notice that the URL is now a combination of the salesforce.com domain name, plus the ID of this profile (for example 00ed00019019MAM )

- scroll to 'Record Type Settings' and click the Edit link next to the object where you want to alter the default record type settings (for example Account)

- at the bottom of this page you should be able to change the default record type

- notice that at this point the URL is build out of the profile ID, plus some extre commands to redirect you to the edit page

- if you would replace this profile ID, with the profile ID of 'chatter free user', you get a similar page.
It will still display 'User Profile System Administrator', but you are in fact looking at the correct settings.

- change the record type settings at the bottom of the page, and click save.

- now you're able to delete / deactivate the record type that you have deselected in the previous step

- leave your desk and give a compliment to a random colleague, just because you can.
This was selected as the best answer
Charlie FunkhouserCharlie Funkhouser
This worked.  Thx Subbu!
Crystal CheairsCrystal Cheairs
Also note that for the Externa Who; ignore the error that you don't have permission to access. The URL will still contain an ID you can use to place in the URL (as mentioned above).
Garrett HuntGarrett Hunt
Wow.  This really works.  Thanks Subbu.  I had to revert back to the old profile interface, but it worked.
Khema AhujaKhema Ahuja
Wow! Great, it worked for me when I was in trouble, Thanks Subbu...:)
Dongzhi YangDongzhi Yang

It worked for me! Following are the links I got in my case after replacing the necessary information. I modified "Record Type ' for these 3 profiles.

Chatter External User:
https://na15.salesforce.com/setup/ui/profilerecordtypeedit.jsp?id=00ei0000001EYif&tid=01Ii0000001bces&pn=Chatter%2BExternal%2BUser&retURL=%2F00ei0000001V9u9 (https://na15.salesforce.com/setup/ui/profilerecordtypeedit.jsp?id=00ei0000001EYif&tid=01Ii0000001bces&pn=Chatter%2BExternal%2BUser&retURL=%2F00ei0000001V9u9)

Chatter Free User:
https://na15.salesforce.com/setup/ui/profilerecordtypeedit.jsp?id=00ei0000001EYie&tid=01Ii0000001bces&pn=Chatter%2BFree%2BUser&retURL=%2F00ei0000001V9u9

Chatter Moderator User
https://na15.salesforce.com/setup/ui/profilerecordtypeedit.jsp?id=00ei0000001EYid&tid=01Ii0000001bces&pn=Chatter%2BModerator%2BUser&retURL=%2F00ei0000001V9u9 (https://na15.salesforce.com/setup/ui/profilerecordtypeedit.jsp?id=00ei0000001EYid&tid=01Ii0000001bces&pn=Chatter%2BModerator%2BUser&retURL=%2F00ei0000001V9u9)
Mark RootMark Root
Great solution, Subbu!  You just saved me a ton of work recreating my object.  Thank you!!
Natalie GuntherNatalie Gunther
These instructions helped, but these were more helpful, as I forgot that the enhanced user profile MUST BE OFF! Also, I am doing this with the campaign record types and I relized I need to delete the associated PAGE LAYOUTS as well, so that they didn't show up as options when creating a new record.

Answer From: Ahmadou Traore
HI,

I succeded to change or desactivate any objet record type even if it is for a standard profile on salesforce. I used a solution named "URL Hack".

I emphasize that I make on "Master" my object. No record type for my object contact.

first step: the Enable Enhanced Profile User Interface checkbox in the User Interface must be deselected
Setup> Customize> User Interface> Setup Section> Deselect  Enable Enhanced Profile User Interface> Save

second step: search UrL record type object
1.Setup> Manage Users> Profiles> System Administrator> Navigate to Record Types> Click the Edit Link on the Object that you want to change the record type
So you will be at the Edit Record Type Settings Page for the Object.

2.Then Copy the URL from the adress bar on your browser and paste it into note
https://naX.salesforce.com/setup/ui/profilerecordtypeedit.jsp?id=xxxxxxxxxxxxxxx&tid=Contact&pn=System+Administrator&retURL=/xxxxxxxxxxxxxxx

Third step: find the record type ID
normally you cannot find this profile "Package License Manager" at the list of all profiles.
1. Please follow this click path
Setup>Customize>object("contact")>record types>choose and try to delete a record type
You'll have a message "This record type ... cannot be deleted because the following profiles use this record type as default"
The profile "Package License Manager" displaying, click on the profile.

2. Copy the 15 digit Salesforce Id from the URL in the Adress bar of your Browser yyyyyyyyyyyyyyy

Fourth step:  Replace the id in the Edit Record Type Settings Contact Page ( the first ID number right after the "jsp?id=" in the URL ) with the Id from Package License Manager

A.  https://naX.salesforce.com/setup/ui/profilerecordtypeedit.jsp?id=xxxxxxxxxxxxxxx&tid=Contact&pn=System+Administrator&retURL=/xxxxxxxxxxxxxxx

B. https://naX.salesforce.com/setup/ui/profilerecordtypeedit.jsp?id=yyyyyyyyyyyyyyy&tid=Contact&pn=System+Administrator&retURL=/xxxxxxxxxxxxxxx

xxxxxxxxxxxxxxx was replaced with yyyyyyyyyyyyyyy

Now take the modified Url and place it in the Adress bar of your browser and hit enter

Please Note: This will seem to have taken you to the System Administrator's edit page but you are in the right place. 

You will now be able to remove the value by highlighting it and selecting remove. Switch the Default record type to whatever you like and hit save.

All you need to do now is repeat this for any other Profiles in which it is necessary, then Deactivate and Delete the Record Type.

I hope that you'll understand the explanations and they'll contribute to help you. 

Best regards.

Ahmadou
"viva la vida"
David KassoufDavid Kassouf
Thank you Subbu,
 
I also had to disable the Enhanced Profile User Interface by deselecting the checkbox in the User Interface.
 
Setup> Customize> User Interface> Setup Section> Deselect  Enable Enhanced Profile User Interface> Save
 
Otherwise it throws up the following Error:

Insufficient Privileges
You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary. 



 
Dustin StricklerDustin Strickler
Thank you, friends. Great job!
Josh EkisJosh Ekis
My attempt at the URL hack also resulted in "Insufficient Priviliges".  Until, the enhanced profile interface was disabled.

Now, on the Chatter Profile's edit page (the hacked one), there is nothing at the bottom for changing record types.  When I do it un-hacked with Sys Admin, there's two long columns of picklists for record type defaults (what I want). 

Yes, I'm a standard sys admin with modify/view all data.  Yes, I pasted the correct Chatter profile ID into the edit page's URL.  I also pasted normal profile IDs into it and it showed the edit page properly with all of the choices.  No choices for the Chatter profiles.  

Has anyone succeeded in doing this post Spring '15?  (March 2015)


 
henri saslawskyhenri saslawsky
Hi Josh

I've done it ten minutes ago. It works. But I've got  the same error as you, because I haven't check the option in "set up interface". 

Regards
Mark RootMark Root
This URL hack does not seem to be necessary anymore and may not even work.  I just tried to use Subbu's solution above, having had this problem before, but the changes were not saved to the Profile.  I then noticed that I was able to left arrow the Record Type I was trying to delete and then right arrow the "Master" record type to make it the default.  Once I did this for all the profiles that needed updating, I was able to delete the unwanted Record Type.
Ludivine GaboriaudLudivine Gaboriaud
Thanks a lot Subbu it works :D
Samuel OberesSamuel Oberes
This works. Thanks.
Anne NuttallAnne Nuttall
This worked for me, thanks Subbu!  Only needed to change the last three characters of the ID.
David ChengDavid Cheng
Note: for the tid parameter, use the API name for standard objects, but for custom objects use the 15-character ID in the URL when you are at the main Setup page for the custom object 
Sys AdminSys Admin
I just tried this and it worked perfectly! Thanks for the tip.
Justin LaMontJustin LaMont
Worked great, thanks Subbu.
Manish KumarManish Kumar
@subbu Iyer Thanks a lot it solved my big issue
Sue NolinSue Nolin
This whole discussion was tremendously helpful. Thanks everyone!!!
Kaye WarrenKaye Warren
I have to agree! This helped me with my mess-up! Thank you to all contributors.
 
Christopher SweetChristopher Sweet
For the curious, the URL you want to hijack is: https://<your_sf_instance>/setup/ui/profilerecordtypeedit.jsp?id=<profile_id_you_want_to_update>&tid=Opportunity

So, for example, when I needed to remove an opportunity record type, I couldn't do so until I removed that RT as the default of a bunch of Standard profiles, including something like Chatter Free. I dropped the Id of that profile into that link and was brought to the Record Type Settings Edit page where I could make updates accordingly for that profile.
Rick UptonRick Upton
Thank you Christopher Sweet! Your simple solution enabled me to remove Donation as the default profile for Chatter External User, Chatter Free User, and Chatter Moderator User profiles. I had uninstalled the Nonprofit Success Pack following the instructions at https://powerofus.force.com/articles/Resource/NPSP-Uninstall but after following those instructions I found I still had a lot of manual cleanup left to do.
Amogh GhodkeAmogh Ghodke
Hi Charlie ,
First of all you need to get an URL with navigating 
Setup > Manage Users > Profiles > Click on System Administrator > Record Type Settings > Find Object Name > Click on Edit > Copy the URL which open up after clicking on Edit

The above URL appears as format given below : 

https://{instance}.salesforce.com/setup/ui/profilerecordtypeedit.jsp?id={profile ID}&tid={object name}&pn={Profile Name}&retURL=%2F{profile ID}

Then I replaced Profile Id and Profile Name in above URL with the same Chatter Profiles.(Profiles whose Record Type Settings are not visible)

It worked for me. This is really an Awesome URL Hack !!! 

Thanks & Regards,
Amogh B. Ghodke
​Pune, India

 
Rajiv KonetiRajiv Koneti
Hey Im not able to see record type setting in my profiles. 
Thanks in Advance
Joshua HoytJoshua Hoyt
I suggest you read the entire thread here: 
https://success.salesforce.com/answers?id=90630000000h2pXAAQ

Reiterating you have to turn off the "Enable Enhanced Profile User Interface" and note that finding that setting has changed over the years, and make sure you identify both the Profile ID of the Chatter profiles while that setting is turned OFF.  Also note the name of the Profile (and to proper take care of spaces in a name within url syntax language "Chatter%2BFree%2BUser" as an example).  I found this hack to be easier to execute while in Salesforce "Classic" view.
Rupert MarinRupert Marin
@Amogh Ghodke Thank you so much for posting this.  I had the exact same issue with the profile integration user which is by definition uneditable.  I simply copied your link, replaced the variables with my SF instance, the profile ID and the name "platform integration user" and it worked! Thanks much!
Eric ClayEric Clay
Yes, this still works. I used it to remove the integration user from Work Orders:

https://na1.salesforce.com/setup/ui/profilerecordtypeedit.jsp?id=<profile_id>&tid=WorkOrder

Awesome, thanks!
Courtney DavisCourtney Davis
Hi Everyone -

I don't have the ability to uncheck "Enable Enhanced Profile User Interface." Any suggestions?
Lucinda ChapmanLucinda Chapman
Thanks everyone for the info, I struggled with access to Platform Integration User profile until I discovered Joshua Hoyt's suggestion to collect all info from Classic!
Darrell DeVeauxDarrell DeVeaux
7 years later this is still the way to do this! Even after working with Salesforce for 10+ years, real easy to forget stuff like this or assume it's changed. I had 15 Profiles causing and issue and 20 min later fixed!

UPDATE: Doesn't look like the Profile name is needed. I don't know if you can actually take out that part of the URL, but I just replaced the ID each time and left junk in the name and it worked fine.
David PalmerDavid Palmer
🤦🏼‍♂️
Penelope GatlinPenelope Gatlin
This URL above works...if you get "Insufficient Priveleges" just ignore. Grab the Profile ID and create the link and it will work. https://mydomainname.my.salesforce.com/setup/ui/profilerecordtypeedit.jsp?id=00e1W000000p7C4&tid=Case - replace mydomain name, Profile ID, and Object Name. 
Juli PersicoJuli Persico
Just needed this now and still works like a charm in 2020!!! Thanks, Subbu!