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
Viru D.Viru D. 

Salesforce DX : development without scratch org / setup sandbox for development

I want to setup SFDX environment without scratch org that is pull all metadata from to local machine like ecplise and save it back with Ctrl + S.
here I was able to complete few steps but still not complete.

sfdx force:auth:web:login --setalias my-sandbox --instanceurl https://test.salesforce.com
sfdx force:mdapi:retrieve -r ./AllCode_APIZip -u my-sandbox -k src/package.xml
sfdx force:mdapi:deploy -c -f ../AllCode_APIZip/unpackaged.zip -u my-sandbox -w 10


I got the code on local machine but after clicking Ctrl + S, it is not saving to server. 
Thanks in advance.



 
SandhyaSandhya (Salesforce Developers) 
Hi,

If the code is not saving to server, then check if you are in online mode and also check whether Build Automatically is selected.

Refer to the below link for screenshots.

http://www.infallibletechie.com/2014/04/file-only-saved-locally-not-to-server.html
 
Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
                                             
Best Regards
Sandhya