OPA can produce Excel or XML files at the end of an interview?
OPA to use BI Publisher to output PDF or PDF/A files at the end of an interview is a piece of cake. In the Office of BI Publisher there are options for the use of the model output in several different file formats, but I have not seen a way to do it in the OPA. The new button in the OPA in the Forms tab only generates a RTF.
The form template is always RTF. You specify the type of the form file when it is added in the interview:
Tags: Oracle Applications
Similar Questions
-
How can I access my PhotoShop files after the end of my free trial? (Mac OS)
How can I? Support cat Adobe said they couldn't help me. I don't think I pay Adobe PhotoShop to access the files that I legally own (must love what they teach you all copyright to the school) who are on my own personal computer. This isn't the biggest deal in the world, but I spent a few hours on the files.
The files must be stored on your computer.
-
Generate a single XML file of the multiple JDBC result set
Hello
I need to create a single XML file of the multiple result set. The code below is to generate a XML signle leave a single result set, but suppose we have five different tables in the same database and the tables aren't relalted to the other.
for example: select * from SAMPLE_PRODUCT
Select * command
Select * LOGISTICS... and many others.
You can create multiple sets of results by top queries but how can write all values using a JDBC result set in a single xml file? Help, please.
a signle file xml from one generator result
import java.io.StringWriter;
import java.sql.Connection;
to import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
Import javax.xml.parsers.DocumentBuilder;
Import javax.xml.parsers.DocumentBuilderFactory;
Import javax.xml.transform.OutputKeys.
Import javax.xml.transform.Transformer;
Import javax.xml.transform.TransformerFactory;
Import javax.xml.transform.dom.DOMSource;
Import javax.xml.transform.stream.StreamResult;
to import org.W3C.DOM.document;
Import org.w3c.dom.Element;
public class JDBCToXML {}
Public Shared Sub main (string args []) throws Exception {}
DocumentBuilderFactory plant = DocumentBuilderFactory.newInstance ();
DocumentBuilder builder = factory.newDocumentBuilder ();
Doc document = builder.newDocument ();
Element results = doc.createElement ("Results");
doc.appendChild (results);
Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con = DriverManager
.getConnection("jdbc:odbc:RIS","USER","USER");
ResultSet rs = con.createStatement () .executeQuery ("select * from SAMPLE_PRODUCT");
ResultSetMetaData rsmd = rs.getMetaData ();
int colCount = rsmd.getColumnCount ();
While (RS. Next {}
Element line = doc.createElement ("Row");
results.appendChild (row);
for (int i = 1; i < = colCount; i ++) {}
String columnName = rsmd.getColumnName (i);
Object value = rs.getObject (i);
Element node = doc.createElement (columnName);
node.appendChild (doc.createTextNode (value.toString (()));
row.appendChild (node);
}
}
DOMSource domSource = new DOMSource (doc);
TransformerFactory tf = TransformerFactory.newInstance ();
Transformer transformer = tf.newTransformer ();
transformer.setOutputProperty (OutputKeys.OMIT_XML_DECLARATION, 'yes');
transformer.setOutputProperty (OutputKeys.METHOD, "xml");
transformer.setOutputProperty (OutputKeys.ENCODING, "ISO-8859-1");
StringWriter sw = new StringWriter();
StreamResult sr = new StreamResult (sw);
transform. Transform (domSource, sr);
System.out.println (SW. ToString());
con. Close;
RS. Close();
}
}
Thank you
Sumit
Published by: user8687839 on April 4, 2012 23:04
Published by: user8687839 on April 4, 2012 23:09As EJP says, you really want to get the data in a single request, if possible (and I don't see why that shouldn't be the case).
In fact, you really want to get this query to return the data as close the format you need as you can.If you did this on Oracle, for example, I'd get Oracle to produce XML that you can then turn (assuming that you could not itself produce the XML you want directly).
In your case, using some db (access?), and then just get the line structure such as the conversion to XML involves the least amount of faffing about.Rethink the SQL and the rest should be easy.
-
RSS feeds save in the xml file in the device memory
Hello
I'm in the analysis of an RSS feed with SAX parser. Now, I want to record the first RSS an xml file in the memory of the device or on the SD card. Can someone guide me through this process
To write in an XML rss content, start by creating the file with the extension ".xml" with the help of the FileConnection API, then write content (rss data) in the XML file.
You can use code below to write the content in the file. We must give the path as a string & content in byte format.
public boolean writeFile(String path, byte[] data) { javax.microedition.io.Connection c = null; java.io.OutputStream os = null; try { c = javax.microedition.io.Connector.open("file:///" + path, javax.microedition.io.Connector.READ_WRITE); javax.microedition.io.file.FileConnection fc = (javax.microedition.io.file.FileConnection) c; if (!fc.exists()) fc.create(); else fc.truncate(0); os = fc.openOutputStream(); os.write(data); os.flush(); return true; } catch (Exception e) { return false; } finally { try { if (os != null) os.close(); if (c != null) c.close(); } catch (Exception ex) { ex.printStackTrace(); } } }
-
Approach to analyze the large number of XML files in the relational table.
We are studying the possibility of XML DB to treat a large number of files from same day.
The goal is to parse the XML file and store it in several relational tables. Once in the relational table don't care us about the XML file.
The file cannot be stored on the file server and must be stored in a table before analysing because of security concerns. A third-party system will send the file and it will store in the XML database.
The file size can be between 1 MB to 50MB and high performance is very that much is expected of other wise men, that the solution will be discarded.
Although we have no of XSD, the XML file is well structured. We are 11g Release 2.
Based on the reading, that's what my approach.
1. CREATE THE DONNEES_XML TABLE
(xml_col XMLTYPE)
XMLTYPE xml_col STORE AS BINARY XML NAVIGATION;
2. third will store the data in the donnees_xml table.
3. create XMLINDEX on the unique XML element
4 create XMLTYPE views
CREATE OR REPLACE FORCE VIEW (V_XML_DATA)
SType,
Mtype,
MNAME,
ROT
)
AS
SELECT x."Stype"
x."Mtype."
x."Mname"
x."ROT".
OF data_table t,.
XMLTABLE)
' / SectionMain'
PASSAGE t.data
COLUMNS Stype VARCHAR2 (30) PATH "Stype"
Mtype VARCHAR2 (3) path "Mtype."
MNAME VARCHAR2 (30) PATH "MNAME"
ROT VARCHAR2 (30) PATH "OID") x;
5. loading mass analysis of data in the staging table based on the column in the index.
Please comment on the process that precedes any suggestions that can improve the performance.
Thank you
AnuragTPASSAGE t.xml_col<--WHAT will="" passing="" here="" since="" no="">--WHAT>
If you are using an XMLType Table, instead of an XMLType column reference, you are referring to the contents of XMLType while using the NICKNAME "OBJECT_VALUE" column
If--> t.object_value
-
Export release build, not including data XML files in the apk package
Hi, all.
I have a flash pro project I packed for AIR according to these steps:
There are two differences:
- I am loading XML from right next to the swf files
- The Flash Pro project and the project Mobile share a directory that is outside of these two projects (this was the workflow already established in the public Service, given that several sovereign wealth funds share the same XML file).
When I test this on my phone, it adds the XML files to the apk and everything works great. The problem I have is that the export Release Build does not include XML files, and I don't see anything in the Flash Builder interface that looks like it will allow me to add more files than the swf file and the app.xml.
What Miss me?
Love - your comments helped me to think about this and get to the essential part that missed me. I've marked it useful, because it has shown the way.
I'm not a big fan of scoring own "correct" answers, but I'll do this time so that people can easily find the steps.
The error I thought that the "Debug on the device" was wrong to get an AIR debug version, because the swf file was not a debug swf.
I did not understand that if I clicked on the button run, it would also be a version out to push to the unit, and that this version would not give the message "waiting to connect to the debugger.
The entire process that you get when you click on 'Run' is a little weird (I say this to those who have never tried). It will install the application on the device, but does not launch (I think that this is impossible). Flash Builder crashes and then in "Installation application to the device. If you look at the screen, you will see a new download in your notifications bar, and from here you can launch the application.
To summarize:
- To start your swf Flash Pro package for Air using Flash Builder, follow the steps in Renaun (http://renaun.com/blog/2011/09/using-flash-builders-mobile-workflow-with-flash-professiona l-projects /)
- Doing this work on Mobile, you have probably installed on your phone in debug version. This uninstall using Astro File Manager (https://play.google.com/store/apps/details?id=com.metago.astro&hl=en)
- Instead click the "Debug" button in Flash Builder, click on 'run '. This makes an apk without debugging and pushed back them to your phone (if your Setup allows debugging of the device).
Additional notes: If you have xml files that are packaged in the apk file and you are using URLLoader (because the app originated as a web application), add "app: /" at the beginning of the URL string you use. Thus, "xml/myFile.xml" becomes "app:/xml/myFile.xml". If you need to keep your original web application logic, add a conditional on Capabilities.playerType == "Desktop. »
Hope this helps someone else with the same problems
-
How can I copy an .exe file of the winow downloads on my hard drive?
the header is the question
"How can I copy an .exe file of the winow downloads on my hard drive?
If the file is always displayed in the Download Manager window, then you can use open folder on the shortcut menu. If this entry is grayed out then the file is no longer at this location to download. Possible causes are cleaning software or anti-virus that deleted the file.
-
I can't drag and drop files in the trash, error code-43 is detected, what should I do? What is an error code - 43?
You can't empty the trash or move a file to the trash
If the above does not help, then see below:
Visit The FAQ XLab and read the FAQ on the waste problems. You can also try using Trash it! 5.1 to solve the problem. Or you can try this:
Open the Terminal in the Utilities folder, and paste the following at the command prompt:
sudo rm - Rf ~ /. Trash
Press RETURN. Enter your administrator password when prompted. It will not echo to screen. Press RETURN again.
(Someone should tell you that it is dangerous or useless, please disregard the comment.)
-
How can I register several OCX files at the same time
How can I register several OCX files at the same time. OCX depending on the application files are stored in a network location, IE. R:\HR\whatever\whatever\*. OCX instead of manually record each ocx file, I would be with a simple batch file or an automated script. Anyone have any good ideas?
Hi James,
The Microsoft Answers community focuses on the context of use. Please join the professional community of COMPUTING in following the link MSDN forum
-
How can I move all my files from the user from one user to another on my pc?
original title: moving files
How can I move all my files from the user from one user to another on my pc?
Log an administrator account. Open your folder 'user '. Select all the files, copy them, and paste them into the other folder 'user '.
-
I can't upload a pdf file to the cloud. Is it because I have attatched pictures?
I can't upload a pdf file to the cloud. Is it because I have attatched pictures?
You may consult the following link:
Could you please let me know what happens when you try to download the pdf file in the cloud?
Have you tried to download another pdf file?
Thank you
Shivam
-
How can I add a PDF file to the page in the site Web of Muse?
How can I add a PDF file to the page by Muse?
Hello Gini1950,
In case you want visitor to click a button and open the PDF file in the browser, you can try following:
1. create a button (Rectangle or text box)
2. click on the button and go to the hyperlink menu and click on "link to file".
3. navigate to the PDF file and select it.
This will create a hyperlink to the file and it will open in the browser if someone clicks on the button.
Please let me know if you are trying to achieve something else.
Kind regards
Vivek
-
How can I combine two PDF files on the same page?
How can I combine two PDF files on the same page? Please share any ideas you may have. Thank you.
The term for what you want to do is called "page imposition. There are third party tools that can do it for you like this: quite large: home page
-
Error loading XML file in the column of XMLTYPE through SQL loader
Hi gurus,
I am trying to load the XML file into the column of XMLTYPE through SQL Loader but the errors themselves. Here are the details
Databases
The table structureSQL*Plus: Release 10.2.0.3.0 - Production on Tue Jul 24 17:17:55 2012 Copyright (c) 1982, 2006, Oracle. All Rights Reserved. Connected to: Oracle Database 10g Release 10.2.0.3.0 - 64bit Production BANNER ---------------------------------------------------------------- Oracle Database 10g Release 10.2.0.3.0 - 64bit Production PL/SQL Release 10.2.0.3.0 - Production CORE 10.2.0.3.0 Production TNS for Linux: Version 10.2.0.3.0 - Production NLSRTL Version 10.2.0.3.0 - Production
XML (simple.xml) fileCREATE TABLE TH_XML ( COL_ID_1 VARCHAR2(100 BYTE), IN_FILE_1 XMLTYPE ) XMLTYPE IN_FILE_1 STORE AS CLOB (TABLESPACE SMDAT)
Control file<?xml version="1.0"?> <catalog> <book id="bk101"> <author>Some Author1</author> <title>Some Title1</title> <genre>Computer</genre> <price>44.95</price> <publish_date>2000-10-01</publish_date> <description>creating applications</description> </book> <book id="bk112"> <author>Some Author2</author> <title>Some Title2</title> <genre>Computer</genre> <price>49.95</price> <publish_date>2001-04-16</publish_date> <description>Microsoft Visual Studio 7 is explored in depth</description> </book> </catalog>
LOG fileLOAD DATA INFILE 'c:\simple.xml' APPEND INTO TABLE TH_XML XMLTYPE(in_file_1) ( col_id_1 filler CHAR (100), in_file_1 LOBFILE(CONSTANT "c:\simple.xml") TERMINATED BY EOF )
I get error ORA-00904: "SYS_NC_ROWINFO$": invalid identifier in the logfile (mentioned above). Could someone help me know where I am doing wrong?SQL*Loader: Release 10.2.0.3.0 - Production on Tue Jul 24 16:42:25 2012 Copyright (c) 1982, 2005, Oracle. All rights reserved. Control File: c:\my_file.ctl Data File: c:\simple.xml Bad File: c:\simple.bad Discard File: none specified (Allow all discards) Number to load: ALL Number to skip: 0 Errors allowed: 50 Bind array: 64 rows, maximum of 256000 bytes Continuation: none specified Path used: Conventional Table TH_XML, loaded from every logical record. Insert option in effect for this table: APPEND Column Name Position Len Term Encl Datatype ------------------------------ ---------- ----- ---- ---- --------------------- COL_ID_1 FIRST 100 CHARACTER (FILLER FIELD) IN_FILE_1 DERIVED * EOF CHARACTER Static LOBFILE. Filename is c:\simple.xml Record 1: Rejected - Error on table TH_XML. ORA-00904: "SYS_NC_ROWINFO$": invalid identifier Record 2: Rejected - Error on table TH_XML. ORA-00904: "SYS_NC_ROWINFO$": invalid identifier Record 3: Rejected - Error on table TH_XML. ORA-00904: "SYS_NC_ROWINFO$": invalid identifier Record 4: Rejected - Error on table TH_XML. ORA-00904: "SYS_NC_ROWINFO$": invalid identifier Record 5: Rejected - Error on table TH_XML. ORA-00904: "SYS_NC_ROWINFO$": invalid identifier Record 6: Rejected - Error on table TH_XML. ORA-00904: "SYS_NC_ROWINFO$": invalid identifier Record 7: Rejected - Error on table TH_XML. ORA-00904: "SYS_NC_ROWINFO$": invalid identifier Record 8: Rejected - Error on table TH_XML. ORA-00904: "SYS_NC_ROWINFO$": invalid identifier Record 9: Rejected - Error on table TH_XML. ORA-00904: "SYS_NC_ROWINFO$": invalid identifier Record 10: Rejected - Error on table TH_XML. ORA-00904: "SYS_NC_ROWINFO$": invalid identifier Record 11: Rejected - Error on table TH_XML. ORA-00904: "SYS_NC_ROWINFO$": invalid identifier Record 12: Rejected - Error on table TH_XML. ORA-00904: "SYS_NC_ROWINFO$": invalid identifier Record 13: Rejected - Error on table TH_XML. ORA-00904: "SYS_NC_ROWINFO$": invalid identifier Record 14: Rejected - Error on table TH_XML. ORA-00904: "SYS_NC_ROWINFO$": invalid identifier Record 15: Rejected - Error on table TH_XML. ORA-00904: "SYS_NC_ROWINFO$": invalid identifier Record 16: Rejected - Error on table TH_XML. ORA-00904: "SYS_NC_ROWINFO$": invalid identifier Record 17: Rejected - Error on table TH_XML. ORA-00904: "SYS_NC_ROWINFO$": invalid identifier Record 18: Rejected - Error on table TH_XML. ORA-00904: "SYS_NC_ROWINFO$": invalid identifier Record 19: Rejected - Error on table TH_XML. ORA-00904: "SYS_NC_ROWINFO$": invalid identifier Record 20: Rejected - Error on table TH_XML. ORA-00904: "SYS_NC_ROWINFO$": invalid identifier Record 21: Rejected - Error on table TH_XML. ORA-00904: "SYS_NC_ROWINFO$": invalid identifier Record 22: Rejected - Error on table TH_XML. ORA-00904: "SYS_NC_ROWINFO$": invalid identifier Record 23: Rejected - Error on table TH_XML. ORA-00904: "SYS_NC_ROWINFO$": invalid identifier Table TH_XML: 0 Rows successfully loaded. 23 Rows not loaded due to data errors. 0 Rows not loaded because all WHEN clauses were failed. 0 Rows not loaded because all fields were null. Space allocated for bind array: 256 bytes(64 rows) Read buffer bytes: 1048576 Total logical records skipped: 0 Total logical records read: 23 Total logical records rejected: 23 Total logical records discarded: 0 Run began on Tue Jul 24 16:42:25 2012 Run ended on Tue Jul 24 16:42:26 2012 Elapsed time was: 00:00:00.23 CPU time was: 00:00:00.05
Thanks in advance.
Published by: 876991 on 24 July 2012 14:18Hello
This remove the control file:
XMLTYPE(in_file_1)
It is used only if the target table is an array of XMLType object.
For an XMLType column LOBFILE is sufficient, for example:
LOAD DATA INFILE * APPEND INTO TABLE TH_XML ( col_id_1 CHAR (100), in_file_1 LOBFILE(CONSTANT "c:\simple.xml") TERMINATED BY EOF ) begindata MYID1
It tells SQL * Loader data consisting of one record with COL_ID_1 = "MYID1" and content = "c:\simple.xml" IN_FILE_1
SQL> CREATE TABLE TH_XML 2 ( 3 COL_ID_1 VARCHAR2(100 BYTE), 4 IN_FILE_1 XMLTYPE 5 ); Table created. SQL> host sqlldr control=test.ctl Username:dev Password: SQL*Loader: Release 11.2.0.2.0 - Production on Mer. Juil. 25 01:30:46 2012 Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved. Commit point reached - logical record count 1 SQL> set long 5000 SQL> column col_id_1 format a15 SQL> select * from th_xml; COL_ID_1 IN_FILE_1 --------------- -------------------------------------------------------------------------------- MYID1
Some Author1 Some Title1 Computer 44.95 2000-10-01 creating applications Some Author2 Some Title2 Computer 49.95 2001-04-16 Microsoft Visual Studio 7 is explored in depth -
write to the file at the end of the program
I am trying to acquire data of resistance on a DAQmx channel. The data are acquired in a while loop.
I need the program to keep storing data in a table that develops according to the incoming data and writes all data in a file when the program ends.
I currently have an array of index with the iteration of the while loop wire its terminal index meter and a 'writing on a file of measure' vi placed outside the while loop. However, when I finish the program, there is no output file.
What is the best way to do it in Labview 2011? If self-expanding table is not possible, can I pre-allocate a large size and I then it stores data but I'm going to have to again at the exit of all the data only once at the end of the program.
Rather than build a huge range, using a configuration of producer/consumer . The idea is to use a second loop that records your data that you acquire. In this way, you can open the file before the loop, format and write the data to the file inside the loop, and then close the file at the end. To send data to the loop of logging, use a queue.
You can also use the DAQmx Configure in Streaming VI say DAQmx to save your data as it is read directly to a PDM file. Much more effective than anything that you will come up with.
Maybe you are looking for
-
restore deleted pictures photos
We can watch 'recently deleted photos' that is groovy, but the photo cannot be restored to the library?
-
Satellite P300 does not start because of HARD drive password
I have a Satellite P300 laptop and it seems to be frozen.When I turn it on a blue box rises and requires a HARD drive password before windows turns on, but I can't type the password because there is no cursor.None of the buttons work. There is no way
-
iTunes keeps trying to load the music library to iCloud
Hello, everyone! I don't know if it just happens to me, but whenever I try to change the current view of my music on the display list, my iTunes (version 12.3.1.23 on a Mac) will not stop loading the library iCloud, which I do not have access because
-
Configuration of the physical memory of 5740-6378
I have the Aspire 5740-6378 and wants to double the RAM from 4 to 8 GB. According to my hardware diagnostics there are four locations of memory on board, even if I am only able to find two. If I can find the others, I can add 2x2gb glue instead of ha
-
change several names of file at a time
I want to ask that how can I change the names of multiple files at once with different names...