Happy Business Starts Here

Guru

DX with Zuora managed packages

Have any developers on here used Salesforce DX process to build scratch orgs with the Zuora managed packages installed?

 

Any advice or tips or war stories?

Maggie Longshore
16 REPLIES 16
Support SME

Re: DX with Zuora managed packages

Hi Maggie,

 

I am going to check with our internal GS forum on your question and will invite them here to share their experience, if any

 

Thank you

Doyeli






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Guru

Re: DX with Zuora managed packages

Awesome.

Maggie Longshore
Support SME

Re: DX with Zuora managed packages

Sorry @MaggieL i have not heard back from the field on this.

Have you tried this already and faced any issue that we can review?

 

Doyeli






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Guru

Re: DX with Zuora managed packages

No I have not had the time to try it yet. I will comment when I do.

Maggie Longshore
Support SME

Re: DX with Zuora managed packages

Thank you Maggie.






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Zuora Support Moderator

Re: DX with Zuora managed packages

@MaggieL - I was curious if you ever got this working.



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Guru

Re: DX with Zuora managed packages

I have not attempted it yet.  I was hoping someone else would lead the way before I commit too much time for it.

 

Once we get up on the latest Zquotes release I should have time to try it.

Maggie Longshore
Guru

Re: DX with Zuora managed packages

This has also been on my list of things to try. I'll let everyone know as soon as I have a chance to dive into it more.

Guru

Re: DX with Zuora managed packages

I have spent more time exploring this now and thought I would share a bit

.

I have been able to create a scratch org then install the Zuora packages.

I created a basic test class to see if code would compile that references the packages.

Compiling worked.  However, I was unable to create a Zuora.zObject in my test because of the dreaded 

 

"Zuora.zAPIException: Please upload Zuora WSDL at first."

 

We are going to need to know from zuora @nathanc how to script the configuration of Zuora for the scratch org.

Can loading a wsdl be scripted?

I do not know which configurations will need to be in place in order for all of my tests to run as they do in my sandbox and any other dependencies that may be needed.

 

I used VisualStudioCode with the Salesforce DX extensions installed

 

To create the org use the following:

sfdx force:org:create -s -f config/project-scratch-def.json -a  scratchOrgNameHere

Run the following to get the package versions that you need to install in the scratch org. Use the devhub alias for production or the username for sandbox.

 

sfdx force:package:installed:list -u name@domain.com.sandboxname > installedList.txt

 

Find the Id's in the column labeled PACKAGE VERSION ID'' and substitute in the following.

sfdx force:package:install -i 04t40000000xxxxxxxx  -u scratchOrgNameHere -w 15
sfdx force:package:install -i 04t80000000yyyyyyyy  -u scratchOrgNameHere -w 15 

Then you can launch your org and continue

Maggie Longshore