function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
magdamagda 

add Profil in package

Hi,

I want to add customers Profiles in my package. But in the "Add to package View" they are not available. Some of Customer Profiles are available, but not the Profil Setting I want to add to the package.

Do you have an Idea why?


Thx

Magda

sebascansecosebascanseco

Took me a while to figure it out but here's the solution:

IN YOUR DE ORG:
---------------
1. Clone Standard Platform User profile (because is the one that has the Salesforce Platform license) and name it something meaningful like MyApp_Profile

2. Customize MyApp_Profile to match your desired access level for the users that will test or use your app

3. Add custom profile settings MyApp_Profile to the package

4. Go ahead an finish the package


IN THE TEST_ORG (OR YOUR_CUSTOMER_ORG):
---------------------------------------
5. Pre-create a profile by cloning the Standard Platform User profile and name it something meaningful like MyApp_TestProfile

6. Assign MyApp_TestProfile to a user

7. Install the package and on Step 2 (Choose security level) of the wizard you have to select the third option (Select security settings)

8. Under "Customize security" section make sure the MyApp_TestProfile (created on step 5) has the MyApp_Profile assigned (created on step 1)

9. Finish the Package installation

10. Log to the test or customer org with the user that has the MyApp_TestProfile assigned and choose your App from top right menu.

11. You're welcome!

I hope this solves your issue too!