logi hacks: tips & tricks for using info

29
Logi Hacks: Tips & Tricks for Using Info Trevor Denning, Web Developer Jithin George, Sr. Solutions Engineer Matt Grogan, Sr. Solutions Engineer

Upload: logi-analytics

Post on 16-Apr-2017

147 views

Category:

Data & Analytics


0 download

TRANSCRIPT

Page 1: Logi Hacks: Tips & Tricks for Using Info

Logi Hacks: Tips & Tricks for Using InfoTrevor Denning, Web DeveloperJithin George, Sr. Solutions EngineerMatt Grogan, Sr. Solutions Engineer

Page 2: Logi Hacks: Tips & Tricks for Using Info

What is Logi Hacks?

Page 3: Logi Hacks: Tips & Tricks for Using Info

#Logi16

Logi Hacks

3

1

2

3

Google Maps

Definition Modifier Files

Asynchronous Processes

Page 4: Logi Hacks: Tips & Tricks for Using Info

Google Maps

Trevor Denning

Page 5: Logi Hacks: Tips & Tricks for Using Info

#Logi16

1. Overlay State/Province Polygons to the Google Map Element

2. Obtain the Google Map object immediately after the map has been initialized.

3. Apply styles and turn off default features of our map object.

WHAT ARE WE GOING TO LEARN TODAY

5

Page 6: Logi Hacks: Tips & Tricks for Using Info

#Logi166

1. Match the Styles & Color Palette of Your Website

Page 7: Logi Hacks: Tips & Tricks for Using Info

#Logi16

2. Have a Specific Purpose for the Map

7

Page 8: Logi Hacks: Tips & Tricks for Using Info

#Logi16

3. Use Map Styling to Overlay Data on the Map

8

Page 9: Logi Hacks: Tips & Tricks for Using Info

#Logi16

var gMap = rdGetGMapObject({MapID});

gMap.setOptions({

styles: Google Map API JSON

});

How to Apply Map Styles?

9

Page 10: Logi Hacks: Tips & Tricks for Using Info

#Logi16

var gMap = rdGetGMapObject({MapID});

gMap.setOptions({

styles: {Snazzy Map JSON Here}

});

www.snazzymaps.com

10

Page 11: Logi Hacks: Tips & Tricks for Using Info

#Logi16

var gMap = rdGetGMapObject({MapID});

gMap.setOptions({

styles: {Snazzy Map JSON Here}

});

www.snazzymaps.com

Let’s get started!

11

Page 12: Logi Hacks: Tips & Tricks for Using Info

Google Maps in Logi

1. Map Elements are Limitless2. Easy to use3. DevNet is your friend.

Page 13: Logi Hacks: Tips & Tricks for Using Info

Definition Modifier Files

Jithin George

Page 14: Logi Hacks: Tips & Tricks for Using Info

#Logi16

Extensibility Continuum

Base ElementsTemplate/DefinitionModifiers

Plugins

14

Page 15: Logi Hacks: Tips & Tricks for Using Info

#Logi16

Beginnings of a Logi Application

Preprocessing

Elaborate Super-

Elements

Retrieve Data

Build Compone

nts

Generate HTML

LoadDefinition

FinishHTMLFinish

Data

Data Layer Call

Data Layer

Generated Element&

Load Panel

Logi Engine

Your App

User initiates request

15

Page 16: Logi Hacks: Tips & Tricks for Using Info

#Logi16

Dynamic Content During Page Load

• Instructions to modify a definition file’s elements and attributes during runtime

• Process before the Logi Server Engine • Possible Uses:

– Inserting Additional Elements– Translations

Definition Modifier Files

16

Page 17: Logi Hacks: Tips & Tricks for Using Info

OUR CHALLENGEManaged Filter Dashboards for InfoGo

Page 18: Logi Hacks: Tips & Tricks for Using Info

#Logi16

Self-Service is great, but integrate with canned filters?

• Managed Filters on Dashboards• Create multiple iterations of filtered dashboards to share with specific

users (Power Users!)• Persist Filters

Managed Filters for InfoGo Users

18

Page 19: Logi Hacks: Tips & Tricks for Using Info

USING LOGIDemo Time!

Page 20: Logi Hacks: Tips & Tricks for Using Info

What’s NEXT?Translations, Insert additional elements…

Page 21: Logi Hacks: Tips & Tricks for Using Info

Asynchronous Processes in Logi InfoMatt Grogan

Page 22: Logi Hacks: Tips & Tricks for Using Info

#Logi16

1. What are processes in Logi Info?

2. How are processes normally used?

3. Why and how would I trigger an asynchronous process?

WHAT WE ARE GOING TO LEARN TODAY

22

Page 23: Logi Hacks: Tips & Tricks for Using Info

#Logi16

Processes are essentially scripts that can be triggered by certain events in Logi. However these scripts aren’t written in python or javascript, they’re built using Logi’s elemental design!

Remember: Processes are built just like report definitions They’re often triggered with an action.process element

What is a Process?

23

Page 24: Logi Hacks: Tips & Tricks for Using Info

ProcessesThe old fashioned way...

Page 25: Logi Hacks: Tips & Tricks for Using Info

Demo

Page 26: Logi Hacks: Tips & Tricks for Using Info

Try it!All processes can be triggered through an http request and can accept parameters.

Page 27: Logi Hacks: Tips & Tricks for Using Info

Which Hack Was the Best?

1. Google Maps 2. Definition Modifier Files3. Asynchronous Processes

Page 28: Logi Hacks: Tips & Tricks for Using Info

QUESTIONS?

Page 29: Logi Hacks: Tips & Tricks for Using Info

Learn more with The Definitive Guide to Dashboard Design