Visit Sandeep Bhanot's personal blog on Developer Force

New Apex Type Methods in Summer ’12

The Summer ’12 release of Salesforce.com has already started rolling out to sandbox orgs, and is scheduled to roll out to production orgs in June. In this post, learn about the new ‘getName’ and ‘newInstance’ methods to the Apex Type system class. Continue reading

In Blog: developer-relations | Tagged , , , | 10 Comments

Developing Cross-Device HTML5 Apps Using Visualforce

Quick poll before we begin. What device are you reading this blog post on? Desktop? Smartphone? Perhaps an iPad? A Blackberry Playbook? (just kidding!) I happen to be lucky in that I don’t have to do anything different in my writing to support all these different devices and form factors.

Its not that simple however if you’re building a modern Web application for the Social Enterprise. We’re living in a post-PC world where in the most recent quarter, Apple’s total revenue from its iPhone business alone (not even counting iPads) was greater than Microsoft’s total revenue for the quarter. With… Continue reading

In Blog: developer-relations | Tagged , , , , , , , , , | Leave a comment

Force.com CodeTalk: Apex

CodeTalk: Episode 001 - Apex

In this inaugural episode of CodeTalk, Sandeep, Quinton and special Guest Josh Kaplan (Senior Product Manager responsible for Apex) took audience questions on all things Apex. To learn more about the CodeTalk program, please go to the program website.

http://www.youtube.com/watch?v=m64cGXeuXfc&feature=youtu.be

 

CodeTalk Chat Transcript

Here are some of the (edited) highlights from this episode’s chat transcript.

Q: Is there a way in Apex to send an email and replace the default from email address (no-reply@salesforce.com)?
A: Yes, using either the setSenderDisplayName or setOrgWideEmailAddressID methods on the SingleEmailMessage or MassEmailMessage classes.

Q: Which fields are accessible in a… Continue reading

In Blog: developer-relations | Tagged , | 2 Comments

Bar Code and QR Code scanning using the Mobile SDK

I recently blogged about a sample mobile application built using a combination of Visualforce and other standard web technologies like HTML5, CSS3 and JavaScript (specifically JQuery Mobile). The application mobilizes the ‘Merchandise’ Custom Object by presenting a mobile optimized List and Detail View of data stored in that Object. I also demoed and dissected this application in some detail in the Mobile SDK webinar that Eugene and I recorded recently. In addition to discussing web mobile apps, i.e. applications delivered entirely via the browser on the mobile device, we also covered hybrid mobile applications developed using the Salesforce Mobile SDK. Hybrid apps fall… Continue reading

In Blog: developer-relations | Tagged , , , , , , , | 1 Comment

CodeTalk – live Q&A for Force.com developers

CodeTalk is a new pilot program for Force.com developers to have their technical queries answered via a live screencast and chat. Each CodeTalk episode will be a live, unscripted 30 minute Q&A session dedicated to a specific Force.com topic and hosted by yours truly and Quinton. You can submit your questions either via chat or Twitter (using the #codetalklive hashtag) and we’ll try and answer as many of them as possible. Along the way, we will also highlight and discuss some of the more interesting and thought-provoking questions via the live screencast.

Think of CodeTalk as the bizzaro version of… Continue reading

In Blog: developer-relations | Tagged , , , , , , , | Leave a comment

Offline support in Salesforce Mobile SDK

Today we released v1.1 of the Salesforce Mobile SDK. This latest version of the SDK has several enhancements, but the most significant change is the support for secure offline storage. You can now develop hybrid and native iOS and Android applications that (securely) store data on the device and allow the application to function even when the user is offline. This new feature of the Mobile SDK will help our customers and partners develop mobile applications that address complex use cases while still meeting the stringent security requirements that are typical of an Enterprise mobile application (e.g. what happens to my company’s sensitive data… Continue reading

In Blog: developer-relations | Tagged , , , , | 15 Comments

Behind the scenes of Social Web-to-Lead

I recently blogged about a sample Heroku application that lets you capture Leads from a Facebook application or page. I’d now like to discuss the architecture and some of the technologies I used for that application. You can also download and peruse the application code from GitHub.

The figure on the left gives a high-level overview of the application architecture. It is a Node.js application running on Heroku that uses OAuth to login to Facebook and then inserts Lead records in Salesforce using the Force.com REST API. Here’s some additional color.

  • Heroku-Facebook integration: The application is built using
In Blog: developer-relations | Leave a comment

Facebook + Heroku + Force.com = Social Web-to-Lead

A Social Enterprise takes a different perspective on how to engage with your customers, partners and employees. But what about the developer? How can we leverage the Salesforce Platform to develop applications that are inherently social and engaging? Case in point. How can you take one of the most basic (yet powerful) functions of CRM – the Web-to-Lead function – and make it more social? There is of course a very robust Web-To-Lead feature in Salesforce, but I thought I’d think a little outside the box and develop a custom Web-To-Lead application that leverages the power of the biggest, baddest social… Continue reading

In Blog: developer-relations | Tagged , , , , , | 3 Comments

And the Cloudie goes to…

On March 15th we’re hosting one of our biggest developer events of the year at Moscone Center in San Francisco. Cloudstock is a FREE developer conference with over 40 technical sessions, 1-on-1 code consultations, new Quick Start guides for Siteforce and Mobile development and much more. In honor of the recent Oscar ceremony, I thought I’d highlight some of the more interesting Cloudstock sessions by handing out my own ‘Cloudies’. The following list represents my own unscientific and biased take on the session lineup (so really, not that different from the actual Oscars) and so cue the maudlin music, dim the lights and here we go… Continue reading

In Blog: developer-relations | Tagged , , , | Leave a comment

Are you a server-side or client-side developer?

So – are you a server-side or client-side developer? What if I said that was an archaic way to classify application development. I believe that the clear red lines that used to separate client-side and server-side application development are increasingly blurring. In order to be an effective application developer in this day and age, you need to be at least comfortable (if not proficient) at both ends of the HTTP connection. Let me explain.

Not to go all ‘grandpa sitting on the rocker’ on you, but back in the day when I first started programming, you picked your sides early. You were either a server-side… Continue reading

In Blog: developer-relations | 3 Comments