Set Up Your Work.com Development Org
Use the following steps to enable the Work.com data model in your development org.
-
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.
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 } } }
- 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.
- 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.