You are here:
Deploy Apex Classes
Deploy the Apex Classes from the SFDX datapack.
Before you begin:
-
For orgs that use Standard OmniStudio Content and Runtime extract EUC_LASM_OSRT_Sfdx_Datapacks to the LASM_SFDX folder. Create the folder if it doesn't already exist.
-
For orgs that use Standard OmniStudio Content, extract EUC_LASM_Sfdx_Datapacks to the LASM_SFDX folder. Create the folder if it doesn't already exist.
-
For each folder, create the file sfdx-project.json which contains the following code:
{ "packageDirectories": [ { "path": "salesforce_sfdx", "default": true } ], "namespace": "", "sfdcLoginUrl": "https://login.salesforce.com", "sourceApiVersion": "59.0" } -
Move the package.xml file from salesforce_sfdx/main/default to the LASM_SFDX folder.
- Open LASM_SFDX in Visual Studio Code.
- Authenticate your org if you have not already done so. See Prepare Your Org for Large Account Sales Management Static Resources.
-
Deploy the components in the Classes folder from to your target org.
-
In VSCode, in the left panel, right-click the salesforce-sfdx folder.
For Mac devices, CMD + click the salesforce-sfdx folder.
-
Click SFDX: Deploy Source to Org.
If deployment fails for any component, select the components that failed and deploy them individually.
-
In VSCode, in the left panel, right-click the salesforce-sfdx folder.
If you encounter errors deploying the SFDX datapacks, see Troubleshoot Large Account Sales Management.
After all datapacks are deployed, perform post-deployment steps. See Perform Post Deployment Steps Large Account Sales Management.

