Sending Email Notification for Task Owner via Apex Trigger

I have this business requirement which is when a Salesforce record is inserted and has this specific status, it will auto-create a task and notify the assigned owner via email that he has a new task. So I’ve written a trigger to automate it, during testing I saw that the task has been created and it …

APEX Data Loader Date Format Upload Issue (Salesforce.com)

I really have a bad memory, so I’m blogging this for my future reference. If you have googled with the keywords in my blog title, then I exactly know the reason why you are here in my post. 🙂 In order to properly upload the correct date using APEX Data Loader, please be mindful of …

Invoking Apex from a Custom Button using a Visualforce Page

This post is about creating a custom button to be placed in a detail page using Visualforce page instead of an S-control (deprecated). I will be using Opportunity object for this example. The Controller: public class VFController { private final ApexPages.StandardController theController; public List listOpps = new List(); public VFController(ApexPages.StandardController stdController) { theController = stdController; …