You are here:
Deploy Sample Data for Contact Center Console
Deploy sample data to test the features of Contact Center Console in your org.
- Download ConsoleSampleData.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.
- Download ConsoleSampleDataCreation.cls, then repeat Step 2 for the newly downloaded file.
-
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.
-
Paste the code snippet in the anonymous window:
ConsoleSampleDataCreation.createRecords(); - Click Execute.
-
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.

