Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

APEX export command-line utility

Oracle Tips by Burleson Consulting

Oracle has an unsupported APEX export utility that can be downloaded to support a command-line interface to backup HTML-SB screens via batch export procedures in PL/SQL:

The readme file notes the export utility command invocation with arguments for specify a specific export application and/or a specific export page (APEX screen).  You can also specify an export file destination name.  From the readme.txt file we see:

"sage HTMLDBExport -db -user -password -applicationid -workspaceid -instance -skipExportDate -debug

-db: Database connect url in JDBC format

-user: Username for flows_XXXXXX user

-password : Password for flows_XXXXXX user

-applicationid : ID for application to be exported

-pageid : page ID within application to be exported (only when exporting 1 application)

-filename : output filename (only when exporting 1 application or page)

-workspaceid : Workspace ID for which all applications to be exported

-instance : Export all applications

-skipExportDate : Exclude export date from application export files


Application APEX export example:

HTMLDBExport -db candy.us.oracle.com:1521:ORCL -user flows_010600 -password htmldb -applicationid 31500

Workspace APEX export example:

HTMLDBExport -db candy.us.oracle.com:1521:ORCL -user flows_010600 -password htmldb -workspaceid 9999

Instance APEX export example:

HTMLDBExport -db candy.us.oracle.com:1521:ORCL -user flows_010600 -password htmldb -instance"

 

When keeping generations of APEX exports you can use PL/SQL to generate the -filename parameter and dynamically build the export command, using sysdate in the file name, something like this:

:my_filename := to_char(sysdate,'yyyy.mm.dd')||:pagename||.txt

When using this APEX command-line export utility within PL/SQL you can schedule it to execute via dbms_scheduler for an automated backup routine, naming the file with SYSDATE. 

This way, we have a generation data group (like a mainframe GDG) and we can select and re-import specific APEX applications and screens at-will.  This approach will also give a running-audit of application  and screen changes by day.


APEX support:

For APEX development support just call to gat an Oracle Certified professional for all APEX development projects.

APEX book and code samples:

Easy Oracle HTML-DB Application Express
Create Dynamic HTML with Oracle

Includes online APEX code depot

Buy it now for 30% off - Only $27.95
 

 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2017

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.

Remote Emergency Support provided by Conversational