Profiles Clone

In my organization , there are some profiles with salesforce license . Now,  the same profiles need to assign it to community users. Salesforce doesn’t support changing the license type in profile. Once the profile is created with salesforce license , we can’t change the license type in profile.
Now, we can’t configure manually each and every permission in new profile for community users. It will take days to configure manually. Is there any automation to do ???

Yes. We can achieve this with ANT Tool(Meta data API)


Steps to Create new profiles with different license

    1) Go to “Sfdctoolkit.com” and generate package.xml with all components in the organization.
    2) Extract all the organization meta data.
    3) Go to extracted Meta data folders and open “Profiles” Folder.
    4) open the particular profile and change the user license to “Community”

From:
<userLicense> Salesforce</userLicense>

To:
 <userLicense>Customer Community</userLicense>
    5) Rename the file and deploy back in to the organization.

That’s it . You will get all the permissions like as other profile and license will be Community.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s