function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Karthika A 7Karthika A 7 

Tyring to fetch a new field from Scratch Org

Trying to fetch a new field I created from my Scratch Org (using the below command). It says "No results found".

sfdx force:source:retrieve -m CustomField:Activity.newFieldName

I also tried pull command and it is not fetching the new field
sfdx force;source:pull

Any suggestions please?
 
ShivankurShivankur (Salesforce Developers) 
Hi Karthika,

Please check out the thread below to understand about this:
https://salesforce.stackexchange.com/questions/275192/retrieve-custom-fields-from-standard-objects-using-sfdx-forcesourceretrieve

Hope above information helps. Please mark as Best Answer so that it can help others in future.

Thanks.