Skip to content

Instantly share code, notes, and snippets.

@marshallvaughn
Created September 9, 2020 22:05
Show Gist options
  • Save marshallvaughn/b1b67cc3e07f8ad7ca41117450e1cbe8 to your computer and use it in GitHub Desktop.
Save marshallvaughn/b1b67cc3e07f8ad7ca41117450e1cbe8 to your computer and use it in GitHub Desktop.
sdfx — Field / Object Definition Cookbook
sfdx force:data:soql:query -q "SELECT DataType, QualifiedApiName FROM FieldDefinition WHERE EntityDefinitionId = '$_OBJECTID'" -t
sfdx force:data:soql:query -q "SELECT Id FROM CustomObject WHERE DeveloperName = '$_OBJECTNAME'" -t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment