Blog Archives

Pre-populating Standard Page Layouts

detour sign

Warning: This uses undocumented methods. As with any code that relies on anything undocumented it’s not supported and it’s prone to breaking without warning so don’t rely on it working tomorrow! It’s a known hidden feature of Salesforce that you can

Tagged with: , , ,
Posted in apex, code, force.com, salesforce

The Trouble with Dates and Times

Dates and DateTimes don’t always play nicely when you’re trying to push them through from environment to environment. You often have to mess about with them a bit to shoehorn them in and out of Salesforce. I’m going to look

Tagged with: , , , , ,
Posted in apex, code, force.com, salesforce

Mocking Multiple HTTP Requests to the Same Endpoint

My Blog posts are like buses. You don’t see one for ages and then two come along at once. I was musing, like you do, what to do when Unit Testing a service that makes successive call-outs to the same

Tagged with: , , ,
Posted in apex, code, force.com, salesforce, Uncategorized

Wrapping Custom Metadata to Support Unit Testing

Wrapping Paper

My last post looked at using a wrapper class to make Custom Settings more convenient to access from apex code and to ease defaulting and unit testing. If, like me, you’ve taken the leap to using Custom Metadata instead of

Tagged with: , , ,
Posted in apex, code, force.com, salesforce

Connecting to Salesforce using OAuth 2.0 from PHP

Introduction Salesforce, with its rich set of APIs allows endless integration with 3rd party systems. The key to accessing Salesforce from another system, be it a Web App, Mobile device or even a command line script, is logging on and

Tagged with: , , , , , ,
Posted in apex, code, force.com, PHP, salesforce

Salesforce Lightning Lookup Component : Version 2

Version 2 This is Version 2 of the Salesforce Lightning Lookup Component. I had one of those, ‘Why didn’t I do it like that instead?‘ moments in the shower this morning. Essentially, it’s less code as I’ve done away with the rendering

Tagged with: , , , ,
Posted in apex, code, force.com, lightning, salesforce

Salesforce Lightning Lookup Component

Note: This article has been superceded by: Version 2.  I’ve been playing around with Salesforce Lightning components and one of the obvious things that seems to be missing is a UI component to lookup a record in a Salesforce custom object

Tagged with: , , , ,
Posted in apex, code, force.com, lightning, salesforce
About Me
Product Services Developer at:
FinancialForce.com
All views expressed here are my own. More about me and contact details here.

Enter your email address to follow this blog and receive notifications of new posts by email.

Copyright (there isn’t any, feel free to reuse!)

CC0
To the extent possible under law, Tony Scott has waived all copyright and related or neighboring rights to MeltedWires.com Examples and Code Samples. This work is published from: United Kingdom.