Salesforce is the most popular and widely used CRM solution in the cloud, it has helped numerous companies automate their sales, marketing, and customer service processes to increase efficiency and productivity. Blockchain technology is a revolutionary breakthrough which promises to fill a lot of gaps in security and trust with the current supply chain, customer service, and financial systems space (to name a few). Combining these two technologies together will be a perfect marriage of an incredible end-user facing application which offers numerous options for ease of use across multiple consumption platforms, with a system of records that is impossible to … Read More
Increasing Code Coverage to Include Catch Blocks [Salesforce]
In Salesforce, it can sometimes be frustrating driving your Apex Class & Trigger Code Coverage up to get beyond the 75%, 80%, or 85%+ marks. Some of the more difficult parts of that process can be covering all scenarios to achieve this. In particular, this post focuses on code not executed within the try-catch constructs count against the overall Code Coverage calculations. With a simple refactor, we can remedy that without changing the underlying functionality of the core class — just the test class. The try-catch we will start with before our changes have the following format: try { // … Read More
Adding a Wait / Sleep / Pause for Salesforce Unit Testing
There are certain scenarios where there are timing issues that cannot be avoided in Salesforce. For instance: in a trigger handler class, you may have to institute some logic to only execute a block of code if certain conditions are met such as an object hasn’t been modified in the last X seconds, perhaps even due to some 3rd party packages your organization has adopted that requires you to work around timing. Or something has a very short cache life in order to prevent many back-to-back SOQL calls. But then when it comes time to test that class, how do … Read More
How to Bypass Validation from Apex Across Objects [Salesforce]
If your Salesforce org has Triggers and Apex, you’ve probably run into the issue of hitting Validation Rules (VRs) when your Apex code tries to insert or update a record. The example below is across two objects and how you can solve for it. Let’s say you have an object called Positions and another object called Applicants. There is a lookup field on Applicants to the Position object. On the Positions object, you have a date field called Last Interview Date to identify the latest date an applicant was interviewed. Due to the relationship between Applicants and Positions only being … Read More
A Work-Around for Salesforce Bulk API v2.0 (in Dell Boomi)
Summary: Salesforce Bulk API Usage, though it offers performance benefits over regular APIs is a scarce resource for organizations. It is important to conserve and optimally use the Bulk API. ——- The Dell Boomi Salesforce connector does not support the Bulk API v2.0 (which essentially makes a determination automatically whether to use the regular or bulk API) at the time of writing. This feature is sought-after in the forums since organizations hit their Bulk API usage limits frequently. Processing much lower volumes of documents through the Bulk API (Bulk API accepts 10,000 documents in a single go) may be a wasted … Read More
Salesforce Lightning Experience Experts and Early Adopters
While we were at Dreamforce 2015 this year, M&S was given the unique opportunity to see first hand the beautiful new UI released by Salesforce. The new “Lightning Experience” brings a much-needed refresh to the Out-of-Box UI that users of Salesforce have come to know and begrudgingly accept. With its fresh new look, powerful selling tools, and Salesforce1 Mobile readiness, Lightning is the next big enhancement for any CRM user. M&S has already begun enabling and implementing Lightning both internally and for our current Salesforce customers. Let us help you with your CRM needs and integrations, and take you on … Read More
Leveraging the Power of Salesforce External Objects
Here at M&S we are working on a ground-breaking new project containing multiple data sources being brought into one Salesforce org and displayed using Visualforce with Bootstrap CSS. A crucial and challenging area of our client request involved not replicating data from external enterprise systems by storing it in a Salesforce Object (neither Standard nor Custom). This led us to the use of Salesforce External Objects. External objects are similar to custom objects, except that they map to data that’s stored outside your Salesforce organization. Each external object relies on an external data source definition to connect with the external … Read More
Salesforce Identity
Many businesses have come to integrate SSO (Single Sign-On) services into their organization allowing their employees to have a single point of login for company products. Traditionally this requires an Identity management service, like Active Directory, hosted on a server within the organization. Now there is another option, Salesforce Identity. Salesforce Identity acts like a traditional service or identity driven SSO, allowing employees to use their Salesforce login credentials to access different services offered by their organization. The best part about Salesforce Identity is that if you already have an Enterprise addition of Salesforce, you already have the ability to … Read More