Category: Post

[Salesforce / Apex] Queueable interfaces – Unleash the async power!

The next Winter ’15 release came with the new Queueable interface. I wanted to go deep on this, and tried to apply its features to a real case. If you are (like me) in a TLDR; state of mind, click here. The main difference between future methods (remember the @future annotation? ) and queueable jobs […]

[Salesforce / Lightning] Loading scripts

a{ color: red !important;} UPDATE Due to the introduction of the ltng:require, this post is no more a valid solution. Refer to the official Lightning documentation. This post has been more like a request for help, rather than a technical blog post, but it came to be an awesome way to see Salesforce community in […]

[Salesforce] Practical guide to setup a LiveAgent

I’ve created a simple guide to set up a Live Agent on an ORG with a custom console app. This is the link: Live_Agent_base_configuration.pdf . This is a really simple guide believe me and no further explaination is given, beucase the only aim is to make Live Agent working. Let me know what you think! […]

System.debug(‘TCO13’); //The event log

Day 1 – The arrival I arrived in Washington D.C. at 5 p.m., after 10 hours and a half of plane and more than 1 hour on line at the customs: no need to say I was really tired. That’s why the first day in Washington hasn’t been that good or exciting, no meeting with […]

[NodeJS + Salesforce SOAP WS] How to consume a Salesforce SOAP WSDL

I was wondering how to consume Salesforce WSDLs with nodejs. I found Node Soap package (see npm) and I tried to consume a Partner WSDL. Then I saved the WSDL in the “sf-partner.wsdl” file and played with the methods to get nodeJS speak SOAP with Salesforce. var soap = require(‘soap’); var url = ‘./sf-partner.wsdl’; soap.createClient(url, […]

[Salesforce / Canvas / NodeJS] Set up a minimum Canvas App (NodeJS style)

Following the old post [Salesforce / Canvas] Set up a minimum Canvas App (Java style) I’ve decided to put togheter the code I’ve used to talk to a Force.com Canvas App in NodeJS. For those who can’t wait the whole article, this is the repo (CanvasApp-NodeJS-Base). Follow this steps to configure an App (something is […]

[Github / Maven] Maven repository using GitHub

This simple post is a reminder on how to create a Maven2 repository and use it with Maven in a “pom.xml” file or in Java Play!. The first step is to create a GitHub Repository (it will be named “maven2”).Then reproduce the folder structure of a Maven Repository, as I did in my “Maven2” repo […]

[Visualforce / Tip] Always add a tag

Always add <apex:pagemessages/> at the beginning of your VF page to see if there are errors in loading/submitting VF page. If something underneath the Visuarlfoce is wrong, you don’t see anything (no clear log at least)! I was using the automatic SOQL generation of the “Object__c” standard controller, and to do this I usually use […]