Skip to content

Installation

Ethan Dunzer edited this page May 22, 2024 · 6 revisions

To install the ScheduledMaintenanceComponent into a developer org, follow these steps:

1. Clone the Repository:

git clone https://github.com/your-repo/scheduled-maintenance-component.git
cd scheduled-maintenance-component

2. Authorize Your Salesforce Org in vscode:

sfdx force:auth:web:login -a DevOrg

3. Deploy Apex Classes:

sfdx force:source:deploy -p force-app/main/default/classes

4. Deploy LWC Components:

sfdx force:source:deploy -p force-app/main/default/lwc

5. Deploy Custom Objects and Fields:

sfdx force:source:deploy -p force-app/main/default/objects

6. Deploy Permission Sets:

sfdx force:source:deploy -p force-app/main/default/permissionsets

7. Deploy Lightning Pages:

sfdx force:source:deploy -p force-app/main/default/flexipages

8. Assign Permission Sets:

  • Navigate to Setup > Permission Sets
  • Find Object - Scheduled Maintenance - Level 1 and assign that permission to every user you want to see the alert.

9. Add the Component to a Lightning Page:

  • Navigate to Setup > Lightning App Builder.
  • Create a new Lightning page or edit an existing one.
  • Drag and drop the ScheduledMaintenanceComponent onto the page.
  • Save and activate the page.

You have now successfully installed and configured the ScheduledMaintenanceComponent in your Salesforce developer org. Now all you have to do is add the object tab to a app of your choice and start creating records.

Clone this wiki locally