Closed w-andre closed 7 months ago
We are trying to validate importing CPQ data into scratch orgs during our CI pipeline. For our products we need to configure CPQ for the import to work (e.g. evergreen subscriptions product can only be created if it is enabled in the CPQ settings).
We noticed that we do not have an existing access token during our CI pipeline. This PR fixes this by ensuring that we have an access token before opening the Frontdoor Url. The new method is "inspired" by the following one from the official Salesforce plugin plugin-org: https://github.com/salesforcecli/plugin-org/blob/3bea8d5ac413b01232384122748722d87ae0f0a2/src/commands/org/open.ts#L142
plugin-org
Hi @FabienTaillon, I just wanted to check if you need any additional information regarding this PR?
André
Thank you !
We are trying to validate importing CPQ data into scratch orgs during our CI pipeline. For our products we need to configure CPQ for the import to work (e.g. evergreen subscriptions product can only be created if it is enabled in the CPQ settings).
We noticed that we do not have an existing access token during our CI pipeline. This PR fixes this by ensuring that we have an access token before opening the Frontdoor Url. The new method is "inspired" by the following one from the official Salesforce plugin
plugin-org
: https://github.com/salesforcecli/plugin-org/blob/3bea8d5ac413b01232384122748722d87ae0f0a2/src/commands/org/open.ts#L142