Cannot change Referece To error in Salesforce
Cannot change Referece To error in Salesforce occurs when lookup or master detail relationship has been modified. If Account__c was initially created as lookup to Account object and later if ....
Cannot change Referece To error in Salesforce occurs when lookup or master detail relationship has been modified. If Account__c was initially created as lookup to Account object and later if ....
In order to assign adjust width for columns in apex:panelGrid, we have to create different CSS styles for columns and we have to assign it to "columnClasses" attribute. Sample Code: ....
1. Right click the Project in Eclipse. 2. Click "Properties". 3. Click "Add/Remove" button. 4. Select the Components. 5. Right click the component you want to move. 6. Select "Deploy ....
AggregateResult in Salesforce is used to find Sum, Min, Max and Avg. It is similar to Aggregate function in SQL. Using Aggregate Result, we cannot fetch data. It is mainly ....
Sample Code: Member__c e = [SELECT Id, Comments__c FROM Member__c WHERE Id = 'a00U000000352lq']; Note n = new Note(); n.body = e.Comments__c; //Comments__c is TextArea field n.parentId = 'a00U000000352lq'; ....
Confirm/Success: ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.Confirm,'Sample Success Message')); Warning: ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.Warning,'Sample Warning Message')); Informational: ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.Info,'Sample Informational Message')); Error: ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.Error,'Sample Error Message'));
We should enable "Available for Chatter Answers" check box to fix this issue. Check the below link to fix this https://infallibletechie.com/2013/07/chatter-answers-in-salesforce.html Cheers!!!
Enabling Chatter Answers: 1. Go to Setup --> Build --> Customize --> Chatter Answers --> Settings. 2. Click "Edit" button. 3. Select "Enable" check box. 4. Click "Save" button. Configuring ....
Other Address Fields: OtherStreet OtherPostalCode OtherCity OtherCountry OtherState Mailing Address Fields: MailingStreet MailingCity MailingCountry MailingState MailingPostalCode Sample Code: Visualforce page: <apex:page controller="Sample" sidebar="false"><apex:form > <apex:pageblock mode="edit"> <apex:pageblockSection title="Contact Information"> <apex:inputField ....
Messaging.EmailFileAttachment can be used to trigger to send a pdf along with email in Salesforce. Sample Trigger: trigger sendEmail on Employee__c (after insert, after update) { List<Messaging.SingleEmailMessage> mails = new ....