Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save shanerk/7aa7f6646ef262d25abe073aef0d6bc2 to your computer and use it in GitHub Desktop.
Save shanerk/7aa7f6646ef262d25abe073aef0d6bc2 to your computer and use it in GitHub Desktop.
Description:
These profiles are not supposed to be accessible as they are used for App Exchange packages.
When you go to the Package License Manager profile as an Org Admin, it tells you that you don't have sufficient privileges to change that profile.
But the page we really need to get to is the Profile Record Type edit page.
It doesn't make the same check on that page, so it's possible to build the URL directly.
For example, build this URL
http://instance.salesforce.com/setup/ui/profilerecordtypeedit.jsp?id=ProfileID&tid=Object&pn=RecordTypeName
Instance is the instance the customer is on (SSL, NA1-5, AP, EMEA). You just need to set the ProfileID to the profile ID of the Packaging License Manager (or System Administrator) and the Object to the name of the object (ie Contact, Account or the ID of the object). This then allows you to set the record type to whatever they want the default to be. Then they have the ability deactivate & delete the record type that they could not delete before.
For example:
https://emea.salesforce.com/setup/ui/profilerecordtypeedit.jsp?id=00e20000000taQq&tid=Contact&pn=Package+License+Manager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment