App Loaders: Difference between revisions

(Created page with "Application loaders are used to load auxiliary records to support the context definition. == Scheduler == To set up app loaders for the scheduler, go to Setup -> Custom Metadata -> Scheduler Loaders == Candidate App / Timesheeting / Terminal == To set up app loaders for the scheduler, go to Setup -> Custom Metadata -> Component Loaders == Object Name == The scheduler app loader follows the same pattern as the App Definition - you need to set the correct Object...")
 
 
Line 57: Line 57:
     filteringItems: function () {   
     filteringItems: function () {   
         return [
         return [
             `'${contextRecordId}'`,`'${contextRecord.Id}'`,
             //a function that must return an array of items - you can then use the array in the filterRecordsBy function, where the merge variable {0} will retrieve the first item from the array, {1} will retrieve the second and so on.
            events,
            fetchInfo,
            contextRecordId,
            contactUserId,
            userId,
            contextObjectName,
            contextRecord,
            contextUser
         ]
         ]
     }
     }