How To Load A Document From An Array ?
Hi All
If i have an xml file
<WhitetimeDocuments>
<documents>
<id>WhitetimeIntro</id>
<name>Introduction To White Time</name>
<location>WT_Intro.txt</location>
</documents>
<documents>
<id>WhitetimeHealing</id>
<name>White Time As A Healing Modality</name>
<location>WT_Healing.txt</location>
</documents>
<documents>
<id>WhitetimeClassOutline</id>
<name>Outline For White Time Classes</name>
<location>WT_Class_Intro.txt</location>
</documents>
<documents>
<id>WhitetimeFacts</id>
<name>Facts About White Time</name>
<location>WT_Facts.txt</location>
</documents>
</WhitetimeDocuments>
How can i load the document into a textarea component based on a button click by the user ?
I have the httpservice call and a seperate Button Component for each document choice, but how do i then load the document ?
Also how can a generate a dynamic list of buttons, based on the labelField 'Name' instead of having a static list of Button components ?
Many Many Thanks
Whitetimer
Many Thanks
Document should be on the server at some www.baseaddress.com/WT_Intro.txt.
Assuming your XML is also on the server...
Make the call to load the XML, parse the XML and get the url for the text file.
Also Here you can read the names and pus them into an array list
arraycollection: {"Name":value};
For each url retrieved from the xml make a new call to the server and loat the
txt. On the response you should have the text. (It is better to make the calls
chained one after each other, since the response come back asynchronously, e.g
on the response of one call make another call...)
The names retrieved already can be passed as a dataProvider to a button bar
component.
HTH,
C
Similar Messages
-
How to attach a document from cloudOn to my online application form or website
How to attach a document from cloudOn to an online application form or website?
You will need an app (web browser) capable of both storing a document and accessing the site's functionality sufficiently enough to upload a file. Safari can't do this (and I'm pretty certain CloudOn can't either). A couple of options:
iCab Mobile - store documents in the Downloads section and has settings to both change the BrowserID to a non mobile browser to unlock site functionality, and has a setting for uploading files from its storage rather then iOS in general. Its not free, but not very expensive and is a pretty could all around web browser in its own right. I've been using it for quite some time.
iUploader - has both free (trial) and paid versions. I've only experimented with it a bit, but works fairly well. Like iCab, has its own file container that you up load from.
In both cases you would need to transfer your files from the source app (CloudOn, in this case) to the file storage, and then access the website. -
I tested my procedure for upgrading from OBI 11.1.1.5 to 11.1.1.6 which was successful. I had to rollback to OBI 11.1.1.5 using my database backup and VM snapshot due to project requirements.
The OBI application successfully comes up but users who login just get "Error loading XML Document from /analytics/saw.dll/common/privileges.xml?fmapID=KqIJCw. The response given was: ". They can't close this message box so are unable to do anything.
How can I fix this?Hi All,
You can face this issue with other versions of OBIEE 11.*
Problem cab be solved as follows:
Go to http://localhost:7001/em > coreapplication > Capacity Management > Scalibility >
1. Lock and edit
2 .increase number of presentation services to 2
3. restart opmn component.
Go to coreapplication > Availibility > processes
1 .please note that in deployment > catalog > change path of catalog field from $coreapplication to path where your catalog resides.
2. Take down your primary instance.
3. As your secondary is up, it will grant you to browse you through catalog and dashboards.
If you want to run primary instance of presentation services
Go to path \Middleware\instances\instance1\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips2
except catalog and catalog manager > Copy all other files to coreapplication_obips1
restart opmn component > problem solved.!!!
Regards,
Akshay S.
please like if you find it helpful -
I'm try to load xml document from CLOB in following way:
--- procedure loadXML.sql -----
CREATE OR REPLACE PROCEDURE loadXML
IS
CONTENT CLOB := ' ';
SOURCE bfile := BFILENAME('XMLFILES', 'N_95_A.xml');
begin
DBMS_LOB.OPEN(SOURCE, DBMS_LOB.LOB_READONLY);
DBMS_LOB.loadFromFile(CONTENT, SOURCE, DBMS_LOB.getLength(SOURCE));
DBMS_LOB.fileClose(SOURCE);
insert into OFERTY (OFDOCUMENT)
values (sys.XMLtype.createXML(CONTENT));
commit;
end;
and I get
SQL> @e:\myxml\loadXML
declare
ERROR at line 1:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00210: expected '<' instead of '<'
ORA-06512: at "SYS.XMLTYPE", line 0
ORA-06512: at line 1
ORA-06512: at line 8
What is wrong?Have you tried simply outputting iusing the htp.p function? for example:
/* ... inside a PL/SQL region */
declare
lclb_output clob;
begin
select doc_xml into lclb_output from mf_xml_docs where doc_id = :P1_DOC_ID;
htp.p(lclb_output); -- you may have to split this into chunks and loop through, depending on how big the clob is
end; -
How can I move documents from my iPad to the cloud?
I am trying to move documents into the cloud from my iPad. Every time I select the upload icon, only my photos show up. How do I find my documents?
squirrels,
To save a single PDF document on iPad to Acrobat.com (i.e. one document at a time)
Open a PDF document in Adobe Reader for iOS.
Tap anywhere in the document to display the toolbar.
Tap this icon in the toolbar.
Select "Save to Acrobat.com".
If prompted, sign in with your Adobe ID.
If you want to transfer a lot of PDF documents on your iPad to any cloud storage service, you can transfer them to your Windows/Mac desktop computer using iTunes first.
How to transfer PDF documents from your iPad/iPhone to your computer
and upload them to the cloud storage service of your choice via a web browser.
Does it answer your question?
Please let us know if you still have a problem with uploading files. -
Can someone tell me how I load my music from my itunes account onto my new macbook pro??
can someone tell me how to load my music from my itunes account on my iphone to my new macbook pro?
See Here
iTunes: How to move your music to a new computer -
How do I save documents from my PC to icloud
How do I save documents from my PC to iCloud
You can't. iCloud doesn't support general file/document storage. Try a different cloud service like Dropbox.
-
How to Load the data from excel file(Extension is .CSV) into the temp.table
Hi
How to Load the data from excel file(Extension is .CSV) into the temporary table of oracle in Forms11g.
My Forms Version is - Forms [64 Bit] Version 11.1.2.0.0 (Production)
Kindly Suggest the Solution.
Regards,
SachinHello Sachin,
You can use the following metalink note:How to Read Data from an EXCEL Spreadsheet into a Form Using Webutil Client_OLE2 (Doc ID 813535.1) and modify it a little bit.
Instead of copy values into forms you can save them in your temporary table.
Kind regards,
Alex
If someone's helpful or correct please mark it accordingly. -
How to load the data from .csv file to oracle table???
Hi,
I am using oracle 10g , plsql developer. Can anyone help me in how to load the data from .csv file to oracle table. The table is already created with the required columns. The .csv file is having about 10lakh records. Is it possible to load 10lakh records. can any one please tell me how to proceed.
Thanks in advance981145 wrote:
Can you tell more about sql * loader??? how to know that utility is available for me or not??? I am using oracle 10g database and plsql developer???SQL*Loader is part of the Oracle client. If you have a developer installation you should normally have it on your client.
the command is
sqlldrType it and see if you have it installed.
Have a look also at the FAQ link posted by Marwin.
There are plenty of examples also on the web.
Regards.
Al -
How to load the data from excel file into temprory table in Forms 11g?
Hi
How to Load the data from excel file(Extension is .CSV) into the temporary table of oracle in Forms11g.
My Forms Version is - Forms [64 Bit] Version 11.1.2.0.0 (Production)
Kindly Suggest the Solution.
Regards,
SachinDeclare
v_full_filename varchar2(500);
v_server_path varchar2(2000);
v_separator VARCHAR2(1);
v_filename VARCHAR2(400);
filename VARCHAR2 (100);
v_stop_load varchar2 (2000);
v_rec_error_log varchar2(4000);
v_error_log varchar2(4000);
ctr NUMBER (12);
cols NUMBER (2);
btn number;
RES BOOLEAN;
application ole2.obj_type;
workbooks ole2.obj_type;
workbook ole2.obj_type;
worksheets ole2.obj_type;
worksheet ole2.obj_type;
cell ole2.obj_type;
cellType ole2.OBJ_TYPE;
args ole2.obj_type;
PROCEDURE olearg
IS
args ole2.obj_type;
BEGIN
args := ole2.create_arglist;
ole2.add_arg (args, ctr);
ole2.add_arg (args, cols);
cell := ole2.get_obj_property (worksheet, 'Cells', args);
ole2.destroy_arglist (args);
END;
BEGIN
v_full_filename := client_get_file_name(directory_name => null
,file_name => null
,file_filter => 'Excel files (*.xls)|*.xls|'
||'Excel files (*.xlsx)|*.xlsx|'
,message => 'Choose Excel file'
,dialog_type => null
,select_file => null
If v_full_filename is not null Then
v_separator := WEBUTIL_CLIENTINFO.Get_file_Separator ;
v_filename := v_separator||v_full_filename ;
:LOAD_FILE_NAME := substr(v_filename,instr(v_filename,v_separator,-1) + 1);
RES := Webutil_File_Transfer.Client_To_AS(v_full_filename,"server_path"||substr(v_filename,instr(v_filename,v_separator,-1) + 1));
--Begin load data from EXCEL
BEGIN
filename := v_server_path||substr(v_filename,instr(v_filename,v_separator,-1) + 1); -- to pick the file
application := ole2.create_obj ('Excel.Application');
ole2.set_property (application, 'Visible', 'false');
workbooks := ole2.get_obj_property (application, 'Workbooks');
args := ole2.create_arglist;
ole2.add_arg (args, filename); -- file path and name
workbook := ole2.get_obj_property(workbooks,'Open',args);
ole2.destroy_arglist (args);
args := ole2.create_arglist;
ole2.add_arg (args, 'Sheet1');
worksheet := ole2.get_obj_property (workbook, 'Worksheets', args);
ole2.destroy_arglist (args);
ctr := 2; --row number
cols := 1; -- column number
go_block('xxx');
FIRST_RECORD;
LOOP
--Column 1 VALUE --------------------------------------------------------------------
olearg;
v_stop_load := ole2.get_char_property (cell, 'Text'); --cell value of the argument
:item1 := v_stop_load;
cols := cols + 1;
--Column 2 VALUE --------------------------------------------------------------------
olearg;
:item2 := ole2.get_char_property (cell, 'Text'); --cell value of the argument
cols := cols + 1;
--<and so on>
ole2.invoke (application, 'Quit');
ole2.RELEASE_OBJ (cell);
ole2.RELEASE_OBJ (worksheet);
ole2.RELEASE_OBJ (worksheets);
ole2.RELEASE_OBJ (workbook);
ole2.RELEASE_OBJ (workbooks);
ole2.RELEASE_OBJ (application);
END;
--End load data from EXCELPlease mark it as answered if you helped. -
How to load the data from excel file into table in oracle using UTL_FI
How to load the data from excel file into table in oracle
and from table to excel file
using UTL_FILE package
Please give me some exampleThis is something i tried in oracle apex
http://avdeo.com/2008/05/21/uploading-excel-sheet-using-oracle-application-express-apex/
Regards,
CKLP -
How to load the data from informatica into bw & how to report the data
Hi friends,
how to load the data from informatica into bw & how to report the data
using cognos.(i.e how to access the data in sap bw using cognos 8 BI suite).
Thanks,
madhu.Inorder to report BW data into Cognos you can extract data from using Open Hub to the DB table from which Cognos reads.
For BW informatic integration refer following docs:
http://www.aman.co.il/aman/pfd/DataInteg_BR.q103cd.pdf.pdf
http://h71028.www7.hp.com/enterprise/cache/3889-0-0-225-121.html
http://devnet.informatica.com/learning/ePresentations.asp
http://72.14.203.104/search?q=cache:C741L86Q19oJ:devnet.informatica.com/showcase/resources/Essbase_DataSheet.pdfinformaticapowerconnect(BI)&hl=en&gl=in&ct=clnk&cd=3
http://www.informatica.com/customers/utilities_energy/fpl_group.htm
http://www.informatica.com/solutions/resource_center/technote_sapbw_65241004.pdf#search=%22Informatica%20to%20Bw%22 -
How to load master data from SAP R/3 system like Customer master, materioal master , vendor master.............
Hi Bramha,
Check ...........
Re: master data loading in BI 7.0
/message/4708129#4708129 [original link is broken]
Re: Master data loading.
Regards,
Vijay. -
Creating new analysis gives "Error loading XML Document from ..."
Trying to create analysis and getting "Error loading XML Document from saw.dll/answers/answersproperties.xml?fmapId=S1clug.
The response given was:" after choosing subject area. Analysis editor is opened but Subject Areas is empty and can't do anything.
The problem is on Mozilla 12 (16.0.2, 17.0.1) and IE 8. Chrome works fine.
My system is Win 7, BI 11.1.1.6.0 is on Oracle Linux (and by the way Mozilla from Linux system works fine)
What could be the reason of this?
Edited by: 898973 on 4/12/2012 15:11Reinstalling Mozilla with "Remove personal data" option checked resolved the problem.
-
How do I save documents from the new Pages into a Word Document
How do I save documents from the new Pages into a Word Document?
Thank you so much - so simple! I had been using the 'share' option (worked in old Pages) and only had icloud or email as options. I have to attach word documents to emails to send to work. I don't want to use icloud because it's too public and I don't trust it. Also, you have to be able to access the internet and I need word documents on my USB stick for work where there's no internet.
I love my Mac but I do wish Apple would remember those of us living in less-than-perfect computer-land.
Thanks again
Lindsay
Maybe you are looking for
-
Not able to get the Aduit log details through webservices
Hi Team, I am trying to get the audit log details using according to Michal's PO/PI tips: Audit Logs from a native WS - new feature but i am getting following result i have used key = new MessageKey(msg.getMessageId(), msg.getMessageDirection()); -
-
You are not connected to the internet - Safari can't open the page
After wake up Mac OS X 10.6.8 from sleep, Safari 5.1.7 on Ethernet does not connect to web servers: "You are not connected to the internet" "Safari can't open the page" The issue disappears after restarting the Mac. Is there a way to fix it besides r
-
SAP Report Gap Analysis Process
Hi guys, We're about to implement SAP ECC to replace the legacy transcation system. Since there are so many report in ECC I really don't know how to start gap analysis( between ecc standard reports in ECC and required business reports in legacy). Th
-
Still not fixed in CS6: Undo problem after Text Type + Move
I have noticed this very annoying Photoshop problem still has not been addressed by Adobe. Breakdown: Type text Move text If you undo the move, it will not only undo the move - but the text you typed as well So technically it does 2 undos instead of
-
Logging issue with rssutils.tld Tag Library
I'm using the rssutils.tld tag library to display three RSS feeds on my application's JSP homepage. It works very very well and I'm quite happy with the results (I'm running on a Tomcat 5.5.7 server). I implemented the solution following the examples