ADVANCED TECHNICAL TRAINING · Design Studio DevStudio. DOMO APPS –DESIGN STUDIO Workflow Output...
Transcript of ADVANCED TECHNICAL TRAINING · Design Studio DevStudio. DOMO APPS –DESIGN STUDIO Workflow Output...
ADVANCED TECHNICAL TRAININGMark Dalton, Senior Director Solution Consulting
Tanner Bindrup, Strategic Solution Consulting3/22/2017
Domo Apps
DIY Connectors
Hacking Domo with APIs
Pro Data Tips
Domo Plugins
SKILLSET
HTML, Javascript, CSS(graphic design won’t hurt either)
https, REST, JSON
SQL
Undocumented or loosely supported
APPS
DOMO APPS
Design Studio Dev Studio
DOMO APPS – DESIGN STUDIOWorkflow Output
Design background
Add and configure widgets
Connect to data in Domo
Publish, use and share!
DOMO APPS – DEV STUDIO
• Design – index.html, app.css• and configure data – manifest.json• Publish and Share – Domo CLI commands
DOMO APPS – THE ART OF THE POSSIBLEApproval Center
DOMO APPS – THE ART OF THE POSSIBLE
Stacker
DIY CONNECTORS – USGS EXAMPLE
1. Configure User Authentication
DIY CONNECTORS – USGS EXAMPLE
1. Configure User Authentication
2. Configure Selectable Reports
DIY CONNECTORS – USGS EXAMPLE
1. Configure User Authentication
2. Configure Selectable Reports
3. Define How Data is Processed
DIY CONNECTORS – USGS EXAMPLE
1. Configure User Authentication
2. Configure Selectable Reports
3. Define How Data is Processed
4. Send Data to Domo
CONNECTORS AND APIS – STANDARDIZATION
standardsforapis.org
Option2
HACKING DOMO WITH APIS
This will register your application in the Developer Portal and also generate a Client ID and Client Secret, which will
allow you to generate an access token
HACKING DOMO WITH APIS
• Users and their attributes• Groups and their attributes• Add/Remove Users from Groups
• Datasets• Dataset Metadata• Personalized Data Permissions (PDP)
PRO DATA TIPS
PRO DATA TIPS – UPSERT
PRO DATA TIPS – UPSERT
• From Wikipedia (the source of all knowledge):
• "UPSERT" is a DBMS feature that allows a DML statement's author to atomically either insert a row, or on the basis of the row already existing, UPDATE that existing row instead, while safely giving little to no further thought to concurrency.
• ANSI SQL (2003 and 2008) use the MERGE syntax to accomplish the same thing.
PRO DATA TIPS – ANALYTIC/WINDOWING FUNCTIONS
Aggregate Functions Analytic Functions
• Return a single summary value • Return the same number of rows as the input
• The groups of rows on which an aggregate function operate are defined by the SQL GROUP BY clause.
• The groups of rows on which an analytic function operate are defined by window partitioning and window frame clauses.
• Fully supported in the Beast Mode editor
• ”Loosely” supported in the Beast Mode Editor
Beast Mode calculations that need to be resolved at run time will require the use of an Analytic function
PRO DATA TIPS – ANALYTIC/WINDOWING FUNCTIONS in REDSHIFT
PRO DATA TIPS – ANALYTIC FUNCTIONS IN BEAST MODE
• Percent of Total calculation using the OVER() clause
• Amount / SUM of the Amount• Pretty simple but the addition
of the OVER() clause allows us to dynamically calculate the percent of total in the card
• Filters can be applied and the calculation resolves correctly
PRO DATA TIPS – ANALYTIC FUNCTIONS IN BEAST MODE
• Percent of Total calculation using the OVER() clause with PARTITION BY option
• Amount / SUM of the Amount but within the “window” of the ‘Channel’ set of rows
PRO DATA TIPS – ANALYTIC FUNCTIONS IN BEAST MODE
• Cumulative Revenue example using ROWS BETWEEN clause
• Example of how windowing functions allow you to access specific rows in a set for arithmetic or other functions
PLUGIN ARCHITECTURE
PLUGIN ARCHITECTURE – WORKBENCH SDK
SDK Includes:• Data Transport Methods• Data Sources• Data Transforms• Output is a DLL that is
registered in Workbench and called when the job containing the plugin is run
PLUGIN ARCHITECTURE – WORKBENCH SDK
PLUGIN ARCHITECTURE – EXCEL
INFORMATICA PLUGIN
PLUGIN ARCHITECTURE – R STUDIO
WHERE TO GET MORE INFORMATION
WHERE TO GET MORE INFORMATION
Just never forget to be dexterous and deft.And never mix up your right foot with your left.
And will you succeed?Yes! You will, indeed!
(98 and 3/4 percent guaranteed.)
TODAY is your DAY! Your MOUNTAIN is waiting. So…GET ON YOUR WAY!
-Dr. Seuss
Option1
Just never forget to be dexterous and deft.And never mix up your right foot with your left.
And will you succeed?Yes! You will, indeed!
(98 and 3/4 percent guaranteed.)
TODAY is your DAY! Your MOUNTAIN is waiting. So…GET ON YOUR WAY!
-Dr. Seuss
Option2