public with sharing class LexVMcontractUsageRateNewController { @AuraEnabled public static String init(String recordId){ try { String reportId = [select Id from Report where DeveloperName ='VM_contract_bottun'].Id; return reportId; } catch (Exception e) { return e.getMessage(); // return e.getDmlMessage(0); } } }