How to find out what Salesforce edition you have?
To find out what Salesforce edition you have, use the below code SELECT OrganizationType FROM Organization Output from Force.com Explorer:
To find out what Salesforce edition you have, use the below code SELECT OrganizationType FROM Organization Output from Force.com Explorer:
To check the Scheduled jobs in Salesforce, go to Setupu --> Administration Setup --> Monitoring --> Scheduled Jobs.
There is no limit to the number of records one can access using Explorer. I have retrieved 6,61,603 records.
setTemplateId is used to use Email template using Apex. Sample Code: trigger MemberTrigger on Member__c (after insert) { Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage(); List<String> ccAddresses = new List<String>(); ccAddresses.add('magualn.d@igate.com'); for(Member__c ....
Collection size exceeds maximum size of 1000 error in Salesforce means List, Set & Map size exceeded more than 1000 to be shown on the Visualforce page. To avoid this, ....
This error means that the Lead record has been converted. Once converted, the Lead record cannot be updated. The Lead object has an IsConverted property. Using that you can check ....
Schema.DescribeFieldResult and Schema.PicklistEntry can be used to fetch picklist values of Salesforce Standard object picklist field. Sample Apex Code: Schema.DescribeFieldResult fieldResult = Account.Type.getDescribe(); List < Schema.PicklistEntry > picklistEntries = fieldResult.getPicklistValues(); ....
The below code is used to display Rating picklist of standard object Account. <apex:page standardController="Account"> <apex:form > <apex:pageMessages /> <apex:pageBlock > <apex:pageBlockSection columns="2"> <apex:pageblockSectionItem > <apex:outputLabel value="Rating"/> </apex:pageblockSectionItem> ....
Sample Code: List<String> mail = new List<String>(); String error = ''; Integer i; Integer len; mail.add(test@test.com); mail.add(test1@test.com); mail.add(test2@test.com); mail.add(test3@test.com); len = mail.size(); i = 0; for(String temp:mail) { if(i>len-1) ....
<iframe> not working in Home page component, enable 'Show HTML' checkbox before typing the HTML code. Example: <iframe src="/apex/Sample"></iframe>