Using Wave with Lightning, Apex, and Process Builder

Preview:

Citation preview

Using Wave with Lightning, Apex, and Process Builder

Skip Sauls Director of Product Management, Salesforce ssauls@salesforce.com @SkipSauls

Wave Web SDK

Wave Apex SDK

Demo

Access

Q&A

Agenda

Lightning & Wave Before Spring ‘17

Wave Dashboard components could be added via Lightning App Builder

Dashboard interactions limited to Quick Actions

Wave was effectively “on” the page rather than “in” the page

Lightning & Wave Spring ‘17

Wave dashboards fire and handle Lightning Events

Supports Lightning, Visualforce, and other UIs via Lightning Out

Wave is now able to fully participate in the page

Wave Web SDK - Pilot wave:sendMessageToWave

Name Type Description dashboardId String The unique ID of the Wave Dashboard to apply the filter to payload String Applies filters to the dashboard at runtime, specified in JSON

using the following format:

{ 'datasetSystemName1': { 'field1': [’v1'] }, 'datasetSystemName2': { 'field1': [’v1’,’v2’], 'field2': ['v1'] }}

Wave Web SDK – Pilot wave:sendMessageToWindow

Name Type Description id String Unique ID of the Wave Dashboard that fired the event payload Object Selection information from the Dashboard that fired the event. payload.step String Name of the Step involved when changing the selection. payload.data Object[] An array of objects representing the current selection. Each

object in the array contains one or more attributes based on the selection.

Wave Apex SDK - Pilot Server-side Integration with Wave

Use Wave queries directly from Apex

Supports calls from Controllers, Workflows, Process Builder, Triggers, etc.

Synchronous callouts to Wave allow use of query results for Process Builder

Demo Wave + Lightning, Visualforce, Apex, and More

Blue Jet Lightning captured by Danish astronaut Andreas Mogensen on the ISS

Access Wave SDK Pilot Programs

Requirements

Spring ‘17 release

DE or Sandbox org

Experience:• Wave• Lightning Components / SDK• JavaScript• Visualforce• Apex

Wave license

Access

Nomination to pilot program by SFDC rep

What is Surf Force

Q & A

Thank You

Skip Sauls Director of Product Management, Salesforce

skipsauls@salesforce.com @SkipSauls

Remember to tell us what you think in the event survey www.LondonsCalling.net/survey/

Recommended