File Upload Configuration
& Display in Interactive Report – Oracle APEX
3.
Prerequisites
- Oracle
APEX access (Developer role)
- Database
table with BLOB column (e.g., DOCUMENTS)
- Required
columns:
- DOCUMENTS (BLOB)
- MIME_TYPE (VARCHAR2)
- DOCUMENT_NAME (VARCHAR2)
- CHAR_SET (VARCHAR2)
- Primary Key (e.g.,
MAINTENANCE_ID)
4. Procedure
Click Save & Run
4.3 File Upload Item Configuration
4.3.1 Configure Storage Attributes
|
Attribute |
Value |
|
BLOB Column |
Bill |
|
MIME Type Column |
MIME_TYPE |
|
Filename Column |
Bill_NAME |
|
Character Set Column |
CHAR_SET |
4.3.2 Set File Metadata Columns
- Copy
from database and map:
|
Database Column |
APEX Setting |
|
MIME_TYPE |
MIME Type
Column |
|
DOCUMENT_NAME |
Filename
Column |
|
CHAR_SET |
Character
Set Column |
4.3.3 Define File Types
- Go
to Storage → File Types
- Set
allowed types:
*.pdf, *.jpg
![]()
4.4 Download BLOB Configuration
- Go
to:
Documents Item → Identification
Set the following:
|
Property |
Value |
|
Type |
Download
BLOB |
|
|
|
|
BLOB Column |
BILL |
|
Primary Key Column |
MAINTENANCE_ID |
|
MIME Type Column |
MIME_TYPE |
|
Filename Column |
BILL_NAME |
|
Character Set Column |
CHAR_SET |

4.5 Testing
- Upload
a file from the form
- Save
the record
- Open
Interactive Report
- Verify:
- File size appears (via
DBMS_LOB.GETLENGTH)
- File download works
correctly
- Correct filename and MIME type.
![]()
Comments
Post a Comment