peter raganitsch ceo, foex gmbh - hroug...

39
Peter Raganitsch CEO, FOEX GmbH Interac(ve Reports Watch out for the Pi5alls!

Upload: hoangkhue

Post on 22-Mar-2018

221 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

Peter RaganitschCEO, FOEX GmbH

Intera

c(ve  R

eports  

Watch

 out  fo

r  the  Pi5a

lls!

Page 2: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Interactive Report

Page 3: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Sample Reporting

• Internet oder Intranet

• -> Bereiche ohne Login

Page 4: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Classic Report

Page 5: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Interactive Report

Page 6: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Classic vs. Interactive

When creating a database application, you can include two types of reports: an interactive report or a classic report. The

main difference between these two report types is that interactive reports enable the user to customize the appearance of the data through searching, filtering, sorting, column selection,

highlighting, and other data manipulations.

Page 7: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Classic vs. Interactive

When creating a database application, you can include two types of reports: an interactive report or a classic report. The

main difference between these two report types is that interactive reports enable the user to customize the appearance of the data through searching, filtering, sorting, column selection,

highlighting, and other data manipulations.

Page 8: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

APEX 5

• Was wird sich mit APEX 5 ändern?

• Multiple IR’s

• Zugriff auf JS Object

• URL-Linking?

Page 9: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Multiple IR’s per Page

• jQuery(“#<report-id>_ir”).data("apex-interactiveReport").refresh()

• jQuery("#<report-id>_ir").data("apex-interactiveReport").option("regionId")

• jQuery("#<report-id>_ir").data("apex-interactiveReport").option("currentRowsPerPage","5")

Page 10: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Modal Dialogs

• jQuery(“#<report-id>_ir”).data("apex-interactiveReport").refresh()

• jQuery("#<report-id>_ir").data("apex-interactiveReport").option("regionId")

• jQuery("#<report-id>_ir").data("apex-interactiveReport").option("currentRowsPerPage","5")

Page 11: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Pivot

• jQuery(“#<report-id>_ir”).data("apex-interactiveReport").refresh()

• jQuery("#<report-id>_ir").data("apex-interactiveReport").option("regionId")

• jQuery("#<report-id>_ir").data("apex-interactiveReport").option("currentRowsPerPage","5")

Page 12: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

8x Group By

Page 13: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

new JS Objects

• jQuery(“#<report-id>_ir”).data("apex-interactiveReport").refresh()

• jQuery("#<report-id>_ir").data("apex-interactiveReport").option("regionId")

• jQuery(“#<report-id>_ir").data("apex-interactiveReport").option("currentRowsPerPage","5")

• jQuery("#<your-region-id>_ir").data("apex-interactiveReport")._reportView("ICON")

Page 14: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

JS-Override

jQuery(“#R511021255076588904_ir")

.data(“apex-interactiveReport")

.refresh = function() {

console.log(‘tataaa');

this._pull();

}

Page 15: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Features

• Search Bar

• Actions Menu

• Column Header Menu

• URL Linking

Page 16: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Search Bar

• Search all

• Search Column

• Predefined Reports

• Icon/Detail/List View

• Reset

Page 17: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Actions Menu

• Select Columns

• Filter

• Rows

• Format

• Flashback

• Reset

• Save Report

• Help

• Download

• Subscription

Page 18: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Format Options

• Sort

• Control Break

• Highlight

• Compute

• Aggregate

• Chart

• Group By

Page 19: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Column Header Menu

• Sort

• Hide

• Control Break

• Filter by Selection

Page 20: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

URL Linking

• Set Filters

• Show saved Report

• Reset Report

f?p=<app>:<page>:<session>:<report>:<debug>:<clear-cache>:<filter>:<value>

https://docs.oracle.com/cd/E37097_01/doc.42/e35125/bldapp_rpt_int.htm#HTMDB28370

Page 21: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

URL: Set Filter APEX 4

• filter = IR<operator>_<column_alias>

• EQ = equal

• LT = less than

• …

• Example: IRLT_CREDIT_LIMIT

f?p=<app>:<page>:<session>::<debug>::<filter>:<value>

https://docs.oracle.com/cd/E37097_01/doc.42/e35125/bldapp_rpt_int.htm#HTMDB25372

Page 22: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

URL: Set Filter APEX 5

• filter = IR[ID]<operator>_<column_alias>

• EQ = equal

• LT = less than

• …

• Example: IR[EMP]LT_CREDIT_LIMIT

f?p=<app>:<page>:<session>::<debug>::<filter>:<value>

https://docs.oracle.com/cd/E37097_01/doc.42/e35125/bldapp_rpt_int.htm#HTMDB25372

Page 23: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

URL: Show saved Report - 4

• report = IR_REPORT_<report-alias>

• Example: IR_REPORT_1234

f?p=<app>:<page>:<session>:<report>:<debug>

https://docs.oracle.com/cd/E37097_01/doc.42/e35125/bldapp_rpt_int.htm#HTMDB25372

Page 24: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

URL: Show saved Report - 5

• report = IR[ID]_REPORT_<report-alias>

• Example: IR[EMP]_REPORT_1234

f?p=<app>:<page>:<session>:<report>:<debug>

https://docs.oracle.com/cd/E37097_01/doc.42/e35125/bldapp_rpt_int.htm#HTMDB25372

Page 25: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

URL: Reset Report

• CIR = clear Interactive Report

• RIR = reset Interactive Report

• RP = Reset Pagination

f?p=<app>:<page>:<session>::<debug>:<clear-cache>

https://docs.oracle.com/cd/E37097_01/doc.42/e35125/bldapp_rpt_int.htm#HTMDB25372

Page 26: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Download

Default Options

BI Publisher

FOP, BI Publisher, APEX Listener / ORDS

Page 27: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Query

Page 28: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Query

• What happens internally?

• How is the query transformed?

• Which AJAX Calls are executed?

Page 29: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Get AJAX Call Queries

• Was passiert intern?

• Welche Abfrage wird ausgeführt?

• Welche AJAX Calls werden ausgeführt?

Page 30: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Settings

• Wichtige Einstellungen

• Performance relevante Einstellungen

Page 31: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Styling

Page 32: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Styling

• CSS Overrides

• Change labels via Text Messages

• https://docs.oracle.com/cd/E37097_01/doc.42/e35125/global_messages.htm#BABEGGHA

Page 33: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

API

• Filter setzen

• Aktuelle Query auslesen

Page 34: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

API

• set Filters

• get current Query incl. all Filters !

• APEX_IR

Page 35: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Extensions

• Plugins

• Moritz Klein

• Pavel Glebov

• Matt Nolan

Page 36: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

APEX IR XLSX

• Plugins

• Moritz Klein

• Pavel Glebov

• Matt Nolan

Page 37: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

IR to MSExcel

• Plugins

• Moritz Klein

• Pavel Glebov

• Matt Nolan

Page 38: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Column/Header Freeze

• Plugins

• Moritz Klein

• Pavel Glebov

• Matt Nolan

Page 39: Peter Raganitsch CEO, FOEX GmbH - HrOUG 20152015.hroug.hr/content/download/7398/135413/file/726_Raganitsch... · Classic vs. Interactive When creating a database application, you

www.tryfoexnow.com

Thank you !

@PeterRaganitsch

@FOEXplugins

FOEX-gmbh

FOEXplugins

Let’s connect: