Import Excel file to the Collection using XLS2COLLECTION
Hello
I try to load an Excel file (.) (XLS) using the APEX and the XLS2COLLECTION method. Our DBA has set up the listener to the APEX (version 2.0.5.287.04.27) and we are patched up to the latest version of the APEX (4.2.4.00.08). Our defaults.xml APEX listener parameters are set through SQL Developer:
< key "apex.excel2collection entry" = > true < / entry >
< key "apex.excel2collection.onecollection entry" = > false < / entry >
< key = "apex.excel2collection.name entry" > EXCEL_COLLECTION < / entry >
< key "apex.excel2collection.useSheetName entry" = > true < / entry >
In my application, I use authentication APEX. There is a page with the following commands:
Two elements
Name: P1_FILE
Display as: file browse...
Required value: No.
Storage type: table WWV_FLOW_FILES
Name: P1_UPLOAD
Action: Send the Page
Run Validations: Yes
Request button: XLS2COLLECTION
A report:
Title: results
Type: SQL query
Source of the region: select * from apex_collections (I fact as currently returning no lines)
After treatment of the branch
Name: Go to Page 1
Branch point: submit now: after Prrocessing (after calculation, Validation and treatment)
Target type: Page of this Application
Page: 1
Include the success of process message: checked
When I run the application, I select an Excel file, click Download and then went back on the same page where my report shows "no data found". If I question WWV_FLOW_COLLECTIONS$ a record has been inserted for the file I selected. Unfortunately there is no inserted line to WWV_FLOW_COLLECTION_MEMBERS$. If I request my Session in the APEX, there is no current collection. I am not sure now what to do next. I've searched the forums and most of the examples seem to be for the first version or a listener ai2 of APEX. All of the examples I've seen sounds as if it should be a very simple system to be implemented. Our DBA has tried to change some of the settings nothing works apex.execl2collection. I thought that perhaps I was destroying records in WWV_FLOW_COLLECTION_MEMBERS$ when I re-directed the page. So, I took this out so my page just submitted and sailed to a blank page. Same result.
Anyone would be able to offer help or pointers as to where we are going wrong please?
See you soon
Steve
Oracle responded to the SR and our DBA provided with instructions on how to install the previous patch. Essentially, we have removed the version control.
Tags: Database
Similar Questions
-
How to create and save the Excel file at the dam using java
I'm trying to create an excel spreadsheet and save it in the dam. I am able to create Excel in the dam, but no data is it than excel. I use the following codes to create.
String filename = "updatedMetadata.xls";
FileOutputStream fos = new FileOutputStream (filename);
Workbook WritableWorkbook is Workbook.createWorkbook (new File (filename));.
WritableSheet writableSheet = workbook.createSheet ("update metadata", 0);
Label = null;
label = new Label (0, 0, "Header1");
writableSheet.addCell (label);
label = new Label (0, 1, "tête2");
writableSheet.addCell (label);
label = new Label (0, 2, "Header3");
writableSheet.addCell (label);
label = new Label (0, 3, "Header4");
writableSheet.addCell (label);
label = new Label (0, 4, "Header5");
writableSheet.addCell (label);
label = new Label (0, 5, "Header6");
writableSheet.addCell (label);
label = new Label (0, 6, "Header7");
writableSheet.addCell (label);
label = new Label (0, 7, "Header8");
writableSheet.addCell (label);
label = new Label (1, 0, "col val");
writableSheet.addCell (label);
label = new Label (1, 1, "col val");
writableSheet.addCell (label);
label = new Label (1, 2, "col val");
writableSheet.addCell (label);
label = new Label (1, 3, "col val");
writableSheet.addCell (label);
label = new Label (1, 4, "Col. val" "");
writableSheet.addCell (label);
label = new Label (1, 5, "col val");
writableSheet.addCell (label);
label = new Label (1, 6, "col val");
writableSheet.addCell (label);
label = new Label (1, 7, "col val");
writableSheet.addCell (label);
label = new Label (2, 0, "col val");
writableSheet.addCell (label);
label = new Label (2, 1, "col val");
writableSheet.addCell (label);
label = new Label (2, 2, "col val");
writableSheet.addCell (label);
label = new Label (2, 3, "col val");
writableSheet.addCell (label);
label = new Label (2, 4, ' Col. val "" ");
writableSheet.addCell (label);
label = new Label (2, 5, "col val");
writableSheet.addCell (label);
label = new Label (2, 6, "col val");
writableSheet.addCell (label);
label = new Label (2, 7, "col val");
writableSheet.addCell (label);
Workbook.Write ();
Workbook.Close ();
ResourceResolver resourceResolver = request.getResourceResolver ();
AssetManager Manager = resourceResolver.adaptTo (AssetManager.class);
InputStream is = this.getClass () .getResourceAsStream ("/ content/dam/company/fileFolder /" + filename);
Element element = manager.createAsset ("/ content/dam/company/fileFolder /" + name of file, is, "application / vnd.ms - excel", true);
File is created in the path "/ content/dam/company/fileFolder / '.
The file name is "updatedMetadata.xls".
Thanks in advance
Mahesh Narayanan
I found it myself. I share the code so that in the future someone else can use it.
String filename = "updatedMetadata.xls";
ExcelFile to the file = new File (filename);
Workbook WritableWorkbook = Workbook.createWorkbook (excelFile);
WritableSheet writableSheet = workbook.createSheet ("update metadata", 0);
Label = null;
label = new Label (0, 0, "Header1");
writableSheet.addCell (label);
label = new Label (0, 1, "tête2");
writableSheet.addCell (label);
label = new Label (0, 2, "Header3");
writableSheet.addCell (label);
label = new Label (0, 3, "Header4");
writableSheet.addCell (label);
label = new Label (0, 4, "Header5");
writableSheet.addCell (label);
label = new Label (0, 5, "Header6");
writableSheet.addCell (label);
label = new Label (0, 6, "Header7");
writableSheet.addCell (label);
label = new Label (0, 7, "Header8");
writableSheet.addCell (label);
label = new Label (1, 0, "col val");
writableSheet.addCell (label);
label = new Label (1, 1, "col val");
writableSheet.addCell (label);
label = new Label (1, 2, "col val");
writableSheet.addCell (label);
label = new Label (1, 3, "col val");
writableSheet.addCell (label);
label = new Label (1, 4, "Col. val" "");
writableSheet.addCell (label);
label = new Label (1, 5, "col val");
writableSheet.addCell (label);
label = new Label (1, 6, "col val");
writableSheet.addCell (label);
label = new Label (1, 7, "col val");
writableSheet.addCell (label);
label = new Label (2, 0, "col val");
writableSheet.addCell (label);
label = new Label (2, 1, "col val");
writableSheet.addCell (label);
label = new Label (2, 2, "col val");
writableSheet.addCell (label);
label = new Label (2, 3, "col val");
writableSheet.addCell (label);
label = new Label (2, 4, ' Col. val "" ");
writableSheet.addCell (label);
label = new Label (2, 5, "col val");
writableSheet.addCell (label);
label = new Label (2, 6, "col val");
writableSheet.addCell (label);
label = new Label (2, 7, "col val");
writableSheet.addCell (label);
Workbook.Write ();
Workbook.Close ();
ResourceResolver resourceResolver = request.getResourceResolver ();
AssetManager Manager = resourceResolver.adaptTo (AssetManager.class);
InputStream stream = new FileInputStream (excelFile);
Element element = manager.createAsset ("/ content/dam/company/fileFolder /" + name of file, is, "application / vnd.ms - excel", true);
-
import 1 file to the wrong file. How to correct?
import 1 file to the wrong file. How to correct?
First of all, make sure that you have backups of all your photos before doing this.
In Lightroom, drag the folder in the Control Panel folder to the new location of the file where you want it to be.
Another method: in your operating system, COPY (and not move) the photos where you want them to be. then in Lightroom with the right button on the folder and select the folder location of updated and point to the new location of the photos; Once this does not work, delete pictures from their original location using your operating system.
-
Not possible to export a list of virtual machines that are created in the past 7, 30, 120 and 180 days since an imported csv file containing the date of creation of virtual machine. My questions is the correct statement to the variable: $VmCreated7DaysAgo: $_CreatedOn "-lt" $CDate7.
# #SCRIPT_START
$file = "C:\Users\Admin\Documents\WindowsPowerShell\08-18-2014\VM-Repo.csv".
$Import = import-csv $file
$VMCreatedLast7RDayRepoFile = "C:\Users\Admin\Documents\WindowsPowerShell\08-18-2014\Last7Days.csv".
$start7 = (get-Date). AddMonths(-1)
$CDate7 = $start7. ToString('MM/dd/yyyy')
$VmCreated7DaysAgo = $Import | Select-object - property name, Powerstate, vCenter, VMHost, Cluster, file, Application, CreatedBy, CreatedOn, NumCpu, MemoryGB | Where-Object {$_.} CreatedOn - lt $CDate7} | Sort-Object CreatedOn
$TotalVmCreated7DaysAgo = $VmCreated7DaysAgo.count
$VmCreated7DaysAgo | Export-Csv-path $VMCreatedLast7RDayRepoFile - NoTypeInformation - UseCulture
Write-Host "$TotalVmCreated7DaysAgo VMs created in 7 days" - BackgroundColor Magenta
Invoke-Item $VMCreatedLast7RDayRepoFile
# #SCRIPT_END
You can use the New-Timespan cmdlet in the Where clause, it returns the time difference between 2 DateTime objects.
An example of this cmdley
New-TimeSpan-start (Get-Date). AddDays(-7)-end (Get-Date). Select days - ExpandProperty
In your case, you could do
Where {(New Timespan-démarrer ([DateTime] $_.))} CreatedOn) - end $start7). {7 days - gt}
But beware of negative numbers.
-
Hello Adobe community!
So basically...
I have a sentence in my PDF showing "click here". I want to join this text that goes to an Excel file that I attached using the "Attach a file" link.
I did successfully this link to another PDF but an Excel file seems to require a different process.
This link must remain intact, it will be sent around a large organization.
Any help will be greatly appreciated.
Max
XOXOYou can use the JavaScript doc.launchDataObject method. It is documented in the Acrobat JavaScript reference. If you set the nLaunch parameter, it can prompt the user to open the attachment.
-
can not import avi files in the pse12 catalogue
I was wondering if anyone else is having a problem with import avi (my Nikon D5000 video files) in the catalogue of PSE 12.
Windows 7 SP1 with all updates.
The camera is a Nikon D5000
type of file is AVI
Whenever I go to import an AVI (my SD card or my HARD drive) Organizer comes up with the message that it has stopped working and windows is looking for a solution.
I don't shoot much video so it is not a big concern, but it used to work in previous versions of the EP.
Any help with this issue is appreciated.
Ray
I found it does not take much for the organizer of items 12 to shake an organizer of items received to close the message.
Are you sure that there is one on a relationship between your import .avi files in the catalog and the message?
I checked online and found that your camera is probably the record to give you the video files in MotionJPEG.avi. This can be a problematic format in time (especially on the forehead of Premiere Elements). Your camera is equipped with a utility that could introduce the video codec? Sometimes it's a draw on the question of whether the video codec is installed compared to the failure of the program to recognize.
Later.
RTA
-
How import us files in the drop box in Photoshop. Thank you
How import us files in the drop box in Photoshop. Thank you
Hello
Click file > open and and browse to the location where the dropbox files.
Thank you
-
Is it possible to import Raw files into the LR catalog...... including all changes in an external file raw editor such as Capture One?
I can import the Raw file successfully, but can't see all the changes that have been applied in Capture One. IM assuming not, but just to check.
Your assumption is correct, Capture One, Lightroom and other third party raw processors have their own exclusive process and profiles to render the raw data.
They do not make permanent changes to the raw data and save changes to a .xmp file or to a Lightroom catalog file.
-
How to import data in Excel sheet to the database using ADF BC
Hello
Can someone help me in suggesting how to import data from excel to database.
Thank you
Kunal Sharma
Hello
You can use the API to read each line of the file excel with your application and the creation of lines for each line that you read.
See link
http://www.codejava.NET/coding/how-to-read-Excel-files-in-Java-using-Apache-POI
-
Error importing CSV files with "hidden" characters using the external Table
Hi people
Bit of a strange here.
Well, we are accustomed to the use of the external Table method to load data from CSV files in the database, but a recent event presented us a problem.
We have received some CSV files that "look like" regular CSV files, but Oracle will not load them.
When we looked at the CSV using VIM on a UNIX machine, we saw the following characters 'hidden' between each regular character in the file.
If a string that looks like this when opened in Excel/Wordpad etc.^@
Looks like this when exmained with VIM"TEST","TEXT"
Has anyone encountered this before?^@"^@T^@E^@S^@T^@"^@,^@"^@T^@E^@X^@T^@"
Thank you very much
Simon Gadd
Oracle 11g 11.2.0.1.0Hi Simon,.
^ @ represents the ZERO character (0x00).
So, most likely, you have a file encoded in Unicode.You need to specify the character set in the record specification (and if necessary the byte order mark), for example:
CREATE TABLE ext_table ( col1 VARCHAR2(10), col2 VARCHAR2(10) ) ORGANIZATION EXTERNAL ( TYPE ORACLE_LOADER DEFAULT DIRECTORY dump_dir ACCESS PARAMETERS ( RECORDS DELIMITED BY ' ' CHARACTERSET 'UTF16' FIELDS TERMINATED BY ',' ) LOCATION ('dump.csv') ) REJECT LIMIT UNLIMITED;
http://download.Oracle.com/docs/CD/E11882_01/server.112/e16536/et_params.htm#i1009499
-
Import Excel file into address book Thunderbird
An Excel file can be imported into the Thunderbird AddressBook? If so, how?
Save the worksheet to a CSV file, which can be imported into Thunderbird address book.
This article lists the fields that can be used by Thunderbird. You will facilitate the import process if you can organize your spreadsheet/CSV file to match.
Here is some info about the import process.
-
How to import Excel file to GUI of LabWindow
Does anyone know how to import the Excel file to LabWindow CVI GUI. Thank you
It is not clear to me that you want to embed an Excel described in a panel of CVI or import data from the worksheet. CVI is delivered with an instrument ActiveX that you can use for reading Excel interface / write data from files. Otherwise, CVI can host Excel documents and interact with them. All these activities are conducted via a special instrument of ActiveX (Excel2000.fp).
Interaction with Excel was often treated in the forums you can perform a query to extract useful information. There are also several examples that you can download and study to understand how to use these instruments: some of them are listed on this page.
-
Import Excel file into oracle Apex table
Hello
using the Application Express 4.2.5.00.08
Oracle 11g.
My question is how do I import data into oracle using the APEX of EXCEL file table please? Any other file format.
Thank you very much
RI
Irha10 wrote:
using the Application Express 4.2.5.00.08
Oracle 11g.
My question is how do I import data into oracle using the APEX of EXCEL file table please? Any other file format.
-
Hi all
I am a new Member of this forum so Hello to everyone. I have a simple question to ask. I have a file of expenditure data in excel that I created by export my data from expense of P6. I made a few edits on the file and imported to P6. But the primavera has not imported the 'unit price' and "fees of category" columns. Can someone help me on this? You can access the file
http://CID-59230355bf5ddc5e.SkyDrive.live.com/self.aspx/public/CSM%20Primavera%20Budget%20Link.xls
Thanks in advance...user12217008 wrote:
Hi allI am a new Member of this forum so Hello to everyone. I have a simple question to ask. I have a file of expenditure data in excel that I created by export my data from expense of P6. I made a few edits on the file and imported to P6. But the primavera has not imported the 'unit price' and "fees of category" columns. Can someone help me on this? You can access the file
http://CID-59230355bf5ddc5e.SkyDrive.live.com/self.aspx/public/CSM%20Primavera%20Budget%20Link.xls
Thanks in advance...
Of the column titles an asterisk (*) are not able to be imported.
I suggest to download the worksheet Dictionary60.xls of POINT and use it to change your $/ unit
-
By clicking on the links to files that Excel, used to work. In the last weeks of 2 (?) files are not open. I want to talk of the basic old .xls files.
Clicking once, opens the Excel software only.
Double click on open two windows with empty Excel software.
By clicking on one to open the software. And then to go back to click a second time open the actual file.On all clicks, download popup box indicates the file to download. And no it does not appear on my desktop or in any other file.
What you have in the following list - mine are all set to "always ask":
Orange Firefox button or classic menu Tools > Options > Applications
In the search above the list box, type or paste Excel to filter the list.
You have additional modules related to the registration or downloading files that may affect the .xls files? You can review your modules here:
Orange Firefox button or classic menu Tools > Modules
Check the Extensions and Plugins categories.
Maybe you are looking for
-
Why a software aplicaion automaticly open Firefox and get installed on my computer?
I was with internet explore and an aplicaion of NCN SOFTWARE installed itself by opening Firefox. Why?
-
Since going to El Capitan, my Mac Mini makes me want to cry
Operating system: OS x El Capitan 10.11.3 (15 d 21) Hardware: Mac mini (end of 2012), 2.5 GHz Intel Core i5, 8 GB 1600 MHz DDR3, Intel HD 4000 1536 MB graphics card Experience: the worst! Since El Capitan installation my Mac has become a nightmare. E
-
Exchange motherboard intel with amd one?
I have a HP dv6-1230us. initially, it came with a motherboard intel with a core 2 duo cpu. I would like to change for an amd one because I love graphic integrated better than Intel amd (and it's a upgrade relatively cheaper than buying a new gaming m
-
I uninstalled service pack 1, but FSX itself does not uninstall even if she goes through all the motions. Any ideas?
-
I got a phone call offering to clear my computer of malicious files
Original title: telephone contact - maintenance I got a phone call offering to clear my malicious files - remote computer or showing them myself first. I share the concerns that I had never heard of the vocations of the front window, and she says it'