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). […]
Tag: Salesforce
[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 […]
[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 […]
[Salesforce / Lightning] Loading scripts with RequireJS
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. The following is a post that summarizes this blog post‘s solution (if you are not a TLDR; reader you will find there all my trials and errors). Dreamforce 2014 came out […]
[Salesforce / Apex] Retrieving zipped static resource files from code
Some days ago one of my awesome colleagues asked me: “Can you get a zipped file into a static resource from Apex?”. My very first thought was NO. But after having said that syllable, I understood that this could be possible, using an HTTP GET call + cookies + correct resource URL. This is the […]
[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 […]
