/********************************************************************** * * * @url: /services/apexrest/rest * @data: * { } *************************************************************************/ global with sharing class FinLibraryButtonController { @AuraEnabled public static Bulletin_Board__c getBulletinBoard(String recordId){ Bulletin_Board__c res=new Bulletin_Board__c(); try { res=[select iPad_Finlibrary__c from Bulletin_Board__c where Id=: recordId]; } catch (Exception e) { System.debug(Logginglevel.info,'*******e'+e); } return res; } }