Category: Salesforce

Developers at #DF18: Check Out the Fun from Day 1

Dreamforce ’18 kicked off with a bunch of sessions for our developers, the Dreamforce Keynote, and even a visit from a couple of familiar faces! Check out some of the action here:

Salesforce developer evangelists Zayne Turner and Rene Winkelmeyer spoke about VS Code to a packed room. At DF18 and missed the session? They’ll be presenting again on Friday!


Kicking off our 8am session @Dreamforce about @code for @SalesforceDevs with packed room!

— René Winkelmeyer ☁ (@muenzpraeger) September 25, 2018

Salesforce MVP Christian Szandor Knapp and Frankfurt User Group leader Daniel Stange presented a session on enhancing your triggers with the open source MyTriggers framework by Appero. Check it out in this GitHub repo.


Start with the MyTriggers framework now to enhance your trigger handling now!
Proudly presented at Dreamforce18 by @ch_sz_knapp & @stangomat and developed and open sourced by @appero_com @SalesforceDevs

— Christian Menzinger (@chris_menzinger) September 25, 2018

Salesforce product superstars Andrew Fawcett and Wade Wegner presented a super session on all things Salesforce DX. The all-demos session was a deep dive on new and improved tools, metadata coverage and usability, and change management to increase productivity and make developers lives better. Check out some of the code in Andy’s GitHub repo.


Packed room for Salesforce DX super session! One of the most interesting topics for @SalesforceDevs at #D18 @WadeWegner @andyinthecloud

— Mohamed El Moussaoui (@melmoussaoui) September 25, 2018

Salesforce CEO Marc Benioff — along with a slew of special guests — officially kicked Dreamforce off with the Opening Keynote. Benioff said this is the biggest Dreamforce yet, with 2,700 sessions, 171,000 in-person attendees, and 10 million+ joining online. Each day of Dreamforce is dedicated to a key value that we are working on and promote within ourselves and express back to our community: Trust, Innovation and AI, Equality and Sustainability, and Personal Empowerment and Mindfulness.


“Allow me to express my sincere gratitude to all of you for all you do — our customers, our partners, our communities, our Trailblazers. Every day you guide us further and show us the way to be connected.” Salesforce Co-CEO Marc @Benioff live at #DF18:

— Salesforce (@salesforce) September 25, 2018

All areas of the Trailhead Zone were bustling, including the Developer Forest. Our friends Codey and SaaSy even popped in for a visit!

To close out the evening, we entertained and engaged with attendees with interactive games (Including Programmers, PRESENT! — an improv style activity) in the Canyon Theater.

Stay tuned on our blog and social networks (Twitter, Facebook, and Instagram) for all of the Day 2 goodness! Whether you’re joining us on-site in San Francisco or remotely, you can be part of the Developer Keynote for Day 3 (Thursday, September 27th at 1PM PST). Bookmark the session in the Salesforce Events app or save the link for our livestream.


#DF18 Developer Guide: Sessions for All the Architects!

Dreamforce ’18 is any minute now! Whether you are already an architect with Salesforce, or whether you’re exploring how to be one, we’ve curated a few great sessions for you to check out at Dreamforce.


Build and Test AI Models for Trust (2)

Tuesday, September 25, 8:30 AM – 8:50 AM
Machine learning software differs from traditional software in that outcomes are not based on a set of hand-coded rules and are not easily predictable. The behavior of such software changes over time-based on data and feedback loops. The results and predictions of a machine learning model are not always clear. Join us to learn how Salesforce Einstein provides you with insights into why models behave the way they do, and build trust and confidence as a result. We’ll cover model explainability, and how we seamlessly integrate this into the machine learning pipeline.

The Architect Journey: Becoming a Domain or Technical Architect
Tuesday, September 25, 9:00 AM – 9:40 AM
For Salesforce architects who have the technical ability, business acumen and drive to push their limits. Salesforce CTA is the certification that opens career-transforming opportunities to solve Salesforce customers’ greatest business challenges. Come hear top tips from the experts on what it takes to achieve the most prestigious credential.

Architecture of End-to-End Einstein Solutions
Tuesday, September 25, 9:30 AM – 10:10 AM
The architecture of the Einstein Platform is an important element for developers and architects to understand. Which components typically make up an Einstein feature? In this session, we’ll cover the general principles illustrated with solution architectures and best practices from different customer examples, such as Einstein Vision for Retail or CPG companies, Einstein Next Best Action in customer communities, and Einstein Bots for customer service.

Practical Architecture Strategies for Banking
Tuesday, September 25, 12:00 AM – 12:40 AM
Banks struggle to provide customer engagement solutions due to the sheer number of core product platforms. Join us as we cover proven architecture strategies for delivering a customer engagement platform using Financial Services Cloud.

Architect Journey—Discovering Your Path (2)

Tuesday, September 25, 5:30 PM – 6:00 PM
Whether you wear one or many hats in your role, we’ve got a specialized domain Designer certification that will validate your specific area of expertise. Join us to learn more about Designer certifications and the resources available to build your knowledge, that will help you on your path toward becoming a Salesforce Architect.


Org Consolidation in a Post Merger Environment
Wednesday, September 26, 8:30 AM – 9:10 AM
Join us as we discuss how to develop and execute on a consolidation journey after companies not only combine people and processes, but orgs as well. We’ll cover the new challenges companies don’t anticipate, and the new way that IT and business teams need to work together to build a better seamless experience for the combined companies.

Cox Automotive Switches Gears for Sales Success Through Org Consolidation
Wednesday, September 26, 9:30 AM – 10:10 AM
Join us to learn how after making a run at a single org for sales, Cox Automotive’s leadership in the various BU’s began to

Empowering Everyone to Build World-Class iOS Apps with Salesforce

Today everything is connected and everything is mobile. People expect access to their data and their apps across all their devices, and this means that as developers we have more work to do than ever. To make it easier to build amazing, enterprise-class mobile apps, Apple and Salesforce have announced a strategic partnership to redefine the mobile customer experience and to empower learning for all.

For developers, this partnership gives you access to the tools and educational resources you’ll need to start building custom apps for iOS that leverage customer data from Salesforce. These resources include an all-new Salesforce Mobile SDK for iOS optimized for Swift, and new learning content on Trailhead built in collaboration with Apple.

Let’s start by taking a look at how Swift makes it easy to build great apps on iOS.

Introduction to Swift

Swift is a modern programming language that is perfect for developing mobile apps, and is designed to be safe, fast, and expressive. Some of the features that make Swift a modern language include:

Clean, easy to read, declarative syntax Powerful error handling and throwing capabilities Built-in type safety and inference Handles values that might not exist with new Optional type Simple functional computations with map, filter, reduce Developed in the open, with community input and support – and much more!

Let’s take a look at how simple it is to read a Swift code sample:

As you can see, the syntax is simple and is to understand – even at first glance! Next, let’s take a look at a slightly more complicated code sample where we define a Type called person that contains two variables for First Name and Last Name. And then we’ll also define two instances of the person using constants.

When coding in Swift you get a unique feature called Optional to define variables that may or may not contain a value, as well as modern capabilities like Switch statements to efficiently handle things like flow control. Let’s take a look at how this works:

The first thing you might have noticed when you look at this code sample is that you can use emojis when defining constants, variables and values! While that’s a fun and useful way to code in the modern era, what’s even more exciting is the power you get from the Optional type and switch statement features. At the start of the code sample, we defined a variable called animal as an optional string indicated by “String?” and set its value to 😺. We then evaluated the Optional to see if it had a value and used the switch statement (via case) to further evaluate our value. Here’s how it looks in the Xcode IDE and you can see the expected value printed out in the console at the bottom of the screenshot below:

Now that you’ve had a quick introduction to Swift, let’s take a look at how you can start building iOS apps that connect to Salesforce data.



#DF18 Developer Guide: If You’ve Built a Ton of Apps (But Not Many on Salesforce Yet)

Dreamforce has hundreds of sessions devoted to development. If you’re a developer who has worked with different frameworks and platforms but are new to building on the Salesforce Platform, we’ve got you covered. Here’s a list of developer sessions that might help you as you plan your sessions. Open up your Agenda Builder and bookmark away!


Identity 101: Design Patterns for Access Management
Tuesday September 25, 8:00 AM – 8:40 AM
Managing identities and access controls across many orgs, applications, and Identity Providers is a modern necessity, but also a daunting challenge. Join us as we dive into the use cases and demo how you can manage identities at scale, employing a mostly clicks-not-code approach. Learn how to build for multi-org architectures using SSO, Connected Apps, JIT Provisioning, and Login Discovery. You’ll come away with best practices and a sneak peak into upcoming features on the roadmap.

Route Your Triggers Like a Pro
Tuesday, September 25, 10:00 AM – 10:20 AM
Did you have a closer look at your trigger handlers recently? In many cases, platform events can encapsulate and orchestrate your business logic much cleaner than triggers and are easier to integrate with from outside of your org. Custom metadata types enable you to make your triggers and platform event handlers configurable for yourself and – caveat emptor – customizable and replaceable across namespaces. And what about this new Trigger Context Enum? Learn to route your business logic like a pro and to conduct the traffic in your org and/or packages in reliable, performant and – if you want to – configurable ways.

JavaScript Testing with the Lightning Testing Service
Tuesday, September 25, 12:30 PM – 12:50 PM
As the number and complexity of Lightning Components in your org grows, so does the risk of defects when you write them, and of breaking changes when you refactor them. Lightning Testing Service enables you to create JavaScript test suites to maintain a high standard of quality. Join us to learn how you can use Lightning Testing Service to evaluate the impact of code changes, improve the robustness of your JavaScript code, and gain confidence that your Lightning Components work as you expect.

Supercharge Lightning Apps with Base Components
Tuesday, September 25, 5:00 PM – 5:20 PM
Are you getting started with Lightning Component development? Join us to learn how to easily use base components to create apps that look great and work seamlessly within Lightning Experience. We’ll explore several examples that solve real-life use cases with a minimal amount of code. You will walk away ready to experiment and build on your own.


Build & Deploy Heroku Apps Using Docker
Wednesday, September 26, 10:00 AM – 10:20 AM
Are you wondering how to build and deploy Docker images to Heroku? This session gives you a brief introduction to Docker, followed by an interactive demo of deploying Docker images to Heroku. You’ll leave with a solid understanding of how to build and deploy Heroku applications using Docker.

Crafting Flexible APIs in Apex Using Custom Metadata
Wednesday, September 26, 12:30 PM


Discover What’s Next for IBM at Dreamforce 2018

Last year, Salesforce and IBM announced a strategic partnership with the goal of delivering joint solutions to leverage IBM Watson’s industry-leading enterprise Artificial Intelligence (AI) and machine learning on the Salesforce platform. As the partnership has accelerated, IBM Cloud Integration has supplied tools for Salesforce developers to quickly and effectively connect data and manage APIs in a multicloud environment, such as the IBM Watson Salesforce SDK we launched last year.

That’s not all—with a partnership like Salesforce and IBM, how could it be? Stay tuned for a big announcement at Dreamforce of a new product developed via the partnership. 

Join us for our sessions at Dreamforce 2018:



#DF18 Developer Guide: Sessions for Diving Into Code from Click-Based App Building

If you’re used to building apps primarily through clicks on the Salesforce Platform and want to learn more about how to code, Dreamforce is chock full of resources for you. We’ve put together a quick guide of sessions you may want to bookmark if you’re visiting this year – and if you can’t make it in person this time around, keep an eye peeled for recorded sessions online on our Dreamforce page for Developers!


What I Wish I Knew When I Started with Lightning Components
Tuesday, September 25, 2:15 PM – 2:35 PM
Are you starting out with Lightning Components? Join us as we tell you about the most interesting lessons learned, useful tips and tricks that will help you in your learning path, handy tools, and the most common errors. Become a developer who understands the best practices required for Lightning Components, and apply it to component builds in your own organization.

Getting Started with the Salesforce CLI (Command Line Interface)
Tuesday, September 25, 11:15 AM – 11:35 AM
The CLI is the first step in learning to develop with modern tools on the Lightning Platform. Even better, it can also enhance your current workflow. The CLI is scriptable, enables version control, and allows you to use continuous delivery and deployment. In this session, we will demo the CLI while showcasing all of the best tricks and best practices. We will also share what’s new with commands like source:retrieve source:deploy .

Simple, Rapid Cloud Integration with MuleSoft Anypoint Platform
Tuesday, September 25, 12:30 PM – 1:10 PM
The connected customer experience requires that all systems, data and devices are integrated. Every business today needs connectivity that spans cloud apps, on-premise systems and data, and applications hosted in public clouds. In this session, we review how the MuleSoft Anypoint Platform makes it possible for business and IT to collaborate and engage customers wherever and whenever. Learn how Anypoint Platform makes it easy to rapidly build integration with a low-code, no-code approach that doesn’t require advanced programming skills. Additionally, we will showcase how developers can further extend these integrations with reusable APIs that will lead to enterprise-wide transformation.


Getting Started with Git on Salesforce
Wednesday, September 26, 11:00 AM – 11:20 AM
Using a version control system for the first time can be intimidating. Learning just a few Git commands can go a long way towards keeping track of code changes and restoring previous versions when bugs are introduced. Armed with just the basic commands, developers can take the first steps towards using Git with Salesforce. This session will walk through setting up a Git repository, creating a branch, committing changes, and pushing those changes to a remote repository.

Overcome Your Fear: Become a Salesforce Developer
Wednesday, September 26, 11:30 AM – 11:50 AM
If you’ve ever tried to decipher custom code to make a minor modification and ended up overwhelmed by the complexities, you’re not alone. Taking the leap from an #AwesomeAdmin to Developer can be intimidating. But don’t give up. In this session, we’ll give you the

Keep Your Org in Tip-Top Shape with Deployment Best Practices

Your production org is your live Salesforce instance, and keeping it running like a champ is critical to your business and customers. How do you keep your users happy? By following common best practices for governance and application lifecycle management. We could write several Trailhead modules about those topics (and we’re working on that). However, here in this blog post, we focus on some specific recommendations about how your choices in these areas can lead to successful deployments. Like any application, when you make changes to a production environment, you need to consider how your users will be affected.

Administering versus developing

Before we dive in, let’s clarify the difference between two types of tasks you perform in your org, which we’ll call administration and development. Administrative tasks include things like:

Developing email templates. Creating or editing users. Creating or editing permission sets and profiles.

All of these things are often done in a production org, and that’s fine. You aren’t changing or building applications when you do these things.

On the other hand, when you add a field to an object or a tab to an app or move a field around, you are changing an app (or potentially creating a new one). These are all development tasks, and that’s what we are focusing on here, whether these changes are declarative or programmatic. Best practices dictate to perform development tasks outside of your production org.

Pitfalls of developing in production

What can happen if you don’t test your changes in a development environment first?

A workflow rule accidentally creates an infinite processing loop. A change in a field’s type modifies data in ways you can’t undo. A logic error in a validation rule prevents you from saving a record. Page layout changes confuse people instead of improving their experience.

Sometimes a minor edit to one thing can have an unexpected cascading effect on many other things in your production org. For example, each of these tasks has a ripple effect.

Editing any aspect of custom objects or fields. Activating critical updates. Creating a new tab via the Setup UI.

Why? Because even a simple change to your data model may have far reaching consequences.
For example, let’s say you change a field’s type. This change can modify the data in ways you can’t undo, and it’ll likely cause a lot of Apex code to recompile.

The types of changes you make to develop an app could invalidate Apex bytecode, the pre-compiled, ready to execute representation of your Apex. The invalidated code needs to be recompiled. When your end users initiate an action, such as saving a record, the response from Salesforce will be delayed while the Apex code is being recompiled.

Let best practices guide you to success

You want a change management process that reinforces that development should occur outside of your production org. A change management process determines what kinds of modifications you allow on your production org, when they can occur, and who is responsible for making


Dreamforce ’18 Developer Guide: The Newest of the New for the Lightning Platform

We’re counting the days until Dreamforce and hope you are too. If you’ve been building apps with Salesforce for a while and have a ticket to Dreamforce, you’re probably looking for the newest and best ways to build apps of the future with the Lightning Platform. Here’s a quick guide we’ve put together for you to help you if you’re looking for things to add to your #DF18 agenda.



Be An Efficient Salesforce Developer with VS Code
Tuesday, September 25, 8:00 AM – 8:40 AM
VS Code is the new standard IDE for Salesforce developers. Join us to learn the basics of VS Code, what the Salesforce extensions for VS Code are, and how you can squeeze ultimate productivity out of the IDE and its capabilities. Whether you’re moving from the IDE to VS Code or are brand new to developing on the Salesforce Platform, you’ll walk away with a ton of tips to become even more efficient in your day-to-day Salesforce development.

Advanced Lightning Components
Tuesday, September 25, 8:30 AM – 9:10 AM
If you know how to build basic Lightning Components and are ready to go to the next level, this session is for you. Join us to learn how to reuse code between components, use popular third-party libraries, cache data efficiently, and other things you didn’t know you could do with Lightning Components.

Super Session Salesforce DX
Tuesday, September 25, 10:30 AM – 11:10 AM
Calling all developers for a deep dive into how everyone, whether you click or code, can build on the Lightning Platform. Join us for an “all demos” session to learn how new and improved tools, metadata coverage and usability, and change management will increase productivity and make your lives as Salesforce developers even better. This session will be packed with live demos, real-world insights, and an in-depth look at our roadmap.


Everything That’s Awesome with Apex
Wednesday, September 26, 1:30 PM – 2:10 PM
Get a sneak peak into Apex plans, the roadmap, and how we are making secure development easier. We’ll share some of our newest concepts (async Apex anyone?) and get your feedback on hot IdeaExchange features.

Develop Apps at Big Data Scale with Big Objects & Async SOQL
Wednesday, September 26, 2:15 PM – 2:35 PM
Big Objects represents an entirely new paradigm for storage on the Salesforce Platform. Join us to learn what Big Objects means for app development, and how you can use new query techniques like Async SOQL to manipulate data at scale. Meet the Big Objects engineering team, learn about the architecture, and hear how businesses and partners are utilizing Big Objects today.

Meet the Developers
Wednesday, September 26, 4:00 PM – 4:40 PM
If you have ever wanted to just sit down with the technical leadership team at Salesforce and ask any question you want about Salesforce Platform technology, this is your chance. This annual and venerable panel session is an open Q&A with the product owners and engineers that are building all aspects of the Salesforce Platform. Bring your questions and


DocuSign at Dreamforce 2018: What’s New for Developers

As a developer-first company, DocuSign is incredibly excited to once again be heading back to Dreamforce to share the newest ways to build business apps for the future.

We’ll be sharing more about DocuSign for Salesforce at Dreamforce. It’s configurable, including signing for any business process inside Salesforce, and enables you to track statuses in real time. We think it’s because of reasons like these that we think it’s the most popular eSignature app on AppExchange. If you’re interested, watch this video on how BNY Mellon designed, developed, tested, and rolled out their DocuSign for Salesforce integration in just a few months. Or check out how Retail Capital streamlined its agreement process with DocuSign for Salesforce and Custom Buttons.

When you stop by the DocuSign booth this year at Dreamforce, we look forward to discovering what you want to do with your specific use case(s), Salesforce code examples, getting your feedback, and hearing your ideas for how we can make development even easier for you. Here’s just some of how we at DocuSign hope to help you this year at Dreamforce.


Getting Started with DocuSign for Salesforce
Using the DocuSign for Salesforce managed package, users can send a document for signatures from within Salesforce and guide signers in the signing process. Come learn how to easily integrate DocuSign to automate your eSignature workflows.

DocuSign Labs: Getting Started with our APEX Toolkit
A deep dive into what’s possible with DocuSign’s APEX Toolkit. Join us for recipe discussions, code samples, and a sneak peek of what we’re building and working on!

eSignatures: Extending DocuSign for Salesforce Administrators
Looking to further empower your users with DocuSign? Come learn how our new features will further enable process automation and customization.

DocuSign Labs: How a Real Customer Successfully Enhanced its System of Agreement
Digital transformation gave rise to modern Systems of Record and Systems of Engagement for key business and communication processes. Let’s walk through how our customers have begun to optimize and automate their agreements using DocuSign for Salesforce.


We’ll be hosting dev:our again this year, which is a meet-and-greet at the W Hotel on Wednesday during Dreamforce. This is a great chance to learn about the ins and outs of DocuSign for Salesforce directly from the devs and engineers behind the code. It’s free of charge, and we’ll have lunch and knowledge to share with you. Sign-up here.

Demos and DocuSign University

Learn something new, or fine-tune your knowledge of all things DocuSign for Salesforce when you visit our booth in the Trailhead Zone. We’ll be showing you DocuSign Payments, DocuSign for Salesforce Lightning, how to utilize custom buttons, and a lot more. Through DocuSign University, we’ll also be providing full courses for both developers and Salesforce admins.

Side events

Just like last year, we plan on having a great happy hour event. A “hAPI” hour, if you will. We see free refreshments and plenty of opportunity to network or talk shop with DocuSign engineers and developers. Stay tuned here for details.

Mini Hack Challenge


Meet the Winter ’19 Developer Preview Live Panel

Dreamforce is only a few weeks away… and the Developer Preview Live is just a few DAYS away! In the upcoming preview this week, I’m really looking forward to sharing with everyone what these Salesforce product experts think is great about what’s in the Winter ’19 release. If you haven’t had time to dive into the release notes yet — or even if you have already — register for our Developer Preview Live this Friday at 9:30am Pacific time, see some great demos, and ask us questions live on camera!

Of course, the panelists for the Developer Preview Live are also super busy preparing some amazing, educational sessions to share the best ways to build apps on the Salesforce Platform. If you’re attending Dreamforce, add these sessions to Agenda Builder so you can check out their talks in-person, or if you’re watching online, mark them now so you can watch the recorded presentations online after the event.

Chris Castle – Heroku

Chris will be joining us at the Developer Preview Live to share some of the great ways developers can use Heroku. He’ll also be all over Dreamforce, staffing the Heroku booth at the Developer Forest and popping up at all sorts of other Heroku talks for developers. You’ll catch him leading this talk:

Beyond Buzzwords: Microservices, Evented Architecture and Apache Kafka on Heroku
Let’s set aside the marketing spin for a moment and focus on the real-world problems that microservices and event streams can solve for us. We’ll explore why you should consider these patterns, the exciting technologies that support them, such as Apache Kafka, and most importantly, how you can set aside your fears and be confident in what you’re building now and the future.

Rohit Mehta – Salesforce DX

Rohit’s been super busy working on Salesforce DX, but when he’s not figuring out features, he’s helping out with sessions and even speaking at a few sessions! Catch him for sure at these talks:

What’s New with Salesforce DX for ISVs
Are you an AppExchange (ISV) Partner that already understands Salesforce DX and what it has to offer? Or are you an ISV that has been waiting for Managed Packaging to jump into the Salesforce DX world? This session is meant to help you take advantage of what is available and works best for ISVs today, and how to start applying it to your build and release process. You’ll also learn about the various options available for ISVs and what the roadmap has in store.

Sandboxes and Scratch Orgs: Picking the Right Environment for Your Project
Major releases, minor releases. Developers, testers. Refreshes and previews. How do you manage all of these various demands in your Salesforce environments’ scratch orgs and sandboxes? Join Salesforce product experts for updated details on tackling these problems and how to pick the right environment for your project. We’ll also discuss features for optimizing your use of Salesforce Environments.

Gayathri Geeta – Community Cloud

Gayathri spoke on our Community Cloud: New in Summer ’18 webinar. She’s