This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Use below code snippet to Schedule Async Framework to run every 15 minutes and clear the queue | |
| //Scheduler Run every 15 mins | |
| AsyncApexFrameworkScheduler obj1 = new AsyncApexFramework(); | |
| AsyncApexFrameworkScheduler obj2 = new AsyncApexFramework(); | |
| AsyncApexFrameworkScheduler obj3 = new AsyncApexFramework(); | |
| AsyncApexFrameworkScheduler obj4 = new AsyncApexFramework(); | |
| System.schedule('AsyncApexFramework 1', '0 0 * * * ?', obj1); | |
| System.schedule('AsyncApexFramework 2', '0 15 * * * ?', obj2); | |
| System.schedule('AsyncApexFramework 3', '0 30 * * * ?', obj3); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { api, LightningElement, track, wire } from 'lwc'; | |
| import getContentDetails from '@salesforce/apex/ContentManagerService.getContentDetails'; | |
| import deleteContentDocument from '@salesforce/apex/ContentManagerService.deleteContentDocument'; | |
| import { NavigationMixin } from 'lightning/navigation'; | |
| const columns = [ | |
| { label: 'Title', fieldName: 'Title', wrapText : true, | |
| cellAttributes: { | |
| iconName: { fieldName: 'icon' }, iconPosition: 'left' | |
| } |