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 …
Apex class
- APEXSALESFORCESalesforce CustomizationSalesforce.comSOQL
- 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. …
- APEXSALESFORCEVisual ForceVisualforce
How to avoid IE10 version compatibility issue while using Visualforce Page
How to avoid IE10 version compatibility issue while using Visualforce Page Please add following piece of code in your Apex Class Controller Consturctor Apexpages.currentPage().getHeaders().put(‘X-UA-Compatible’, ‘IE=10’); You could try this with …
- APEXSALESFORCESalesforce.comSOQL
How to get the Salesforce Account Object Address details using SOQL?
How to get the Salesforce Account Object Address details using SOQL? Salesforce Account Objects Contains Two Address fields and Account and geolocation its seems like a compound fields. 1) Billing …
- 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 …
-
Best Video about Apex Pattern and best practices Includes the following items: – StandardSetController & Standard Controller, Extension, Custom Controller – Context overload pattern – Apex Batch Jobs & Limitaion
- APEXMobileSALESFORCEVisual ForceVisualforce
How to redirect the visualforce page based on the mobile user or browser user in salesforce
How to redirect the visualforce page based on the mobile user or browser user in salesforce its possible to redirect the visualforce page either mobile page view or normal browser …