Upload
phamminh
View
248
Download
2
Embed Size (px)
Citation preview
Interac(ve Reports Watch out for the Pi5alls!
25.03.2015 APEX World 2015 Peter Raganitsch
Interactive Report
Sample Reporting
• Internet oder Intranet
• -> Bereiche ohne Login
Classic Report
Interactive Report
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.
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.
Features
• Search Bar
• Actions Menu
• Column Header Menu
• URL Linking
Search Bar
• Search all
• Search Column
• Predefined Reports
• Icon/Detail/List View
• Reset
Actions Menu• Select Columns
• Filter
• Rows
• Format
• Flashback
• Reset
• Save Report
• Help
• Download
• Subscription
Format Options
• Sort
• Control Break
• Highlight
• Compute
• Aggregate
• Chart
• Group By
Column Header Menu
• Sort
• Hide
• Control Break
• Filter by Selection
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
URL: Set Filter
• 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
URL: Show saved Report
• 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
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
Download
• CSV
• Druck
Default Options
BI Publisher
FOP, BI Publisher, APEX Listener / ORDS
Query
Query
• What happens internally?
• How is the query transformed?
• Which AJAX Calls are executed?
Get AJAX Call Queries
• Was passiert intern?
• Welche Abfrage wird ausgeführt?
• Welche AJAX Calls werden ausgeführt?
Settings
• Wichtige Einstellungen
• Performance relevante Einstellungen
Styling
Styling
• CSS Overrides
• Change labels via Text Messages
• https://docs.oracle.com/cd/E37097_01/doc.42/e35125/global_messages.htm#BABEGGHA
API
• Filter setzen
• Aktuelle Query auslesen
API
• set Filters
• get current Query incl. all Filters !
• APEX_IR
Extensions
• Plugins
• Moritz Klein
• Pavel Glebov
• Matt Nolan
APEX IR XLSX
• Plugins
• Moritz Klein
• Pavel Glebov
• Matt Nolan
IR to MSExcel
• Plugins
• Moritz Klein
• Pavel Glebov
• Matt Nolan
Column/Header Freeze
• Plugins
• Moritz Klein
• Pavel Glebov
• Matt Nolan
APEX 5
• Was wird sich mit APEX 5 ändern?
• Multiple IR’s
• Zugriff auf JS Object
• URL-Linking?
Multiple IR’s per Page
Modal Dialogs
Pivot
8x Group By
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")
JS-Override
jQuery(“#R511021255076588904_ir")
.data(“apex-interactiveReport")
.refresh = function() {
console.log(‘tataaa');
this._pull();
}
Peter Raganitsch
[email protected]://www.oracle-and-apex.com
@PeterRaganitsch
Find me at the FOEX Booth!