Transfer blob betwean two Oracle Apex page - oracle-apex

On first oracle apex page (page_1) i have File Browse control and Storage Type (apex_application_temp_files).
Is it possible blob_content save in application data and use on other page (page_2).
On second page I have Processes and need insert this blob in database.

You can use APEX_COLLECTION to store the Blob
https://docs.oracle.com/database/121/AEAPI/apex_collection.htm

Related

Csv file uploader on APEX which previews the data on an interactive grid for editing?

Any resources on how I can create a csv file uploader on APEX which previews the data on an interactive grid for editing and changing data before uploading to a table?
Loading the csv:
Create a data load definition in shared components for your file, target type table. Create a table for this in which you'll temporarily store your data.
On the page, create a file upload item
In page processes, create a process of type Data Loading, use Data Load definition from step above.
Previewing the csv
Create an IG region on the table you use in Data Loading config.
When preview is complete, copy the data in to the actual table.
That is the raw outline of what you need to do, I left out the details. But there are plenty of resources on how to do each step avaiable on the web.

Oracle Apex insert data into OCI bucket

Hey every one I need a help, I have a OCI account and in my oracle apex I want to store the data into my OCI Object Storage Bucket, is there a way to store the data in the OCI Bucket Can anyone suggest a way to store and access the data in the oracle apex.
Using Object Storage for data/backup storage is an efficient practice to reduce workload on your Database. You can easily create, fetch and delete files of all sizes using PL/SQL and APEX.
For this I found this very helpful document which shall get you up to speed to implement the REST API.

Insert static data along with data loading wizard utility in Oracle APEX

I am new with Oracle APEX and trying to explore all options in APEX (5.1). My query is related to Data loading wizard in Oracle APEX. I created one table which has three columns, and I set up that table as Data Load Definitions.
This is the process that I expect through the data loading wizard:
In the first page of Data load Source, I created one radio page item and by selecting that, it should be assigned to the first column in the table.
I will upload a CSV file with two columns which will be assigned to the second and third columns.
So, whatever records are there in the CSV file, by selecting page item that static strings need to be inserted along with file data.
I Googled the same thing but I didn't find any proper solution for this requirement. If you can help me then it would be appreciated.
My preferred approach for this sort of thing is to use a staging table as the target of the Data Load wizard; then add a process at the end that copies the rows from the staging table to the final table, setting the static column(s) at the same time; then delete the rows from the staging table.
Note: add a column SESSION_ID to the table with a trigger that sets it to v('SESSION') so that the process will only pick up rows for the current user session.

How a variables retrieve and stores data

I working on a development on Oracle Application Express and I am new to this application.
I have a stored procedure that takes a variable from the Oracle APEX application when executed. A button triggers this action.
My PL/SQL code on Oracle APEX takes the file name I uploaded as parameter. See below code.
BEGIN
CLOSE_PO(:P_FILE_NAME );
END;
The file name is stored in a temporary table on the database.
Can anyone briefly explain how the variable in the PL/SQL code is able to retrieve the filename in the table?
I don't understand very well your question but I try to help.
In APEX you can upload files by creating in a region a File Browse item that manage the corresponding dialog and show the filename you select for uploading.
For the complete list of steps and items to create I use this documentation .
The file name is stored in the page item value (e.g. :P1_FILE_BROWSE).
The file is stored in the APEX table APEX_APPLICATION_FILES and it is possible to query it like
SELECT *
FROM APEX_APPLICATION_FILES
WHERE FIELNAME = :P1_FILE_BROWSE
In the PL\SQL for an action you can query the table and retrieve the variables you need to pass to stored procedure as parameters.

Anyone using a web service as a data source in Excel 2007?

Can I use a web service as a data source for creating Excel pivot tables?
Currently, the soure data for the pivot table is being exported from our SQL db to a CSV file. Then, the CSV file is loaded into a worksheet. From there, a pivot table is created in the same workbook.
Customers login to a website, click some links, and an excel file (with data and pivot table) is generated. This is a public app so the preference is to not connect directly to the DB.
We control the database and generate the output. We are looking to streamline this process. The SQL db and pivot tables can not / will not change.
See http://www.vertex42.com/News/excel-web-query.html
What format does the "public-facing website" use in making the data available? A data file, a table on a web page? This issue will determine how much of a scraping operation you'll need to do.
You'll still need to write the web service and have it run on a server. A possible alternative is to use Yahoo Pipes to do the conversions for you.