Including Dynamic Images in Your Report

Similar documents
Creating a PDF Report with Multiple Queries

Manipulating Database Objects

Installing Oracle Database 11g on Windows

Building and Customizing an Interactive Report

Managing Your Database Using Oracle SQL Developer

Part 2 Uploading and Working with WebCT's File Manager and Student Management INDEX

Oracle Application Express Users Guide

Oracle Application Express Student Guide

Oracle Application Express

Oracle Application Express Workshop I Ed 2

Managing Administrator Preferences

Oracle Database Express Edition

Partner Integration Portal (PIP) Installation Guide

Oracle Database 10g Express

SharePoint Cheat Sheet

Database Foundations. 6-1 Introduction to Oracle Application Express. Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Software needed in this course

ALES Wordpress Editor documentation ALES Research websites

Self-Demo Guide. Oracle ilearning and HTML DB

Enterprise Reporting -- APEX

Editing Drupal 7 Sites. Basic page editing. June To begin editing, log in by clicking Login at the bottom of the homepage. Username.

Course Overview. Copyright 2010, Oracle and/or its affiliates. All rights reserved.

Oracle SQL. murach s. and PL/SQL TRAINING & REFERENCE. (Chapter 2)

Selectively Cloning Courses in Moodle

Oracle ILM Assistant Installation Guide Version 1.4

SharePoint 2010 Instructions for Users

Files to Contents. User Guide March 11, 2008

Assignment 6. This lab should be performed under the Oracle Linux VM provided in the course.

Real Application Security Administration

Using SQL Developer. Oracle University and Egabi Solutions use only

USER GUIDE for Simon Malls On-Line Resource Center. SimonResourceCenter.com

Type into the address bar of your web browser. You ll see this screen. Enter in the username and the password.

Moodle The Basics of Editing a Content Management Course

Welcome to the CP Portal

VISIONTRACKER FREQUENTLY ASKED QUESTIONS FAQ

Joomla 2.5 Kunena Component Installation

Integrating Sintelix and ANB. Learn how to access and explore Sintelix networks in IBM i2 Analyst s Notebook

Welcome to the SIGGRAPH online networking tool!

Oracle Application Express

OUTLOOK WEB APP (OWA): MAIL

Rajeev Kumar Jha, Domain Head Oracle

Content Management System User Guide CONTENT MANAGEMENT SYSTEM User Guide

Oracle Enterprise Manager Oracle Database and Application Testing. Data Masking Lab. Session S318966

Exhibitor Area User Guide

User Guide. supportworkerconnect.org.au. Version 1.0 CCID857938

Site Manager. To edit a page already in place, click on the name of the page.

Extracting and Storing PDF Form Data Into a Repository

An exist XML Database for a Database Project **Draft **

IT Quick Reference Guides Using the Online Ticketing System (mysupport)

Oracle Database. Installation and Configuration of Real Application Security Administration (RASADM) Prerequisites

Open World 2008 Hands-On Lab. JD Edwards EnterpriseOne Embedded BI Publisher. OOW 2008 Hands On Labs JD Edwards EnterpriseOne

Editing the Home Page

Perceptive Data Transfer

Readme file for Oracle Spatial and Graph and OBIEE Sample Application (V305) VirtualBox

Oracle Database. 2 Day + Application Express Developer s Guide Release 4.2 for Oracle Database 12c E

Log File Management Tool Deployment and User's Guide. Initializing the DBMS

Searching Oracle Database 11g

1. Open any browser (e.g. Internet Explorer, Firefox, Chrome or Safari) and go to

Lab 1 - Getting started with OIM 11g

Using. Quick Guide. Contents. Connecting to an FTP server. Using the Quick Connect bar. From FileZilla Wiki

One Place Agent Websites User s Guide. Setting up your Real Estate One Family of Companies Personal Agent Website.

Performance Pro Update 3.4 September 2015

Once file and folders are added to your Module Content area you will need to link to them using the Item tool.

MySQL On Crux Part II The GUI Client

Adding Content. 4. The following page will display (see image to the right): 5. Enter the title of the text page in the Name* field (required).

Drupal 7 guide CONTENTS. p. 2 Logging In

umapps Using umapps 6/14/2017 Brought to you by: umtech & The Center for Teaching & Learning

Oracle Database. 2 Day + Application Express Developer s Guide Release 3.0 B

Media Writer. Installation Guide LX-DOC-MW5.1.9-IN-EN-REVB. Version 5.1.9

TEACHER: CREATE PRACTICE QUIZ

AppWizard Installation/Upgrade Guide (v.4.00)

Using Integration Utility

edocs Home > BEA AquaLogic Service Bus 3.0 Documentation > Accessing ALDSP Data Services Through ALSB

Administrative Training Mura CMS Version 5.6

Imagine. Create. Discover. User Manual. TopLine Results Corporation

Getting Started with ORE - 1

Oracle Application Express: Administration 1-2

Extend EBS Using Applications Express

End User s Guide Release 5.0

Vanier Moodle Basics 2 Statement of Competencies and Competency Elements. Statement of the Competencies

Widgets for SAP BusinessObjects Business Intelligence Platform User Guide SAP BusinessObjects Business Intelligence platform 4.1 Support Package 2

Google Classroom User Manual

Using Google sites. Table of Contents

DBXL AZURE INSTALLATION GUIDE

Updating Your Local Program Webpage

SilkTest Installation Guide

Faculty Web Page Management System. Help Getting Started

Retrieve Download File from CSDI Installation Instructions

Currently, ADBC is a Windows only feature and requires Open Database Connectivity (ODBC) provided by Microsoft.

Altova CbC Reporting Solution. Installation Guide

Manage Files. Accessing Manage Files

DB2 for z/os Stored Procedure support in Data Server Manager

CVLS Legal Server Tutorial

SCHOOL COLLABORATION SITES Reference Guide

This quick reference guide is designed for consumers of the Program Dashboard and provides details on how to: Log in

UCT Local Council Website Quarterly Training 2.1 November 10, Changing your password Adding photos & PDF files Creating website & links

Infotek Solutions Inc.

Introduction to Moodle

Sugar Enterprise 6.5 Offline Client Guide

SEPTEMBER 2018 ORACLE PRIMAVERA UNIFIER UNIFIER CUSTOM PRINT USING EXTERNAL DATA MODEL

Transcription:

Including Dynamic Images in Your Report Purpose This tutorial shows you how to include dynamic images in your report. Time to Complete Approximately 15 minutes Topics This tutorial covers the following topics: Overview Prerequisites Adding and Loading a BLOB Column Creating a BLOB2CLOB Function Creating a Report Query and Report Layout Invoking the Report from an Application Page Summary Viewing Screenshots Place the cursor over this icon to load and view all the screenshots for this tutorial. (Caution: This action loads all screenshots simultaneously, so response time may be slow depending on your Internet connection.) Note: Alternatively, you can place the cursor over an individual icon in the following steps to load and view only the screenshot associated with that step. You can hide an individual screenshot by clicking it. Overview Beginning with Oracle Application Express 3.1, you can dynamically include images in your application. In this tutorial, you create a report query and layout that dynamically includes images in a PDF report. Back to Topic List Prerequisites Before you perform this tutorial, you should: 1. Perform the Creating a PDF Report with Multiple Queries tutorial. Back to Topic List

Adding and Loading a BLOB Column In this section, you alter the OEHR_EMPLOYEES table and add a BLOB column and load it with data. Perform the following steps: 1. Open a DOS command prompt and execute the addblobdata.sql script (you may need to modify this file and change the location of the directory). cd \<directory where you put zip files> sqlplus <schema name>/<schema password> @addblobdata 2. To view the data in the OEHR_EMPLOYEES table, Enter the following URL to log in to Oracle Application Express (change the <hostname> to localhost, your specific hostname or apex.oracle.com). http://<hostname>:8080/apex

3. To log in to Oracle Application Express, enter the following details, and click Login. Workspace: <your workspace name> Username: <your username> Password: <your password> 4. On the Workspace home page, click SQL Workshop. 5. Click Object Browser.

6. Select OEHR_EMPLOYEES from the list of tables. 7. Notice that the additional BLOB columns are now listed. Select the Data tab.

8. Scroll left to see the data for employees 101 and 103.

9. Notice that there is data for the FILENAME and MIMETYPE columns.

Back to Topic List Creating a BLOB2CLOB Function In order to include the BLOB in your PDF report, the data needs to be converted to CLOB base 64 encoded format. You will create a function to perform the conversion. Perform the following steps: 1. Select SQL Scripts from the list of Components. 2. Click Upload. 3. Click Browse... and select the blob2clobase64.sql file (located where you downloaded and unzipped the prerequisite files) and click Open.

4. Click Upload. 5. Click the script icon. 6. Click Run.

7. Click Run to confirm.

8. Click the View Results icon. 9. The blob2clobase64 function was created successfully. Back to Topic List Creating a Report Query and Report Layout In this section, you create a Report Query and a Report Layout. Perform the following steps: 1. Navigate to the Application Builder. Select the Printing Application.

2. Click Shared Components. 3. Under Reports, click Report Queries. 4. Click Create.

5. Enter blobquery for the Name and click Next. 6. Enter the following query and click Next. Notice that the SQL statement invokes the function you created in the previous section to convert the BLOB column PHOTO to CLOB based 64 encoded format. select employee_id, first_name ' ' last_name name, filename, mimetype, blob2clobase64(photo) photo from oehr_employees where photo is not null

7. Your query was created. Click Next. 8. Click Browse... and select the bloblist2.rtf file (located where you downloaded and unzipped the prerequisite files) and click Open. 9. Click Next.

10. If you haven't done so already, you need to first start BI Publisher. Double-click the Start BI Publisher icon on your desktop 11. Click Test Report.

12. Click Open. 13. The report is shown. When done viewing the report, close the window. 14. Click Finish.

15. Your Report Query and Report Layout were created successfully. In the next section, you create a button on your page to run the report. Select your Application breadcrumb. Back to Topic List Invoking the Report from an Application Page In this section, you invoke the report query from a page in your application. Perform the following steps: 1. Navigate to your Printing Application page. Click the Home page.

2. Click the Create Button icon. 3. Select the Home region and click Next.

4. Accept the default and click Next. 5. Enter Print Report with Images for Button Name and select Download printable report query for Action and click Next.

6. Accept the default and click Next. 7. Select [Top] from the list of quick links or select Top of Region from the drop down list and select Left for Alignment and click Next. 8. Select blobquery for the Report Query and click Create Button.

9. Your button was created successfully. Click Run. 10. You may be asked to login to the application. Enter your username and password and click Login. 11. Click Print Report With Images.

12. Click Open to open the PDF report. 13. The report is displayed. Back to Topic List Summary In this tutorial, you learned how to: Add and load a BLOB column Create a function that performs the BLOB to CLOB based 64 encoded format conversion Create a report query and layout Invoke the report from an application page

Place the cursor over this icon to hide all screenshots. Back to Topic List