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 Large Account Sales Management

          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.

          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 LASMSampleData.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. Deactivate the Standard Account Duplicate rule.
            1. From Setup, in the Quick Find box, enter Duplicate Rules and select it.
            2. Click Standard Account Duplicate Rule.
            3. Click Deactivate.
          4. Download ConsoleSampleData.cls, ConsoleSampleDataCreation.cls, and LASMSampleDataScript.cls. Then repeat Step 2 for the newly downloaded files.
          5. 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.
          6. 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();
          7. Click Execute.
          8. Activate the Standard Account Duplicate rule.
            1. From Setup, in the Quick Find box, enter Duplicate Rules and select it.
            2. Click Standard Account Duplicate Rule.
            3. Click Activate.
          9. 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