• Prashant Hirapara 3
  • NEWBIE
  • 10 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
I have a large existing metadata from an org which we want to convert it to SF DX project. So far we have successfully converted the metadata from an existing org to the SF DX Project structure .

When i push the code to Scratch Org I am getting tons of issues and a lot of them are pointing to enabling Account & Opportunity Team Settings as shown below.
AccountTeamMember error in scratch org.

If i manually enable this in Scratch Org and push the code thereafter it works fine. However my goal is to automate these with Continous Integration where we will be creating the Scratch Org on the fly and pushing the existing metadata to it.
 
I have a large existing metadata from an org which we want to convert it to SF DX project. So far we have successfully converted the metadata from an existing org to the SF DX Project structure .

When i push the code to Scratch Org I am getting tons of issues and a lot of them are pointing to enabling Account & Opportunity Team Settings as shown below.
AccountTeamMember error in scratch org.

If i manually enable this in Scratch Org and push the code thereafter it works fine. However my goal is to automate these with Continous Integration where we will be creating the Scratch Org on the fly and pushing the existing metadata to it.
 
Hello,

Yes, I've read the basic stup instructions.

https://help.salesforce.com/HTViewHelpDoc?id=teamselling_opp_splits_enable.htm&language=en_US

My question is around whether this same task can be done through the metadata and deployment?

I gather once it is enabled new splits can be inserted via scripts, but the initial turning the feature on, is likely this manual admin task.  Best I can tell.  Looking for insight.

Thanks!,
Joseph