Created
May 28, 2020 13:12
-
-
Save toddhalfpenny/be8d23a2253e8ec531280596b0f3e0d5 to your computer and use it in GitHub Desktop.
SFDX list custom fields names
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Lists field names for all custom fields for a specificed Salesforce object | |
sfdx force:schema:sobject:describe -s <OBJECT_API_NAME> -u <ORG_ALIAS> --json | q -r '.result.fields[] | select(.custom == true) .name' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment