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
janirjanir 

Salesforce DX, object metadata

Hi,

The problem:
1. Create scratch orgs, create field in Account, pull down changes -> all fields are pulled
2. Deploy dx project to sandbox -> a lot of errors about some new standard fields in Account that can not be deployed (for example CleanStatus)
3. Remove fields from object metadata, deployment OK
4. Add new field to scratch org, pull down changes, all the account fields are downloaded again

Question:
Is it possible to pull only the changed field not all
Is it possible to create the scratch orgs based on some sandbox configuration (so that we don't have the additional standard fields) ?
Or is it possible to remove the fields any other way ?

-Jani