You are here:
Deploy Sample Data for Large Account Sales Management
Deploy sample data to test the features of Large Account Sales Management in your org.
Before you begin, you must create at least two Sales Agent users and one Team Lead user in your org. See Configure Permissions for Large Account Sales Management Users.
- Download LASMSampleData.cls file.
-
Create new Apex Classes.
- Go to Setup.
- In the Quick Find box, search for Apex Classes, then click Apex Classes.
- Click New.
- Copy the code from the CLS file on your system and paste it in the Apex Class window.
- Click Save.
- Enter the filename of the CLS file as the name of the new Apex Class.
-
Deactivate the Standard Account Duplicate rule.
- From Setup, in the Quick Find box, enter Duplicate Rules and select it.
- Click Standard Account Duplicate Rule.
- Click Deactivate.
- Download ConsoleSampleData.cls, ConsoleSampleDataCreation.cls, and LASMSampleDataScript.cls. Then repeat Step 2 for the newly downloaded files.
-
Open an anonymous window in developer console.
- Click Setup, then click Developer Console.
- In the Developer Console, click Debug, then click Open Execute Anonymous Window.
-
If the sample data for Contact Center Console already exists in the same org, paste the code snippet in the anonymous window:
LASMSampleDataScript.setupLASMData();If the the sample data for Contact Center Console does not exist in the org, paste the code snippet in the anonymous window:LASMSampleDataScript.setupConsoleAndLASMData(); - Click Execute.
-
Activate the Standard Account Duplicate rule.
- From Setup, in the Quick Find box, enter Duplicate Rules and select it.
- Click Standard Account Duplicate Rule.
- Click Activate.
-
Delete classes from the org.
- Go to Setup.
- In the Quick Find box, search for Apex Classes, then click Apex Classes.
-
Delete the classes you created from the Apex Classes list.
You must delete the classes in reverse order of creation.

