Quantcast
Channel: Perspectives on Salesforce.com » APEX Code
Browsing latest articles
Browse All 11 View Live

Force.com Debug Log Parser

ShareKyle Peterson has released the Force.com Debug Log Parser, a nifty little .NET app for parsing the mess of a debug log you get from Salesforce when executing Apex code.   You can see a video...

View Article



Invoking Apex from a Button (JS –> Apex Web Service)

ShareIn January I posted about how to invoke Apex from a Custom Button using a Visualforce Page.  It has been a popular post and is a topic which is of interest to many developers.  I wanted to draw...

View Article

Associate Email to Salesforce Task to Opportunity

ShareI use the Email to Salesforce functionality every single day.  This feature allows you to get a random email address similar to emailtosalesforce@0235ffdsdfsad98dvfj4i549540njh3.in.salesforce.com...

View Article

Image may be NSFW.
Clik here to view.

Using Aggregate Functions

ShareIn Spring ’10 Salesforce released new Apex functionality for aggregate functions.  Prior to this feature being available, one would have to perform a large query, loop through it and perform...

View Article

Endpoint for Debugging HTTP Callouts

ShareWhen I use Apex to make HTTP callouts to other web services (e.g. Google Checkout, PayPal, Shopify, MapQuest, etc), it is often a game of trial and error to get things right. Oftentimes, I get...

View Article


Convert 15-char to 18-char IDs in Apex

ShareI was working with someone recently who saw how I converted 15 character IDs to 18 character IDs in Apex and thought it was clever. I always thought it was something everyone knew, but just in...

View Article

Cloning Records in Apex

ShareWhen you clone an sObject in Apex, it copies all the fields populated in that Apex object, not necessarily all fields on the record.  Let’s say you have a Lead with FirstName, LastName, Company,...

View Article

Image may be NSFW.
Clik here to view.

Proximity Searching via Apex

ShareA new release of Geopointe will be out next week after all systems are on the Summer 11 release. With the update will come the ability to perform spatial/proximity/radial searches via Apex. Two...

View Article


Image may be NSFW.
Clik here to view.

Email AutoComplete (using jQuery)

ShareFor several years, I’ve been using an app called Email AutoComplete (it’s now a private listing) to add auto complete capabilities onto my email address text boxes in the Salesforce email editor....

View Article


UPDATE: Set Defaults for Opportunity Contact Roles (when converting)

ShareI’ve had a few people reach out regarding an old post about defaulting Opportunity Contact Roles on a Lead convert. Turns out the trigger on Opportunities is not the best option. This was resolved...

View Article

Link Chatter Files to Related Objects

ShareI prefer to upload “attachments” to records using Chatter Files vs. the old skool Attachments because… Chatter Files are searchable They still get listed under the Notes & Attachments list for...

View Article
Browsing latest articles
Browse All 11 View Live




Latest Images