Skip to content

Instantly share code, notes, and snippets.

@sfdcale
Created January 18, 2020 04:32
Show Gist options
  • Select an option

  • Save sfdcale/1b3c0f3a6ef9c8ece9a0fff71232e08a to your computer and use it in GitHub Desktop.

Select an option

Save sfdcale/1b3c0f3a6ef9c8ece9a0fff71232e08a to your computer and use it in GitHub Desktop.
Print formulas for a given Salesfroce object
sfdx force:schema:sobject:describe --sobjecttype=Foo_A__c --targetusername=dev --json | jq '.result.fields[]' | jq 'select(.calculatedFormula != null)' | jq '.name'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment