Delete or Deactivate Record Types via URL Hacking

Have you ever encountered this Error while deleting or deactivating a Record Type?


While Creating or Assigning Record Types, sometimes the Salesforce Administrators set that as Default Record Type for some profiles which actually don’t have access to that Object.

Record Type Assignment

Certain Profiles like the Chatter Only User, Chatter Free User etc can be assigned Record Types but cannot be removed by clicking an edit link in the Record Type Section of the Profile. This prevents Record Types from being deleted. In order to remove the record type from the Profile, a URL Hack must be performed.
 Solution Steps:
1. First of all, 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

2. Now, Go to Setup> Manage Users> Profiles> System Administrator> Navigate to Record Types> Click the Edit Link on the Object (whose Record Type you want to Deactivate/Delete)

3. Copy the URL from the address bar on your browser and paste it into Notepad. It will be something like this:
4. Go to Setup> Manage Users> Profiles> Chatter Free User (the Profile on which it is set as Default Record Type)
Copy the 15 digit Salesforce Id from the URL in the Address bar of your Browser:
5. Now you have to replace the id in the Edit Record Type Settings Account Page ( the first id number right after the “jsp?id=” in the URL ) with the Id from the Chatter Free User.
Should now look like this:
Basically xxxxxxxxxxxxxxx is replaced with yyyyyyyyyyyyyyy.
6. Now take the modified URL and place it in the Address bar of your browser and hit enter.
7. 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.
8. Repeat the above steps for other Profiles in which it is necessary (if there is any). Then you will be able to Deactivate and Delete the Record Types.
Let me know in the comments below if you have accomplished this in a different manner.

Cleared Salesforce Administrator Certification- Sharing Experience

Today I have cleared Salesforce Administrator Certification (ADM 201).


If you are also planning to do the same, I would suggest you to download the study guide from here and follow the same. Find each and every topic on Salesforce Help and watch salesforce training videos.

Secondly, set up an Admin Playground or a Developer Edition org and try it out.  You will learn how these features work much better that way. You can also learn about Salesforce features using Trailhead.

Thirdly, I would recommend to focus all your effort for the next few days on Relationship types in Salesforce, Workflow Rule considerations and Sharing/Security in Salesforce. These topics will cover almost 50% of the exam questions.

Don’t miss to watch the video series  Who Sees What


  • Read every topics of Study Guide minutely from Salesforce help & training.
  • Follow the study guide, it’s quite enough.
  • If you don’t know the right answer, no worries; search for the wrong one, it will clear off your confusion.
  • Practice these things in Trailhead. It is the best way for preparation of the certification exams. Keep trailing.

Wish you Good Luck!