Author: Enrico Murru

[Salesforce / Revamp] Enable All Trusted IP Ranges for a Salesforce Org

a{color: red !important;} DISCLAIMER: I’ve just understood you can do this on the profile (without range restrictions). See the “UPDATE” section of this post. This post is still valid as exercise. Enabling all trusted IP ranges is a must do when developing on a Salesforce Developer ORG and you want to access via metadata API […]

[Salesforce / REST APIs] API Request limit on REST header response

Plyaing with Salesforce APIs for a super secret project I came across at this (the red one) response header: { date : “Fri, 31 Jul 2015 22:20:47 GMT”, set-cookie : -[ “BrowserId=8gV_vxxxT–xxxi0bg0vug;Path=/;Domain=.salesforce.com;Expires=Tue, 29-Sep-2015 22:20:47 GMT”, ], expires : “Thu, 01 Jan 1970 00:00:00 GMT”, sforce-limit-info : “api-usage=113/5000000”, last-modified : “Fri, 24 Jul 2015 12:07:09 GMT”, […]

[Salesforce/ Lightning] inputLookup: the missing component

Or quick tips on how to implement your own inputLookup Salesforce ligthning component This is a repost of the article I published on Salesforce Developer Blog. Salesforce Spring ’15 release brought some brand new components ready to be used in your lightning apps.ย One of the missing components that could be useful for your apps is […]

[Salesforce / Apex] Integer vs Double math expressions

This is a quick post about some findings about how math expressions are handled by Apex engine, arisen from the developments of a personal package to reproduce Salesforce Formulas in Apex (and even more). For those out there that are super expert on this field of programming, this post may seem simplicistic and “obvious”, but […]

[Salesforce / Trailhead] The beginning of your Force.com journey

a{color:red !important;} Few days ago the Salesforce team released 4 new Trailhead modules, and I decided finally to have a look at it…with my style. What is my style? I may say “all in” or “all or nothing” style. I decided to do all the modules and see which topics were covered (and how deeply). […]

[Salesforce / SSO] Implementing Delegated SSO

a{color:red !important;} Playing with code is cool, but playing with useless stuff is even better ๐Ÿ™‚ Ok, I’m kidding, I just want to say that sometimes you have to get your hands dirty to understand what lies underneath things and try to build useless stuff to see simple “Hello world!” appear! This is the case […]

[Salesforce / RemoteAction] Using Date fields on a RemoteAction (PITA ALERT!)

I’ve just come through a bug on the Date field handling for Visual Force @RemoteAction. We want to pass to a remote action a list of SObjects to be handled correctly. This is the controller that hosts the @RemoteAction method: public class MyController(){ @RemoteAction public String doAction(List<contact> contacts){ return ‘All is ok!’; } } This […]

[NodeJS] My Simple Static Webserver

a{color:red !important;} When developing pure HTML5 mockups I usually don’t want to install a webserver or host my static pages on a remote webserver… More over I sometimes like to create my own tools even if they are already on the net or they are super duper simple. That’s why I created a simple NodeJS […]