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
wintamutewintamute 

Issue deploying profiles of license type "Salesforce Platform"

Hi,

When creating new custom profiles in a sandbox via the browser, I can clone either license types "salesforce" or "salesforce platform" (when platform licenses are enabled that is).
However, when trying to deploy theses profiles to the production org with the IDE (or ant tool), they will be created as type "salesforce" and are not available for platform users. When looking at the profile in the IDE, there is no way to distinguish both types.

So instead of deploying them, I have to re-create them manually in the production org which is time consuming and error prone.

Is this expected behavior or a bug?

Thanks,
Andreas
WCzykinWCzykin

Hi,

 

You can try this workaround. It worked for me. First create the profile with the same name as the profile you are going to deploy but with the proper license. Then override it on deployment. It should keep the license settings and have the config you were deploying.

 

Regards

Wiktor

wintamutewintamute
Thanks for your reply. That's how I ended up doing it too since I couldn't find an other way of doing it.