You need to sign in to do that
Don't have an account?

SFDX Scratch Org and Permission Set License
For our project, we've setup Campaign Influence for Lightning Experience, which enables the CampaignInfluence2 object in the org.
To access this object, even as a System Admin deploying layout changes, the user seems to need the "Sales User" or "CRM User" permission set license, then a permission set enabling "Campaign Influence".
In my scratch org, I don't see either of these Permission Set Licenses available.
How can I access CampaignInfluence2 in a scratch org?
To access this object, even as a System Admin deploying layout changes, the user seems to need the "Sales User" or "CRM User" permission set license, then a permission set enabling "Campaign Influence".
In my scratch org, I don't see either of these Permission Set Licenses available.
How can I access CampaignInfluence2 in a scratch org?
When you create SFDX Scratch Org you will need to include the SalesUser. The easy way is to add SalesUser in Features, see the example below: Find more information about same here : https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_def_file_config_values.htm