Christophe Coenraets's Blog Posts

Communicating between Lightning Components and Visualforce Pages

There are many places where you can use Visualforce pages in Lightning Experience. The Visualforce & Lightning Experience module in Trailhead covers these scenarios in detail. In some of these places, a Visualforce page can coexist with Lightning Components on the same page. For example, in App Builder, you can use the Visualforce Standard Component […]

Modularizing Code in Lightning Components

You can build simple Lightning Components that are entirely self-contained. However, if you build more complex applications, you’ll probably want to share code (and potentially client-side data) between components. In this article, we will explore strategies to share code between components, promote reuse, and avoid code duplication. Before we start, here are a few examples […]

ForceJS 2: Modern JavaScript Library for the Salesforce REST APIs

ForceJS is an open source library that makes it easy to work with the Salesforce REST APIs in JavaScript applications. ForceJS can be used to develop browser-based apps, hybrid mobile apps using the Salesforce Mobile SDK and Apache Cordova, and to authenticate with Salesforce when using Lightning Out. The JavaScript world has changed a lot […]

Introducing App Cloud Mobile

Every mobile application has core requirements like identity management, data security, data integration, social integration, offline support, analytics, etc. But with App Cloud Mobile, you don’t have to reinvent the wheel: You get a trusted implementation of these application services, configurable in a metadata-driven point-and-click environment. For the right use cases, App Cloud Mobile even […]

Meet DreamHouse, the new App Cloud Sample App

With the Salesforce App Cloud, you can build any type of application: HR, Finance, Commerce, Loyalty, Inventory, etc. And you can create your application faster than with any other platform, because you can build most of it without code. 80% Code Free Every application has core requirements like identity management, data entry, data security, analytics, […]

Slack and Salesforce Integration

Slack is a team collaboration application that has gained a significant amount of momentum over the last few years. One of the things that sets Slack apart is the simple and powerful way it can integrate with external applications. In this article, we will review three approaches you can use to integrate Slack and Salesforce: […]

Create a Lightning Component for Drag-and-Drop Profile Pictures

Upload a profile picture using drag-and-drop, and display it on the Record Home page.

Building Context-Aware Lightning Components

Lightning Components and App Builder offer new and exciting capabilities for application composition on the platform. For example, you can now edit a page layout in App Builder and add Lightning Components to provide additional information or tools to the page (pilot feature in Winter 16). For these components to be useful, they need to […]

Lightning Map Component Revisited

In this article, I revisit the Map component I shared a few months ago, incorporating some lessons learned around component lifecycle, timing, and race conditions. Check out this video to see the new Map component in action in the Lightning Experience. The component shows all the locations for a specific account. Basic Component Setup <aura:component> […]

Creating Loosely Coupled Components with the Lightning Component Framework and App Builder

After the Hotel Locator application I shared last week, here is another example demonstrating how to build loosely coupled components with the Lightning Components Framework, and how to compose an application using these components in App Builder. This example highlights some important concepts when building components: Two-way data binding Change tracking Intercomponent communication using events […]