Posts

Showing posts from May, 2015

Useful SFDC Link

1. String methods -                                   String methods Date Formats and Date Literals http://www.salesforce.com/us/developer/docs/officetoolkit/Content/sforce_api_calls_soql_select_dateformats.htm

PRODUCTION SUPPORT – COMMON ERRORS IN SALESFORCE

The following common errors we will come across when we are in production support. Plz let me know if you need any further explanation in detail. The ID must begin with / error in Salesforce This error occurs when action attribute value is wrong. action=”{!methodName}” is correct. action=”methodName” is wrong. Unable to get values from __r Reference in a trigger In a trigger we cannot get parent record or child record values using __r notation. The work around for this is we have to get the parent records or child records using the trigger.newMap.keySet(). Sample Code: List List = [SELECT Name, Id FROM ChildRecord WHERE ParentObject__c IN : trigger.newMap.keySet(); Why we will get an “obsolete report” error message in Reports in Salesforce? You may see this error because: An object in the report isn’t enabled for reporting anymore. A lookup relationship used by objects in the report has been deleted or modified. An object in the report has been delete