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 […]
Category: Post
[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 […]
[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 […]
[Salesforce / Mobile SDK] Salesforce Mobile SDK 3.1 brings unified app architecture
I left mobile development in the far 2010, when Salesforce development became my actual job. In the past 6 years I’ve gradually switched to web dev techs over native development, and this a kind of hurted my feelings, but it was a necessary path (I merged the passion for discovering new techs with learning something […]
[Salesforce] My favorite Spring ’15 features
a{color:red !important;} h3{color:red !important;} This is my top 10 list of the Spring ’15 Force.com platform update’s features. Make Long-Running Callouts from a Visualforce Page This is a really important feature. Imagine you have big VisualForce pages in which Apex methods, triggered by buttons / links / rerenders, do one or more callouts to external […]
[Salesforce / JS] Download automatically files from apex (using href link and base64)
This post is a recap of this Salesforce Developer Forum thread. We want to trigger a download from an attachment but the running user don’t have access to the object (think of Community User for instance). In the controller read the Attachment’s body in a String getter coded in Base64: public String base64Value{get;set;} public String […]
