Pulls a user's currently open tasks and displays them in a 1-week view as a Lightning Web Component. Includes tiny Apex class to pull user's tasks.
Uses FullCalendarJS: https://fullcalendar.io/
Adapted from: https://github.com/jh-salesforce-dev/lwcCalendar
Opens tasks on click in Sales Console tabs.
I'm writing this section in 5 minutes, not that it should only take you 5 minutes.
- Clone this repo to your machine and open in VS Code.
- Modify the TestTaskController Apex test class to use a RecordTypeId associated with Tasks in your org.
- If you use Sandbox to Production deployments, use the command
SFDX: Authorize an Orgselect Sandbox and input a URL for a Sandbox connected to your Production org. If you use scratch orgs or something more fancy, you probably don't need to be reading these directions. - Right-click the force-app folder in VS Code and select
SFDX: Deploy Source to Org - Run the Apex tests either in the Sandbox web interface (
SFDX: Open Default Org) or from VS Code (SFDX: Invoke Apex Tests...) - Fix any errors that came up in VS Code, redeploy code and retest.
- Place the component on any Lightning page you'd like, such as the home page. Make changes as desired, repeat 4-6.
- Open the web interface for the Sandbox (
SFDX: Open Default Org), open Setup and search for Outbound Change Sets in the quick find box. - Build your change set(s), upload to production.
- In your production system, open Setup and search for Inbound Change Sets in the quick find box. Validate and deploy the change sets.
Feel free to raise an issue here and we'll do our best to provide guidance, time allowing.
This repository is open to pull requests, especially for Hacktoberfest. Want to add functionality? Want to flesh out the deployment instructions? Have another idea? Welcome!
