You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOTE: If your issue is not reproducable by dreamhouse-lwc, i.e. requires specific metadata or files, we require a link to a simple Salesforce project repository with a script to setup a scratch org that reproduces your problem.
Create a Custom Object named 'TestObject'
Create a Custom field on TestObject named TestField type Text(255)
Create a deployment package and name it 'TestRetrieve'.
Click Add custom field 'TestField' to package.
Click Add custom object 'TestObject'
run sfdx force:source:retrieve -n "TestRetrieve" -u <YourOrgUserName>
CD into TestRetrieve\main\default\objects\TestObject__c\
Expected result
Describe what should have happened.
Expected directory 'TestObject__c' to contain a fields folder with a field definition metadata file called 'TestField__c.field-meta.xml
Actual result
Describe what actually happened instead.
TestObject__c directory just contains TestObject__c.object-meta.xml
and no field files or any other sub files.
Additional information
Feel free to attach a screenshot.
SFDX CLI Version(to find the version of the CLI engine run sfdx --version): sfdx-cli/7.74.1 wsl-x64 node-v14.11.0
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)
OS and version: Windows 10 version 1909 Build 18363.1082 running sfdx under WSL 2 Ubuntu 20.04
The text was updated successfully, but these errors were encountered:
Summary
Short summary of what is going on or to provide context.
Steps To Reproduce:
Repository to reproduce: dreamhouse-lwc
NOTE: If your issue is not reproducable by dreamhouse-lwc, i.e. requires specific metadata or files, we require a link to a simple Salesforce project repository with a script to setup a scratch org that reproduces your problem.
sfdx force:source:retrieve -n "TestRetrieve" -u <YourOrgUserName>
Expected result
Describe what should have happened.
Expected directory 'TestObject__c' to contain a fields folder with a field definition metadata file called 'TestField__c.field-meta.xml
Actual result
Describe what actually happened instead.
TestObject__c directory just contains TestObject__c.object-meta.xml
and no field files or any other sub files.
Additional information
Feel free to attach a screenshot.
SFDX CLI Version(to find the version of the CLI engine run sfdx --version): sfdx-cli/7.74.1 wsl-x64 node-v14.11.0
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)
OS and version: Windows 10 version 1909 Build 18363.1082 running sfdx under WSL 2 Ubuntu 20.04
The text was updated successfully, but these errors were encountered: