Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class AccountReadOnlyCtr {
- @AuraEnabled
- public static string fetchAccountRecordForDisplay() {
- Account obj = [Select name, annualrevenue, phone, fax, description from Account where Name='ABC' limit 1];
- return JSON.serialize(obj);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement