-
Notifications
You must be signed in to change notification settings - Fork 2
Installation
Ethan Dunzer edited this page May 22, 2024
·
6 revisions
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. - Find
Object - Scheduled Maintenance - Level 6
and assign to any admin or user you want to have control over this components record based functionality.
9. Add the Component to a Lightning Page:
- Navigate to an existing lighting page or create a new one.
- Drag and drop the
ScheduledMaintenanceComponent
onto the page. - Add an App context value if applicable to the lighting page.
- Save the page.
10. Change Applicable Apps values:
- Navigate to Setup > Objects > Scheduled Maintenance
- Go to Fields and select Applicable Apps
- Add/Remove the values that are applicable to your ORG. Do Not Remove 'System' unless you dont want to use that functionality
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.