6

How do I push and pull changes to a Developer Org using Salesforce DX CLI?

When I used this command:

sfdx force:source:pull

I get this error:

ERROR: MemberName, IsNameObsolete FROM SourceMember WHERE RevisionNum

ERROR at Row:1:Column:52
sObject type 'SourceMember' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.

2 Answers 2

8

Winter 19 release has pilot commands to help with non scratch orgs.

You will need sfdx client pre release plugin installed to try .

The commands are

sfdx force:source:retrieve -- retrieves metadata from the org using package.xml or metadata folder or comma separated list of metadata 

sfdx force:source:deploy -- deploy metadata to the non scratch org

To get started follow the instructions here

Install the Pre-Release Version of the CLI

sfdx plugins:install salesforcedx@pre-release

Make sure that you have the pre-release version.

sfdx plugins --core

salesforcedx 44.0.1-xx

When the plugin is officially released v44 in mid October 2018, uninstall the pre-release version, then run the update command.

sfdx plugins:uninstall salesforcedx

sfdx update
5
  • 2
    That's good to know. It'll make migration a lot easier.
    – sfdcfox
    Sep 1, 2018 at 23:55
  • Do these commands in the pilot version work with v43 orgs, or only v44 pre-release?
    – Charles T
    Sep 2, 2018 at 0:59
  • All the orgs .It's based on metadata api .Org does not matter Sep 2, 2018 at 1:07
  • @MohithShrivastava how do I access the pilot?
    – Robs
    Sep 4, 2018 at 13:37
  • 1
    Updated the answer .Please check !!! Sep 4, 2018 at 15:34
3

force:source:pull is used to pull from scratch org only.

To 'pull' from developer org you need to use metadata API.

Use the force:mdapi:retrieve command.

For more info:

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .