The goal of this app is to aid in tracking location cleanliness. This app consists of 2 code bases: our base package (data model and app) and our extension package (components that work with Command Center and triggers to keep data in sync)
Follow these steps to set up an org with our app
There are 2 ways that you can configure an org with our app. The first is by installing the base managed package and then the extension unmanaged package. The second is by pushing the master
branch from this repo into an org. In both cases, you will need to have an org with work.com enabled and the Command Center managed package installed. Follow the steps below to get up and running.
- Create new org with work.com enabled and Command Center managed package installed. Refer to this doc for instructions: https://salesforce.quip.com/UiuYAvbyZAKQ
- Run script to generate work.com data from WorkDotCom-Partners github (https://github.com/forcedotcom/WorkDotCom-Partners)
- Install our managed Building Maintenance Base package (https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5w000004Lpu3)
- Install our unmanaged Building Maintenance Extension package (https://login.salesforce.com/packaging/installPackage.apexp?p0=04t4S000000hXF3)
- Checkout
extension-master
branch and runsfdx force:apex:execute -f ./dx-utils/apex-scripts/convertData.apex
to create data for our objs from existing work.com data - Clone Command Center page and drag Location Cleaning, Employee Risk by Location, and Clean Status by Floor Components onto the page and save
- (Optional) Drag Reset Cleaning Data componenent onto page to reset cleaning records for floors
- Create new org with work.com enabled and Command Center managed package installed. Refer to this doc for instructions: https://salesforce.quip.com/UiuYAvbyZAKQ
- Run script to generate work.com data from WorkDotCom-Partners github (https://github.com/forcedotcom/WorkDotCom-Partners)
- Checkout
master
branch and push to your scratch org - Run
sfdx force:apex:execute -f ./dx-utils/apex-scripts/convertData.apex
to create data for our objs from existing work.com data - Clone Command Center page and drag Location Cleaning, Employee Risk by Location, and Clean Status by Floor Components onto the page and save
- (Optional) Drag Reset Cleaning Data componenent onto page to reset cleaning records for floors