dependencies-cli
dependencies-cli copied to clipboard
dependency:component:report doesn't know what object custom fields belong to
sfdx dependency:component:report -m -u "alias"
The resulting package.xml doesn't know what each object is:
<types>
<members>undefined.contact_email_header__c</members>
<members>undefined.email_last_modified_date__c</members>
...
<name>CustomField</name>
</types>
The --dev-debug logs don't seem to show anything unusual. This results in an unusable package.xml for retrieving packages/dependencies.
I will be happy to provide whatever extra information I can.
Versions:
Plugins: @salesforce/sfdx-diff 0.0.6 dependencies-cli 2.0.1 (link) salesforce-dx 49.6.1
Node: v12.18.3
Windows: 10.0.17134.1667 (64-bit)
Honorable mentions:
I had to install this via:
npm install --global dependencies-api
sfdx plugins:link $APPDATA/.../dependencies-cli/
@brianmfear This is a limitation of the MetadataComponentDependency tooling object. If you use sfdc-soup or HappySoup.io, both of all them will give you the object name in the package.xml for fields, validation rules, layouts, or any other metadata type that belongs to an object.
https://github.com/pgonzaleznetwork/sfdc-happy-soup https://github.com/pgonzaleznetwork/sfdc-soup