hardis:doc:fieldusage
Description
Retrieves custom field usage from metadata dependencies for specified sObjects.
!["Find custom fields usage"](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/doc-fieldusage.png)
Parameters
Name | Type | Description | Default | Required | Options |
---|---|---|---|---|---|
flags-dir | option | undefined | |||
json | boolean | Format output as json. | |||
sObjects -s |
option | Comma-separated list of sObjects to filter | |||
target-org -o |
option | undefined |
Examples
$ sf hardis:doc:fieldusage
$ sf hardis:doc:fieldusage --sObjects Account,Contact,Opportunity
$ sf hardis:doc:fieldusage --target-org myOrgAlias --sObjects CustomObject__c