How can I export a report as a CSV/Excel file and send the report as Email Attachement using Apex Class? We can send the Salesforce report as csv/excel file with …
Salesforce Customization
- APEXSALESFORCESalesforce CustomizationSalesforce.com
- APEXSALESFORCESalesforce Customization
Removing the last character from a String Using Salesforce Apex Class
Removing the last character from a String Using Salesforce Apex Class We can easyily remove the last character from a string by using the Substring() method using Apex Class For …
- APEXSALESFORCESalesforce CustomizationSalesforce.com
How to convert from String to Blob using Apex Class?
How to convert from String to Blob using Apex Class? From Blob to String:- blob tempBlob = report.getContent(); String tempString = tempBlob.toString(); From String to Blob:- String tempString = ‘TheBlogReaders.com’; …
- APEXSALESFORCESalesforce CustomizationSalesforce.comSOQL
How to get the Current Date and Year Using Apex Class?
How to get the Current Date and Year Using Apex Class? System.debug(‘************ ‘ + system.today().format()); System.debug(‘************ ‘ + date.today().format()); Output:- ************ 07/16/2014 ************ 07/16/2014 How to get current year using …
- APEXForce.comSALESFORCESalesforce CustomizationSalesforce.com
How to identify the Future Calls limits using Apex Class?
How to identify the Future Calls limits using Apex Class? We can get the Future Call limits using Defug log like below: Number of SOQL queries: 10 out of 100 …
- APEXSALESFORCESalesforce CustomizationSalesforce.comSOQL
How to Access Query Results (SOQL) Values using MAP in Apex Class?
How to Access Query Results (SOQL) Values using MAP in Apex Class? For Example: This is a After Trigger in Account: for (Account acc : Trigger.new) { accId.add(acc.Id); } map<Id, …
-
Remove the Space from String using Apex Class String str = ‘ TheBlogReaders.com Salesforce.com, PHP, MySQL, Javascript, Ajax, Htacces FREE Blog ‘; str = str.trim(); str = str.replaceAll(‘(\\s+)’, ‘ ‘); …
- APEXSALESFORCESalesforce CustomizationSalesforce.com
How to get field data types for each fields in Salesforce objects?
How to get field data types for each fields in Salesforce objects? we can get the all the standard and custom objects fields data types using the getGlobalDescribe, getDescribe, getType. …
- APEXSALESFORCESalesforce CustomizationSOQL
How do get the Recently Viewed items using Soql Apex Class
How do get the Recently Viewed items using Soql Apex Class. As per the new Summer ’13 Release salesforce introduced the new Standard Object called RecentlyViewed, so using that we can …