Create a Physical Dashboard with the Salesforce Analytics API

12
Create a Physical Dashboard with the Salesforce Analytics API Cory Cowgill Director of Product Engineering Fusion Risk Management @corycowgill

Transcript of Create a Physical Dashboard with the Salesforce Analytics API

Create a Physical Dashboard with

the Salesforce Analytics API

Cory Cowgill

Director of Product Engineering

Fusion Risk Management

@corycowgill

Agenda

DIY Demo

Overall Technical Solution

Salesforce Analytics API Intro

littleBits Into

Code Deep Dive

Q&A

Demo

Let’s Create a DIY Physical Dashboard!

Materials Needed:

Cardboard

Markers

Protractor

littleBits Cloudbit

Salesforce Developer Org

#Awesome Drawing Skills

Overall Solution

Salesforce.com Platform

Standard Reports – holds the reporting data

Analytics API – allows programmatic access to reports

Apex Classes & Triggers – allows triggers to access API

LittleBits Cloud

CloudBit REST API – programmatic access to cloudBit

CloudBit – Hardware Module

Salesforce Analytics API Intro

Exposes Standard Reports for API Access

Available through REST and Apex

Run Tabular, Summary, Matrix Reports

Pass Filter Criteria to Report Runs

Query Report Metadata

Analytics API Gotchas

Governor Limits

• 500 Synchronous Reports per Hour

• 1,200 Asynchronous Reports per Hour

• Maximum 100 Fields

• 20 Custom Field Filters

LittleBits Intro

DIY Prototyping Hardware

Incredibly Easy to Use

“Like Legos” for Electronics

Online Community of Projects

littleBit Cloudbit

Abstracts the communication and hardware work

Allows simple REST API to talk to the hardware

Allows you to set Voltage, Duration, etc. via REST

8

Code Deep Dive

Show me the Code!

Step through the flow!

Q&A

Continue the conversation

• Twitter - @corycowgill

• Twitter - #askforce #DF15

• Chatter – Dreamforce Session Feed

Additional Resources

SFDC Analytics API Documentation –

https://resources.docs.salesforce.com/sfdc/pdf/salesforce_analytics_rest_api.pdf

littleBits Community - http://littlebits.cc/community/chapters

My BlogPost with Code and Video - http://corycowgill.blogspot.com/2014/12/create-real-life-

dashboard-with.html

Thank you