Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Energy & Utilities Cloud
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Deploy Sample Data for Contact Center Console

          Deploy Sample Data for Contact Center Console

          Deploy sample data to test the features of Contact Center Console in your org.

          Note
          Note You must run the scripts in the sequence shown, and allow one script to complete before you execute other scripts. You must also run the scripts only once in an org.
          1. Download ConsoleSampleData.cls file.
          2. Create new Apex Classes.
            1. Go to Setup.
            2. In the Quick Find box, search for Apex Classes, then click Apex Classes.
            3. Click New.
            4. Copy the code from the CLS file on your system and paste it in the Apex Class window.
            5. Click Save.
            6. Enter the filename of the CLS file as the name of the new Apex Class.
          3. Download ConsoleSampleDataCreation.cls, then repeat Step 2 for the newly downloaded file.
          4. Open an anonymous window in developer console.
            1. Click Setup, then click Developer Console.
            2. In the Developer Console, click Debug, then click Open Execute Anonymous Window.
          5. Paste the code snippet in the anonymous window: ConsoleSampleDataCreation.createRecords();
          6. Click Execute.
          7. Delete classes from the org.
            1. Go to Setup.
            2. In the Quick Find box, search for Apex Classes, then click Apex Classes.
            3. Delete the classes you created from the Apex Classes list.
              You must delete the classes in reverse order of creation.
           
          Loading
          Salesforce Help | Article