1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| public with sharing class LexBTReportController {
| public LexBTReportController() {
|
| }
|
| @AuraEnabled
| public static String init(String recordId){
| try {
| Campaign c=[select CampaignStatus__c from Campaign where id = :recordId];
| return c.CampaignStatus__c;
| }
| catch (Exception e) {
| System.debug('LexBTReportController init error:'+e.getMessage());
| }
| return null;
| }
| }
|
|