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
Varun99Varun99 

add profiles to unmanaged package

Hi,

 

      How to achieve this?

 

                      I want to add custom profiles(salesforce licence)  unmanaged package when i uploaded package will show profiles in components. But when in install package in other organization profiles will not appear.

am checking my Developer account. Is there any limits for developer account? adding profilesetting to package it will display one note like:

 

NOTE: Profile Settings include object permissions, field-level security, and layouts, that map to the installer's selected profiles during installation. The profile itself will not be installed.  

 

 

any one suggest any idea?

 

Thank you

Best Answer chosen by Admin (Salesforce Developers) 
Ashish_SFDCAshish_SFDC

Hi Varun99,
Profiles cannot be directly included in a Package, Please see the link below for the list of available components that can be included in the package.
https://help.salesforce.com/apex/HTViewHelpDoc?id=packaging_packageable_components.htm&language=en_US
However, we can match existing profiles to grant permissions by – “Profile Settings”. Profile settings are applied to existing profiles.
You can use permission sets or profile settings to grant permissions and other access settings to a package. When deciding whether to use permission sets, profile settings or a combination of both consider the similarities and differences.
For detailed description on Permisison Sets and Profile Settings, see the link below,
https://help.salesforce.com/apex/HTViewHelpDoc?id=distribution_perm_sets_profile_settings.htm&language=en_US

Regards,
AshishSalesforce.com
If this reply answers your question, please mark this post as Solved.