You are on page 1of 37

Hidden Gems of APEX
David Gale
Software Engineer
Oracle Application Express
November, 2014

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 2

Oracle Application Express

“I didn’t know APEX could do that”

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 3

| 4 . He has been part of the APEX development team since joining Oracle in 2011.com twitter @david_s_gale David Gale has been working with Oracle Application Express since 2009 (v. All rights reserved.DAVID GALE Software Engineer Oracle Application Express Database Tools | Server Technologies 1900 Oracle Way Reston Virginia 20190 phone +1-703-364-2613 mobile +1-703-268-9040 david.0). Copyright © 2014 Oracle and/or its affiliates.s. 4.gale@oracle.

and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. | 5 . release. and may not be incorporated into any contract. The development. It is not a commitment to deliver any material. and should not be relied upon in making purchasing decisions. All rights reserved. code. or functionality. It is intended for information purposes only. Copyright © 2014 Oracle and/or its affiliates.Safe Harbor Statement The following is intended to outline our general product direction.

| 6 . All rights reserved.Oracle Application Express Introduction Copyright © 2014 Oracle and/or its affiliates.

and full application life cycle. All rights reserved. • On premise.Oracle Application Express • Database-centric development tool for Oracle Database application development • Targeted at Web-based developers who know SQL and PL/SQL • Develop Desktop and Mobile applications • 100% Browser-based Development and Runtime • Declarative framework for rapid application definition. on cloud. any platform Oracle DB is Copyright © 2014 Oracle and/or its affiliates. | 7 . on laptop. on RAC.

2.0  Flash Charts  PDF Printing  Access Migration Development initiated August 1999 APEX 4.0  SQL Workshop 2006 2007 APEX 3.1 4.2 Dot Releases  Improved Packaged Apps 4.History Also known as Oracle APEX (a'peks) HTML DB 1.2 APEX 4.com Copyright © 2014 Oracle and/or its affiliates.1  Data Upload  Error Handling  ROWID 2012 2013 2014 / 5 Application Express 5.0  Mobile  HTML5  Packaged Apps Websheets Dynamic Actions Plug-Ins Team Development APEX 4.2.2.1  Interactive Reports  Oracle XE APEX 2.6 UI Themes 2004 APEX 3.5 2008 2009 2010 APEX 3. | 8 .oracle.0*     Universal Theme Page Designer UI Modernization HTML5 Plugins *Available in Early Adopter Only (apexea.1 APEX 2.2      Supporting DB Objects for full app installation and upgrade 2005 HTML DB 2.2. 4 4. All rights reserved. 3.2  Oracle Forms to APEX Conversion 2011 APEX 4.5 First Release HTML DB 1.

11gR1. ODA. XE • Exadata. Sold as a fully managed service with 1GB free trial. and 5. 20. 11gR2.Fully supported no-cost feature of the Oracle Database • Supported as a no-cost feature of the Oracle Database • No cost feature of database 10gR2 (10. applications. All rights reserved. SE1. InMemory. any number of end-users • Specialized Oracle Support Team – Included with Database Maintenance Agreement • All database editions: EE. Multitenant… • Distribution • Distributed with all editions of Oracle database 11g and 12c • Available as a download from OTN • Oracle Cloud Services • “Oracle Database Cloud Service” aka schema since October 2012.0. RAC. 12c • Any number of developers. 50 GB paid services. Compression.4 +). SE. Copyright © 2014 Oracle and/or its affiliates.2. | 9 . Partitioning.

All rights reserved. | 1 .Oracle Application Express Hidden Gem: APEX Data Dictionary Copyright © 2014 Oracle and/or its affiliates.

• Accessible through SQL • Application → Utilities → Application Express Views Copyright © 2014 Oracle and/or its affiliates. Applications. | 1 . etc.APEX Data Dictionary • Set of views of (most) metadata for Workspaces. All rights reserved.

| 1 .APEX Data Dictionary Copyright © 2014 Oracle and/or its affiliates. All rights reserved.

APEX Data Dictionary (Tree View) Copyright © 2014 Oracle and/or its affiliates. | 1 . All rights reserved.

Oracle Application Express Hidden Gem: APEX Advisor Copyright © 2014 Oracle and/or its affiliates. | 1 . All rights reserved.

APEX Advisor • Automated test suite for common APEX errors and security vulnerabilities • Application → Utilities → Advisor Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 1 .

| 1 . All rights reserved.APEX Advisor Copyright © 2014 Oracle and/or its affiliates.

| 1 . All rights reserved.Oracle Application Express Hidden Gem: Application Search Copyright © 2014 Oracle and/or its affiliates.

Application Search • Several shortcuts – <page> .Open page in editor (current application) – <application>:<page> .0) • Search prior to opening an application: full workspace search Copyright © 2014 Oracle and/or its affiliates. | 1 . All rights reserved.Open page in editor – <application>:s – Application Shared Components (new in 5.

| 1 . All rights reserved.Oracle Application Express Hidden Gem: SQL Workshop Utilities Copyright © 2014 Oracle and/or its affiliates.

SQL Workshop Utilities • Suite of tools for working with database objects – Data loading – DDL generation – API package creation – Schema comparison – …and more… • SQL Workshop → Utilities Copyright © 2014 Oracle and/or its affiliates. | 2 . All rights reserved.

| 2 . All rights reserved.SQL Workshop Utilities Copyright © 2014 Oracle and/or its affiliates.

| 2 . All rights reserved.Oracle Application Express on Hidden Gem: Query Table Selected Copyright © 2014 Oracle and/or its affiliates.

All rights reserved.Query on Selected Table • Part of the Find (not search) functionality • Automatically generates select statement with all column names • Better than “select *” for usability and maintenance • Find → Tables Copyright © 2014 Oracle and/or its affiliates. | 2 .

| 2 . All rights reserved.Query on Selected Table Copyright © 2014 Oracle and/or its affiliates.

| 2 .Oracle Application Express Hidden Gem: PL/SQL Headings Column Copyright © 2014 Oracle and/or its affiliates. All rights reserved.

set_report_column_format(…) to specify format masks at the same time Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 2 .PL/SQL Column Headings • Classic Reports only • Combine with “SQL Query (PL/SQL function body returning SQL query)” report type for dynamic reports • Function returning colon-separated list of column headings • Can use apex_util.

PL/SQL Column Headings Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 2 .

| 2 .Oracle Application Express Hidden Gem: Page Items to Submit Copyright © 2014 Oracle and/or its affiliates. All rights reserved.

Page Items to Submit • Automatically copy page item values from DOM to session state • Attribute of reports and PL/SQL dynamic action steps • Enables partial page refresh for reports. | 2 . All rights reserved. complex dynamic actions Copyright © 2014 Oracle and/or its affiliates.

Page Items to Submit Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 3 .

Page Items to Submit Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 3 .

| 3 . All rights reserved.Oracle Application Express Hidden Gem: Packaged Applications Copyright © 2014 Oracle and/or its affiliates.

Packaged Applications • Suite of pre-built applications available for immediate deployment and use • Two types – Sample Applications – demonstrate specific functionality • Can be installed and inspected immediately – Productivity Applications – designed to meet actual business needs • Locked upon initial installation • Fully supported by Oracle* • Active development Copyright © 2014 Oracle and/or its affiliates. | 3 . All rights reserved.

All rights reserved. | 3 .Packaged Applications Copyright © 2014 Oracle and/or its affiliates.

All rights reserved. | 3 .Copyright © 2014 Oracle and/or its affiliates.

All rights reserved.Copyright © 2014 Oracle and/or its affiliates. | 3 .