Set Up Your Work.com Development Org

To develop and test your Work.com solution, you need an org with Work.com enabled. You can use a Partner Developer Edition org or a scratch org.

Use the following steps to enable the Work.com data model in your development org.

  1. If you’re using a new Partner Developer Edition org created from the Environment Hub in Partner Business Org, the Work.com add-on feature should be enabled by default. Contact Salesforce if the add-on feature is not enabled in your Partner Developer Edition org.

    To add a Work.com permission set license to an existing Partner Developer Edition org, log a case for a license request in the Partner Community (Partner Community login required).

    Note

    If you’re using a scratch org, enable the “WorkplaceCommandCenterUser”, “Communities”, and “ForceComPlatform” add-on features. To use Workplace Command Center in your scratch org, enable Surveys and Communities settings. For example, your scratch org scratch-def.json configuration file might look like:

    {
      "orgName": "my company",
      "edition": "Enterprise",
      "features": [
        "Communities",
        "WorkplaceCommandCenterUser",
        "ForceComPlatform"
      ],
      "settings": {
        "lightningExperienceSettings": {
          "enableS1DesktopEnabled": true
        },
        "surveySettings": {
          "enableSurvey": true
        },
        "communitiesSettings": {
          "enableNetworksEnabled": true
        }
      }
    }
  2. For Workplace Command Center development, install both the Workplace Command Center and Wellness Check packages (org login required).

    For Employee Workspace development, install the Employee Workspace package.

  3. For Workplace Command Center development, create and assign the Workplace Command Center permissions in your org. To create all the permission sets and permission set groups for all Workplace personas, use the Update Permissions option from within the Command Center Settings tab. Then assign your user the permission set group called Workplace Admin Access Group.

    For information on Employee Workspace users and permissions, see Meet the Employee Workspace Personas.

We provide an example script that sets up a scratch org for Work.com. See https://github.com/forcedotcom/WorkDotCom-Partners/blob/master/orgInit.sh.

For a more streamlined setup process, create a scratch org and use the Work.com installer service to add and partially configure the Workplace Command Center, Wellness Check, or Employee Workspace packages in your org. For reference, see Verify Command Center and Wellness Check Installation and Auto-Configuration or Verify Employee Workspace Installation and Auto-Configuration.

Note