diff --git a/dlrs/main/classes/RollupEditorController.cls b/dlrs/main/classes/RollupEditorController.cls index fd399dcd..f45ee30f 100644 --- a/dlrs/main/classes/RollupEditorController.cls +++ b/dlrs/main/classes/RollupEditorController.cls @@ -120,6 +120,27 @@ public with sharing class RollupEditorController { } } + @AuraEnabled(cacheable=true) + public static String getManageTriggerPageUrl(Id rollupId) { + PageReference pageRef = Page.managetriggermdt; + pageRef.getParameters().put('id', rollupId); + return pageRef.getUrl(); + } + + @AuraEnabled(cacheable=true) + public static String getFullCalculatePageUrl(Id rollupId) { + PageReference pageRef = Page.rollupcalculatemdt; + pageRef.getParameters().put('id', rollupId); + return pageRef.getUrl(); + } + + @AuraEnabled(cacheable=true) + public static String getScheduleCalculatePageUrl(Id rollupId) { + PageReference pageRef = Page.rollupscheduledcalculatemdt; + pageRef.getParameters().put('id', rollupId); + return pageRef.getUrl(); + } + private static Map> collectErrors(RollupSummary rollup) { Map> errorMap = new Map>(); if (rollup.Error != null) { diff --git a/dlrs/main/lwc/manageRollups/manageRollups.html b/dlrs/main/lwc/manageRollups/manageRollups.html index 0e4b4764..03f3fd2c 100644 --- a/dlrs/main/lwc/manageRollups/manageRollups.html +++ b/dlrs/main/lwc/manageRollups/manageRollups.html @@ -1,6 +1,12 @@