Error: Invalid field ‘Opportunity.Contract’ specified
Exception: Error: Invalid field 'Opportunity.Contract' specified Resolution: Use ContractId instead of Contract. Sample Query: SELECT Name, ContractId FROM Opportunity LIMIT 2
Exception: Error: Invalid field 'Opportunity.Contract' specified Resolution: Use ContractId instead of Contract. Sample Query: SELECT Name, ContractId FROM Opportunity LIMIT 2
To handle Time Limit Exceeded : Your request exceeded the time limit for processing in Salesforce 1. Cache any data that is frequently accessed, such as icon graphics. 2. Avoid ....
Sample Code: Lead myLead = new Lead(LastName = 'Foo', Company='Foo Bar'); insert myLead; Database.LeadConvert lc = new database.LeadConvert(); lc.setLeadId(myLead.id); lc.ConvertedStatus = 'Closed - Converted'; lc.setDoNotCreateOpportunity(true); Database.LeadConvertResult lcr = ....
Force.com Security Source Scanner can be used to check the code quality in Salesforce Check the below URL and give your user name to check the code quality.http://security.force.com/security/tools/forcecom/scannerhelp
1. Dependent class needs recompilation. 2. Depend class is missing. 3. Average code coverage is less. 4. Method not found. 5. Test classes are failing. 6. Variable not found. 7. ....
Sample Package.xml: <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <members>Object Name.Validation Name</members> <name>ValidationRule</name> </types> <version>30.0</version> </Package> Note: Use API names for Object Name and Validation Name.
If you face this issue, go to your profile and check the Login IP Ranges. To hide "Reset my Security Token" option in Salesforce, add IP ranges to the profile. ....
When Rename Tabs and Labels in Salesforce, they are stored in CustomObjectTranslation Metadata. So, we can retrieve CustomObjectTranslation to retrieve and deploy Rename Tabs and Labels changes in Salesforce using Apache ANT tool. ....
We will face "INSUFFICIENT_ACCESS_OR_READONLY, insufficient access rights on object id" because of Sharing Settings. To overcome this issue, check the below 1. Organization Wide Default(OWD), Sharing Rules and Role Hierarchy ....
Question to Case Question to Case allows administrators to escalate Chatter questions directly from a feed. Escalate to Case option is used. Create New Task publisher action Create New Task ....