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