Store the output XML editor in the database blob column
HelloWe have a requirement to store the pdf files generated by several applications simultaneous xml editor in a database blob column, so that they can be recovered later, whenever required by the user. As far as we know, publisher concurrent request XML output files are stored on the node of simultaneous treatment and the location of the file does not exist in the FND_CONCURRENT_REQUESTS table. But these files to purge from time to time. We are therefore looking for a solution to store these files in the database to the display if necessary.
If someone knows a solution or can point me to the right direction, it would be much appreciated.
Thank you very much
Mary
Hi Mary,
You must load the PDF files in the database. Write a regular competitor program which monitors fnd_concurrent_requests and load a custom table or fnd_lobs with any editor of BI exit function application concurrent reading files. BI Publisher output files according to naming convention, so easy to find. http://garethroberts.blogspot.com/2008/07/where-do-i-get-XML-file-or-request.html
Kind regards
Gareth
Tags: Oracle Applications
Similar Questions
-
I have the table of 3 columns A, B, C. I want to store the sum of columns A B in the C column without using the DML statements. Can anyone help please how to do. ?
11.1 and especially you have virtual column
SQL> create table t 2 ( 3 a number 4 , b number 5 , c generated always as (a+b) virtual 6 ); Table created. SQL> insert into t (a, b) values (1, 2); 1 row created. SQL> select * from t; A B C ---------- ---------- ---------- 1 2 3
Before that, a front insert - trigger
SQL> create table t 2 ( 3 a number 4 , b number 5 , c number 6 ); Table created. SQL> create or replace trigger t_default before insert on t for each row 2 begin 3 :new.c := :new.a+:new.b; 4 end; 5 / Trigger created. SQL> insert into t (a, b) values (1, 2); 1 row created. SQL> select * from t; A B C ---------- ---------- ---------- 1 2 3
-
Why should store the database call should be server-side?
Hi gurus,
I use the tool obpm.
I have a requirement to store the data in the database. I catalogued the required tables. I wrote a so-called method "storeDetails" in which I'm defining all the required values in the DB and then object by calling the method of the store .
My question is why should he 'storeDetails' method is configured as a method on the server side?
Kind regards
NeyaThere is a misunderstanding common and essential to understand. Even today, some people think that BPM Oracle 10g supports not both server-side and client (things made from your browser by pressing the application of the workspace)-side (database calls, web service calls...).
Methods marked as server-side mean they need the Oracle BPM engine to make the connection (for example the thread pool of database for database calls). SQL calls are thus only by the engine (server side). Separate the features of the workspace (client side) and the engine (server side), is an important way that customers can improve performance because you can choose to group together or both. Keeping the side Server and client side separate, you can scale the workspace as your number of end users increase. You can scale your engines as your number of cases increases.
The engine can do tasks side server because it is what has been built to make. The workspace was built instead to do client-side UI and to publish data on end users, according to the needs.
Dan
-
How to make the image Inline source to read from database BLOB column?
Dear all
I have a database table that contains the BLOB column. And tif files in the BLOB column.
Now, I want to display the value of the BLOB file in af:inlineFrame.
I want to do this because I installed "AlternateTiff" on my browser to view tif files in the browser.
You can download it from http://www.alternatiff.com/
The inLine frame component has a property called 'Source '. The value of the "Source" property must be the location of the URI of the content you want to display in the example of frame.for online:
<f:facet name="second"> <af:inlineFrame id="if2" styleClass="AFStretchWidth" shortDesc="To browse the selected document" source="/temp/myFile.tif"/>
now, I want to change this example to read the content of the BLOB column.
IS this possible?
Thanks in advance
You must install a servlet which reads the data from the BLOB and represents the data structure. My blog http://wp.me/pcBZk-bU shoes how to proceed.
Timo
-
Output XML editor in different forrmat
Hello
Any help with the problem below would be very useful.
I have a xml data in the file that has the folloing loop structure:
-< G_REPORT >
-< G_HEADER >
XYZ < NAME > < / NAME >
< > 111 ADDR1 < / ADDR1 >
< / G_HEADER >
-< G_LINE >
< LINE_NUM > 1 < / LINE_NUM >
< TRX_NUM > < TRX_NUM > 11
< / G_LINE >
-< G_LINE >
< LINE_NUM > 2 < / LINE_NUM >
< TRX_NUM > < TRX_NUM > 22
< / G_LINE >
-< G_LINE >
< LINE_NUM > 3 < / LINE_NUM >
< TRX_NUM > < TRX_NUM > 33
< / G_LINE >
< / G_REPORT >
My model looks like this:
=============================
Header:
Name: <? NAME? >
Addr1: <? Addr1? >
< for each: G_LINE >
Line:
Line number: <? LINE_NUM? >
Transaction: <? TRX_NUM? >
< end: for each >
=============================
The release is expected as below:
=============================
Name: XYZ
Addr1: 111
Line number: 1
Transaction: 11
Line number: 2
Transaction: 22
Line number: 3
Transaction: 33
=============================
The header part should print on a single page, each part of the line should print in a new page. Thus the report above should be printing in 4 different pages.
But my State prints the output with line 1 continues soon after the header, 2 continuous line after line 1 and line 3 continued after line 2.
Please, help me to print each of these lines in a different page.Two options:
1. If your motive is just to have a line break, use front for each group of end
2. use for-each@section, if you want to reset the Group of numbers/print page information in the header/footer -
APEX 4.0.2 save BI report to the database Blob
I am applying it in APEX 4.0.2 with Database 11 g and Oracle BI Publisher 11. I have several buttons that call URLS like:
http://xx.xxx.x.xxx:9704/xmlpserver/public/invoice/invoice.XDO?_xpf= & _xpt = 0 & _xdo = % 2FPUBLIC % 2FINVOICE % 2FINVOICE. XDO & invoice_id = #INVOICE_ID #& _xt = test % 20INVOICE % 20Invoice & _XF = PDF & _xmode = 4
Our demand must record all reports generated by the user in a BLOB that can be viewed online or downloaded by a supervisor, etc..
Can someone help me with this or give me the steps to make this work?
Thank you very much!Hi Jeremiah,.
Check this box:
https://Apex.Oracle.com/pls/Apex/f?p=44785:24:1575913582888703:no:24:P24_CONTENT_ID, P24_PREV_PAGE:4070, 2
HTH
Zack -
Downloading files from the blob column
Hello
I had the file it is implemented for the database blob column using the document below:
http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#85
Now can someone please tell me how to download or view the file from the database blob column?
I use jdev 11
Thank youHello
At the end of your download method invoke:
ActualExceptionIter.executeQuery ();
Kuba
-
a list of all the tables, columns and their consntraints in the database
Hello
I need to write sql code which considers a list of all tables in the database, their columns and the primary or foreign key for each column (if any) and the refrence for each foreign key column.
Any ideas how ro?
DROP TABLE table_b; DROP TABLE table_a; -- CREATE TABLE table_a ( CONSTRAINT pk_table_a PRIMARY KEY (column_b) ,column_a INTEGER ,column_b INTEGER ); -- CREATE TABLE table_b ( column_c INTEGER ,column_d INTEGER CONSTRAINT fk_table_a REFERENCES table_a(column_b) ); -- SELECT utc.table_name ,utc.column_name ,CASE WHEN uc.constraint_type = 'P' AND position IS NOT NULL THEN uc.constraint_name END primary_key ,CASE WHEN uc.constraint_type = 'R' AND position IS NOT NULL THEN uc.constraint_name END foreign_key ,CASE WHEN uc.constraint_type = 'R' AND position IS NOT NULL THEN uc.r_constraint_name END referenced_key FROM user_tab_cols utc LEFT JOIN user_constraints uc ON (utc.table_name = uc.table_name) LEFT JOIN user_cons_columns ucc ON(ucc.table_name = utc.table_name AND utc.column_name = ucc.column_name AND uc.constraint_name = ucc.constraint_name) WHERE utc.table_name IN ('TABLE_A','TABLE_B');
TABLE_NAME COLUMN_NAME PRIMARY_KEY FOREIGN_KEY REFERENCED_KEY
TABLE_A COLUMN_B PK_TABLE_A
TABLE_A COLUMN_A
TABLE_B COLUMN_D FK_TABLE_A PK_TABLE_A
TABLE_B COLUMN_C
If you want to 'improve' the referenced_key column for the column referenced actually, you need to join user_cons_colums once again and use the column position.
Concerning
Marcus
-
Select the value of the field in the database column stores xml as a varchar
Hi all
Oracle version is 11 GR 2.
I have a column of a database in which we store the XML string varchar2.
"I need to extract only newvalue when field nameof the property ="modifiedBy'. '.
In this case my answer would be - maker16
My XML is as below.
with t as ( select '<?xml version="1.0" encoding="UTF-8"?> <changeinfo><property name="checkedOn" newvalue="03/21/2013 15:51:11" oldvalue="03/21/2013"/><property name="modifiedOn" newvalue="07/22/2013 14:04:55" oldvalue="03/21/2013"/><property name="phoneNo" newvalue="9942251"/><property name="modifiedBy" newvalue="maker16" oldvalue="clarissamaker"/></changeinfo>' as datacolumn FROM dual ) select extractvalue(datacolumn,'/changeinfo/property name[@property name="modifiedBy"]/newvalue') from t;
How to write a select statement to get the above result?
Thank you
SID
You can do it like
1. get the name and NewValue as columns and then create a filter with the WHERE clause.
2. or you can filter when you set the path itself.
--I have not applied the WHERE clause to filter the NAME. You can do that. SQL> with t as 2 ( 3 select ' 4
5 ' as datacolumn 10 FROM dual 11 ) 12 select t1.name, t1.newval 13 from t 14 , xmltable 15 ( 16 '/changeinfo/property' passing xmltype(datacolumn) 17 columns 18 name varchar2(100) path '@name', 19 newval varchar2(100) path '@newvalue' 20 ) t1; NAME NEWVAL ------------------------------ ------------------------------ checkedOn 03/21/2013 15:51:11 modifiedOn 07/22/2013 14:04:55 phoneNo 9942251 modifiedBy maker16 --This filters the Name attribute in the path definition itself. SQL> with t as 2 ( 3 select ' 46 7 8 9 5 ' as datacolumn 10 FROM dual 11 ) 12 select t1.newval 13 from t 14 , xmltable 15 ( 16 '/changeinfo/property[@name="modifiedBy"]' passing xmltype(datacolumn) 17 columns 18 newval varchar2(100) path '@newvalue' 19 ) t1; NEWVAL ------------------------------ maker166 7 8 9 And the $ 1 million question would be why VARCHAR2 type of XML data.
-
Call a BI of OAF editor report, then save the PDF output as a BLOB in the database
Hi all
I have a requirement to customize the iExpenses page.
I need to generate a PDF output with the detailed expenditures report when the user clicks on submit button to create an expense report.
I need to take this pdf file and attach it to the expense report itself (with attachments fnd)
I have an idea about creating a BEEP report and call it from the OFA.
Usually, we write the pdf to the outputstream and view the pdf in the browser / to the local machine.
Can someone send me some code examples to capture this pdf file and write back to the database as a BLOB.
Thanks in advance.
Arun...
You can do it in two phases. Get first the BI Publisher API part works so that it returns the PDF file in the browser. You can see how it is done here:
Once you have this work, your code will need to the pdf file in a stream of data that you can then write to a blob in a table. You can see an example of a blob in a table here:
Inserting BLOB using java for DB2 and Oracle - Stack Overflow
I hope this helps.
-
Excel output format in the xml editor question field
Hi all
I have a problem with the release of excel as below.
I developed a report to xml editor having exit excel, I designed the layout to the rtf model.
one of the parameters in the report as 11000048,11000050
so when I check the output excel the above setting is displayed as below.
1,100,004,811,000,050
But I need the parameter will be displayed in the format 11000048,11000050 , as written, please help me.
Thank you
Please try this
-
How to store data instead of memoryengine to the database when using XML file
Hi Experts,
I doubt that in XML for transferring data from the database.
Transfer of data from XML to the database tables will be store in memory for xml files, my goal is instead stored in the memory table engine
is it possible to store the data in the database itself...
I guess that when the size of the data increases say for example given huge amount, store as much data is the big issue here on the right, so to avoid this, is it possible to store
These data directly in the database level.
Please understand my requirement, either I have the explanation regarding my requirement and please help me how to do this job...
THX,
Sara.Remove the dp_doc = option Y of your url. It removes the schema whenever a new connection is created.
If you don't want to truncate the tables, I think you should also add the option dp_tbl = N.Kind regards
JeromeFr -
Questions of EXCEL output in the XML editor logo
Hello
We use the Publisher XML API to generate PDFS, EXCEL returns by using the template. When adding image for the model of its display in the output pdf file. But not in Excel output projection. Then I added url: {/ Image} in the text of the image in the template and submitted the report again now able to see the image output to excel. Can you please tell me why his does not display not not the picture in excel by default which is the line that goes in the case of PDF. IAM getting the same question for HTML output generation also. Please tell me what I can do to get the image by default identical to the way I'm in PDF format.
Thank you
Satyafor the xml editor:
How to determine the Version of the Publisher Oracle XML to Oracle E-Business Suite 11i and Release 12 [362496.1 ID]>
To resolve this problem, we need to make manual configuration image as menioned in the document 736897.1?
>
It is based on your report and your needsIt's may be:
-OA_MEDIA and url as the url: {' ${OA_MEDIA} / your_image'}
-URLs as interface http as url: {'http://www.servernews.ru/assets/images/articles/594131/OracleLogo.jpg'}
-logo by submodelthen you can try the logo by OA_MEDIA
-
We R12.1.3 eBS with the XML Editor, and generate reports using models created with MS Word to RTF. Is - this any way/API, to send the output from the XML Editor to get the list of receivers.
Thank you
Alex
Check this box
http://apps2fusion.com/at/49-PK/250-bursting-in-XML-bi-Publisher3
https://knoworacleapp.WordPress.com/tag/sample-XML-bursting-control-file-code/
-
Hi all
Here I have the image BLOB in the database files,
I want to show the image to PDF using file to rtf using Oracle Xml Desktop Publisher,
Hi all
I found the solution for reading Image BLOB of data base & display in Pdf format.
(1) read the image from DB.2) and then copy the picture using IO. UtilsCopy method to copy the picture
(3) then encode with base64 converter then you will get the tag XML with Base64 as string then placed in your XML Code & preview the output, you will find the image
Photo = (BlobDomain) currentRow.getAttribute ("Image"); ByteArrayOutputStream OutputStream = new ByteArrayOutputStream();
Byte [] imageByte; Byte [] b = null; try {} IOUtils.copy (photo.getInputStream (), outputStream); BS = outputStream.toByteArray (); outputStream.flush (); System.out.println("==="+BS.) Length); Encoded byte [] is Base64.encodeBase64 (bs).; encodedString = new String (encoded);
Maybe you are looking for
-
Problem occurred down the Satellite U200-170
Hello I am new to this so forgive me if the question was already asked. I just bought a Satellite U200-170, it was the last in the store and I don't didn't want to wait 2 weeks to get the laptop so I bought the showroom model (which is in perfect con
-
Want 5530: Printer does not print in black ink
I recently updated my HP 8.1 Windows of Windows 10 laptop. I have the same type of printer (Envy 5530) installed at my other House and updated my desktop computer for Windows 10 and had no problem with printing, but now I'm with the laptop. I try t
-
Pavilion dm4 - 3013cl - recovery deleted partition
I'm of the Brazil. On a trip to Hawaii in March 2012, a friend bought a HP Pavilion dm4 - 3013 cl entertainment pc, product number A6X70UA # ABA. Of course, it came in English. Given its difficulties with the use of the equipment, I proposed to insta
-
How to find the program that DEP closed?
DEP works fine, I just need to know what program had closed so I can fix.
-
can import you contacts mobile phone to your computer as a return to the top
I have a blackberry curve and wanted to add my contacts of the cell to my computer for backup... is it possible to do