[Salesforce / Trailhead / Winter16] The Lightning fever: follow the trailhead!

Excited about the latest Lightning Experience announcement? Me too but unfortunately it was published when I was on vacations without any internet connection, that’s why I read it days after its release, but I just thought “WOW!”. with great power comes great responsibility, and the guys at Salesforce.com knows it, so they created some cool […]

[Salesforce / Lightning Connect] Lightning Connect Custom Adapters and MongoDB

This is a repost of the article I published on Salesforce Developer Blog. Summer ’15 Platform Release brought us the awesome Lightning Connect Custom Adapters: you can connect to external data sources and use them as custom Salesforce Objects writing custom Apex code. After I read Introducing Lightning Connect Custom Adapters by Lawrence McAlpin, I […]

[Salesforce / Apex] Can I find out if the current user has access to a record?

Yes you can! And this is quite simple! Query the UserRecordAccess object to have instant access to the following informations about a record and an user: HasDeleteAccess: user has delete access on the record HasEditAccess: user has edit access on the record HasTransferAccess: user has transfer access on the record HasReadAccess: user has read access […]

[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 […]