Author Archives: lkao

Apex Trigger Sample: Using a List – Salesforce Developer Curriculum Week 4

This homework asks you to create a trigger that creates 2 identical Contacts after an Account is created.

Considerations:

  • If I need to create 2 Contacts that are children of a newly-created Account, what DML statement is needed, and when is it needed? (Hint: before or after insert?)
  • Bulkifying code, a very Salesforce-y thing. In your trigger, where do you want your DML statement to occur? Why?
  • I initially just assigned the firstContact to the secondContact. That surfaced an error. Why?

 

Posted in Salesforce.com - General, Tips | Comments Off on Apex Trigger Sample: Using a List – Salesforce Developer Curriculum Week 4

Apex Trigger Samples – Salesforce Development Curriculum Week 2 Homework

You don’t have to be technical to want to learn some basic Salesforce Apex concepts (like triggers). If you’re a PM working on a solution that relies on Salesforce, learning how to read Salesforce Apex can give you valuable insight into how prior generations customized your instance. It also helps you troubleshoot some error messages that inevitably come up, saving your resource-constrained Salesforce developers time.

David Liu’s SFDC99 website is a wonderful resource that helps non-techies understand the basics of Salesforce’s proprietary language. He’s gone even further by outlining a self-paced Salesforce Developer Curriculum for you do-it-yourself-type learners.

Posted in Salesforce.com - General, Tips | Comments Off on Apex Trigger Samples – Salesforce Development Curriculum Week 2 Homework

How to Code Salesforce Apex for Complete Beginners

Usually when I see websites that help teach Salesforce Apex (their proprietary coding language), the sites all assume a basic understanding of Java and/or object-oriented concepts.

Women Code Heroes blog

For those of you accidental Salesforce administrators who need to troubleshoot technical errors, or want to take that declarative logical thinking to the next level, make sure to check out the Women Code Heroes site for some great content. (Full disclosure: I’ve been fondly reading the posts here as I’m on my own “learn Apex basics” journey within a greater volunteer community effort to expose coding concepts and Apex familiarity to women.)

Posted in Salesforce.com - General, Tips | Comments Off on How to Code Salesforce Apex for Complete Beginners

Summer ‘13: Chatter Answers Joins the Sales Cloud

In Salesforce.com’s Summer ‘13 release, the Chatter Answers feature is now available to Sales Cloud users. This opens up a new set of options for businesses that want to increasingly centralize business operations on the Salesforce platform. For administrators and business users curious about what’s behind the hype, here’s how this feature can benefit a company’s internal users (versus its customers) based on basic testing in my pre-release org.

What Does Chatter Answers Mean for Your Org?

Posted in New Features, Salesforce.com - General, SFA | Comments Off on Summer ‘13: Chatter Answers Joins the Sales Cloud