Posts
PRODUCTION SUPPORT – COMMON ERRORS IN SALESFORCE
- Get link
- X
- Other Apps
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
- Get link
- X
- Other Apps
Small Tricks & Tips: 1) T o execute batch process from console - System.schedule('Job1', 'ss mm hh * * ?', new BatchClassName()); 2) Send Single Email using apex- Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage(); mail.setToAddresses(new String[]{email}); mail.setSenderDisplayName('Test Display Name'); mail.setSubject('Test Subject'); mail.setPlainTextBody('Test Body'); Messaging.sendEmail(new Messaging.SingleEmailMessage[] {mail}); 2) If Date field open with pop up - .dateFormat{ visibility:hidden; }
Salesforce Developer Interview Questions
- Get link
- X
- Other Apps
1) How many type of Relationship between objects in Salesforce 2)What is the difference between trigger.new and trigger.old? 3) Do picklist dependencies follow through onto the Visual Force code or is there a special tag for it within the code? 4) What are permission sets and how do they differ from profiles. 5) What deployment methods have you used ? List few components which cannot be deployed using force.com IDE or change sets. 6) How will you load data for a child object? how u load notes and attachment ? 7) How many ways u sharing models (also permission set) 8) Explain lead to opportunity conversion 9) Different types of Environment 10) How can I create developer, full sandbox. 11) In how many days can one refresh a full sandbox. 12) What are the different ways of making a field mandatory? 14) How do I log a case with salesforce. 15) What is the order of execution of workflow rules, validation rules, triggers. 16) How can one read parameter values