Sara Has No Limits

Good Programmers Evaluate, Simplify, Automate and Document

Apex Code

Apply .NET Skills to Salesforce

NETTrail

Released yesterday is a new trail titled, “Apply .NET Skills to Salesforce” and it is all about wooing more .NET developers to the Salesforce platform, which I am of course, all for. This FREE and most excellent resource is written by a .NET developer for .NET developers. It does not sugar coat anything about the platform, but instead tells .NET developers honestly and directly what the platform offers and how […]

Continue Reading →

New Way to Avoid the Dreaded Mixed DMLError in Test Method

As of the Spring 16 release, there is now another way to avoid an error that would often occur when running Apex unit tests. The MIXED_DML_OPERATION error would occur because you can’t perform DML on a setup sObject (such as User, for example) and a non-setup object (such as Contact) in the same transaction. So, if you had some code such as the following: @isTest public class UserAndContactTest { public […]

Continue Reading →

Who-hoo – The new Apex Interactive Debugger is finally here!!!

ApexDebugger

Any Salesforce developer that has migrated from another language (especially .NET) knows that the debugging capabilities in Force.com are…ummm, how shall I put it? They suck! Yeah, that’s it. Well, guess what? As of Winter 16, Salesforce is offering a new Apex Interactive Debugger that will finally make developers of other platforms feel right at home. I am talking about an interactive debugger that allows you to set, remove and […]

Continue Reading →

Why Every Salesforce Developer should be using Trailhead

Trailhead

I have recently been using Trailhead to help me study for an upcoming exam and I have been incredibly impressed with how good it is. I have already posted about the Trailhead modules that cover new material, such as Lightning, but what I was surprised about was how useful it was for reviewing material that I thought I already knew pretty well. Trailhead is definitely not exhaustive in it’s coverage, but what […]

Continue Reading →

Best Way to Generate Lots of Fake Test Data for Force.com Orgs

GenerateData

I am currently designing a course for lynda.com about improving Visualforce performance. I decided that it was necessary to load my Developer org with a bunch of fake Account data in order to demonstrate some of the performance improvement techniques I was suggesting. I am NOT talking about unit test data, but actual data (just randomly generated). I have tried to generate things like this in the past and it always […]

Continue Reading →

Considerations when Sending Outbound Emails Through Apex

email-outbound-image

In a recent post, I went over things to consider when receiving emails using Apex code. In this post, I will go over some tips and considerations you should make when working with outbound emails in the real-world. First off, in order to work with outbound messaging in your Sandbox (note that I said Sandbox and NOT Developer edition), you will first need to enable it since it is disabled by […]

Continue Reading →

Follow

Get every new post delivered to your Inbox.

Join 175 other followers