a{color:red !important;} This is a call to arms! In the past months I have developed an implementation in Apex of Salesforce Formulas in order to have a way to use a formula result dynamically without the need to have a custom field on an object. It has been a huge work and a lot has […]
Tag: Salesforce
[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 / Trailhead] Trailhead MEGA RELEASE (DF15 Edition)
Dreamforce ’15 is coming and with it we expect awesome news from the event. I won’t be part of it, and this is a super duper sad thing (I REALLY wanted to watch the Foo Fighters live ๐ ), but this does not stop me from following the event from home. If the online stuff […]
[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 / Apex / VisualForce] Getting rid of the “Save & New” button
In some circumstances the “Save & New” button on the standard layout is not desired. This is an idea (there are others of this kind) to make this optional on layouts, but unfortunately it’s been freezed for years. The simpler solution was to execute some javascript on a hone page component in order to hide […]
[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 […]
