How can we sync the objects across 2 Salesforce ORGS?

A company may have two (or more) Salesforce orgs for several strategic, operational, or technical reasons like Mergers & Acquisitions, Business Unit or Subsidiary Separation, Security & Data Isolation Requirements, Performance and Scalability or Org Specialization. This will lead to synchronize the data between the orgs. Here we will evaluate best options to achieve the …

How can we sync the objects across 2 Salesforce ORGS? Read More »

What Are Some Early Indicators Of Success When Measuring User Adoption Of Salesforce?

Did you know that up to 70% of CRM implementations fail due to poor user adoption? (Harvard Business Review). That means even the most powerful tools like Salesforce can become expensive mistakes if users don’t embrace them. But how do you know early on if your Salesforce adoption strategy is working? Well, you can measure …

What Are Some Early Indicators Of Success When Measuring User Adoption Of Salesforce? Read More »

Using a ‘staging object’ for an outbound integration in Salesforce – Good or Bad?

Question When implementing complex outbound integrations in Salesforce, one common approach is using staging objects to manage data flow between systems.  Now, question is do we need it always – is it good practice or bad. Recommendation We can SKIP using staging object if requirement is simple like “Fire and Forget” or just quick processing …

Using a ‘staging object’ for an outbound integration in Salesforce – Good or Bad? Read More »

Send Email using Apex and save as Activity

// Create an email message objectMessaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();String emailAddress = (String) obj.get(‘Email’);// String[] toAddresses = new String[] {obj.Email};String[] toAddresses = new String[] {emailAddress};/*mail.setToAddresses(toAddresses);mail.setSubject(subject);mail.setHtmlBody(body);mail.setWhatId(c.Id);*/mail.setTemplateId(templateId);mail.setTargetObjectId(obj.Id);

Can we change the ParentId of EmailMessage Record in Salesforce

Requirement If email-to-case feature is enabled, sending email creates EmailMessage and creates or updates Case based on thread. Sometimes emails sent (from customers in a new thread) are linked to already an existing Case and you come up requirement to link the EmailMessage record with existing Case instead creating new one. Please note that EmailMessage …

Can we change the ParentId of EmailMessage Record in Salesforce Read More »