How to put a pdf file in Oracle portal?

I want to put a pdf file in Oracle portal. But how I do it?

Are you using Oracle Portal, or Oracle WebCenter Portal?
In Oracle Portal, you can go to edit mode (use the link or add ?_mode=16 to the url) and create a file item.
In WebCenter Portal, you need to add the content to WebCenter Content (default content repository for WebCenter Portal) and use something like the content presenter to show the content on a page.
Kind regards,
Rob

Similar Messages

  • How to access a PDF file from Oracle DATABASE SERVER

    Hi
    I have some pdf files in "\home2\docs" directory in Oracle database server 10g. (OS is Linux) I want to access those pdf files from my client system through Oracle Forms. How is it possible?
    Please Help!!!! It is very urgent !!!
    Expecting fast response!!!!!
    Bye

    hi
    Thank u for ur response.
    Initially i tried to access pdf file from database server. I didn't get any solution for that. So I copied all my pdf files to Application server which is in Linux environment at "/home2/docs" directory.
    I gave the following command for accessing the pdf files kept in Lnux Application Server from Oracle 10g forms in a button press trigger.
    web.show_document('http://192.168.1.53:7779/home2/docs/test.pdf');
    It says "page cannot be found"
    So I copied one of the pdf file named "test.pdf" to "/oracle/oas10g/IasHome/forms90/java" in Linux Application Server . Then the following command
    web.show_document('http://192.168.1.53:7779/forms90/java/test.pdf');
    has opened the the pdf file in browser.
    192.168.1.53 is my Linux Application Server IP. and 7779 is the port.
    Actually we have lacs of pdf files. So i cannot keep all the pdf files in "/oracle/oas10g/IasHome/forms90/java" directory in Linux Application Server. And also all the pdf files not in the same directory , "/home2/docs" some of the pdf files r in the subdirectories of "/home2/docs/" like /home2/docs/sub1, /home2/docs/sub2, /home2/docs/sub3 etc.
    Then how to configure my "/oracle/oas10g/IasHome/forms90/server/forms90.conf" file for retrieving pdf files from "/home2/docs/" and its subdirectories. Is Anything other than this, required for solving my problems.
    Now My PDF files r in LINUX APPLICATION SERVER not in database server.
    Please help!! It is VERY URGENT!!!

  • Attach pdf files in oracle forms 11g

    Hello everyone, I would like to know if is possible and how to attach a pdf file in oracle forms, and how to open it to read it
    thanks

    hello ,
    u can also try out a HOST command in Oracle Forms.
    Give path of PDF file and it will open PDF directly.
    Thanks
    HARSH SHAH

  • How to load PDF files into oracle database and display them in APEX

    Hi All,
    We have a requirement for loading the Loading PDF files (lots of PDf files) to the oracle database and then display the PDF files in the Oracel APEX report.
    So that User can view the PDF files. Our current APEX verison is 3.2..
    Please let me know how to implement it and where to find the sample application!
    Thanks in advanced!
    Jane

    Thanks Tony for your quick response!
    We need to load a lot of PDfs (history + current).
    I have a questions about the SQL loader. I am trying to insert a pdf file into a table by following the oracle loading sample:
    http://download.oracle.com/docs/cd/B10501_01/text.920/a96518/aload.htm
    Example Data File: loader2.dat
    This file contains the data to be loaded into each row of the table, articles_formatted.
    Each line contains a comma separated list of the fields to be loaded in articles_formatted. The last field of every line names the file to be loaded in to the text column:
    Ben Kanobi, plaintext,Kawasaki news article,../sample_docs/kawasaki.txt,
    But i don't know to where should I put my pdf file on the server.
    for example:
    ,../sample_docs/kawasaki.txt,
    Where is the file 'kawasaki.txt'??
    I try my local path, it didn't work. like c:\temp.
    then I loaded teh PDf file into our server(/findev20/olmtest/orafin/11.5.7/olmtestcomn/temp) , and In my data file. I put the path
    1, pdf_emp1,../findev20/olmtest/orafin/11.5.7/olmtestcomn/temp
    but I got the error: the system can not find the file specified.
    Where should I put the PDf files on the server and how to specify the path in the data file?
    Thanks!
    Jane

  • How to send a PDF file as a FAX from Oracle Reports 6i

    Hi
    I want to know how to send a PDF file as a FAX from Oracle Reports 6i. Or please post any sample code in reports that sends PDF document as FAX
    Help need immediately.
    Thanks in advance. my email id is
    [email protected]
    Arun
    null

    hello,
    there is no native support for directly faxing a report. you could e.g. use a fax-software that has a printer-driver that supports this.
    regards,
    the oracle reports team

  • Putting a .pdf file into a column in an oracle table

    I have created a table with one column as a blob so I can put 4800 .pdf files into that column of a table. Can anyone correct the ways I am trying to do this or let me know of a better way. I have tried several ways and have not been successful. Thanks.
    Here are the two ways I have tried that haven't worked.
    -- the storage table for the image file
    CREATE TABLE pdm (
    dname VARCHAR2(30), -- directory name
    sname VARCHAR2(30), -- subdirectory name
    fname VARCHAR2(30), -- file name
    iblob BLOB); -- image file
    -- create the procedure to load the file
    CREATE OR REPLACE PROCEDURE load_file (
    pdname VARCHAR2,
    psname VARCHAR2,
    pfname VARCHAR2) IS
    src_file BFILE;
    dst_file BLOB;
    lgh_file BINARY_INTEGER;
    BEGIN
    src_file := bfilename('O:\twilliams\DD_promotion\cards\', pfname);
    -- insert a NULL record to lock
    INSERT INTO pdm
    (dname, sname, fname, iblob)
    VALUES
    (pdname, psname, pfname, EMPTY_BLOB())
    RETURNING iblob INTO dst_file;
    -- lock record
    SELECT iblob
    INTO dst_file
    FROM pdm
    WHERE dname = pdname
    AND sname = psname
    AND fname = pfname
    FOR UPDATE;
    -- open the file
    dbms_lob.fileopen(src_file, dbms_lob.file_readonly);
    -- determine length
    lgh_file := dbms_lob.getlength(src_file);
    -- read the file
    dbms_lob.loadfromfile(dst_file, src_file, lgh_file);
    -- update the blob field
    UPDATE pdm
    SET iblob = dst_file
    WHERE dname = pdname
    AND sname = psname
    AND fname = pfname;
    -- close file
    dbms_lob.fileclose(src_file);
    END load_file;
    This one I get an error message on this statements:(dbms_lob.LOADBLOBFROMFILE(blob_loc,bfile_loc,dbms_l ob.lobmaxsize,bfile_offset,
    blob_offset) ; )
    DECLARE
    bfile_loc BFILE;
    blob_loc BLOB;
    bfile_offset NUMBER := 1;
    blob_offset NUMBER := 1;
    tot_len INTEGER;
    BEGIN
    /*-- First INSERT a row with an empty blob */
    INSERT INTO blob_tab VALUES (5, EMPTY_BLOB());
    COMMIT;
    /*-- SELECT the blob locator FOR UPDATE */
    SELECT blob_data INTO blob_loc FROM blob_tab
    WHERE id = 5 FOR UPDATE;
    /*- Obtain the BFILE locator */
    bfile_loc := bfilename('O:\twilliams\DD_promotion\cards\','00EAL.pdf');
    /*-- Open the input BFILE */
    dbms_lob.fileopen(bfile_loc, dbms_lob.file_readonly);
    /*-- Open the BLOB */
    dbms_lob.OPEN(blob_loc, dbms_lob.lob_readwrite);
    /*-- Populate the blob with the whole bfile data */
    dbms_lob.LOADBLOBFROMFILE(blob_loc,bfile_loc,dbms_l ob.lobmaxsize,bfile_offset,
    blob_offset) ;
    /*-- Obtain length of the populated BLOB */
    tot_len := DBMS_LOB.GETLENGTH(blob_loc);
    /*-- Close the BLOB */
    dbms_lob.close(blob_loc);
    /*-- Close the BFILE */
    dbms_lob.fileclose(bfile_loc);
    COMMIT;
    /*-- Display the length of the BLOB */
    DBMS_OUTPUT.PUT_LINE('The length of the BLOB after population is: '||
    TO_CHAR(tot_len));
    END ;
    /

    CREATE TABLE test_blob (
    id NUMBER(15)
    , file_name VARCHAR2(1000)
    , image BLOB
    , timestamp DATE
    CREATE OR REPLACE DIRECTORY
    EXAMPLE_LOB_DIR
    AS
    'O:\twilliams\DD_promotion\cards\'
    CREATE OR REPLACE PROCEDURE Load_BLOB_from_file_image
    AS
    dest_loc BLOB;
    src_loc BFILE := BFILENAME('EXAMPLE_LOB_DIR', '009-1395.pdf');
    BEGIN
    INSERT INTO test_blob (id, file_name, image, timestamp)
    VALUES (1001, '009-1395.pdf', empty_blob(), sysdate)
    RETURNING image INTO dest_loc;
    DBMS_LOB.OPEN(src_loc, DBMS_LOB.LOB_READONLY);
    DBMS_LOB.OPEN(dest_loc, DBMS_LOB.LOB_READWRITE);
    DBMS_LOB.LOADFROMFILE(
    dest_lob => dest_loc
    , src_lob => src_loc
    , amount => DBMS_LOB.getLength(src_loc));
    DBMS_LOB.CLOSE(dest_loc);
    DBMS_LOB.CLOSE(src_loc);
    COMMIT;
    END;
    I am getting this error when I exec load_blob_from_file_image.
    ERROR at line 1:
    ORA-00972: identifier is too long
    ORA-06512: at "SYS.DBMS_LOB", line 716
    ORA-06512: at "DRAWING.LOADBLOBFROMFILEIMAGE", line 15
    ORA-06512: at line 1
    any ideas why?

  • How to mail pdf file from oracle database 11g

    Hi,
    Using following code to send pdf file from oracle database.
    DECLARE
    v_From VARCHAR2(80) := '[email protected]';
    v_Recipient VARCHAR2(80) := '[email protected]';
    v_Subject VARCHAR2(80) := 'test subject';
    v_Mail_Host VARCHAR2(30) := '116.214.31.249';
    v_Mail_Conn sys.utl_smtp.Connection;
    crlf VARCHAR2(2) := chr(13)||chr(10);
    BEGIN
    v_Mail_Conn := sys.utl_smtp.Open_Connection(v_Mail_Host, 26);
    sys.utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);
    sys.utl_smtp.Mail(v_Mail_Conn, v_From);
    sys.utl_smtp.Rcpt(v_Mail_Conn, v_Recipient);
    sys.utl_smtp.Data(v_Mail_Conn,
    'Date: ' || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || crlf ||
    'From: ' || v_From || crlf ||
    'Subject: '|| v_Subject || crlf ||
    'To: ' || v_Recipient || crlf ||
    'MIME-Version: 1.0'|| crlf ||     -- Use MIME mail standard
    'Content-Type: multipart/mixed;'|| crlf ||
    ' boundary="-----SECBOUND"'|| crlf ||
    crlf ||
    '-------SECBOUND'|| crlf ||
    'Content-Type: text/plain;'|| crlf ||
    'Content-Transfer_Encoding: 7bit'|| crlf ||
    crlf ||
    'some message text'|| crlf ||     -- Message body
    'more message text'|| crlf ||
    crlf ||
    '-------SECBOUND'|| crlf ||
    'Content-Type: file;'|| crlf ||
    ' name="D:\mail\pdfSample.pdf"'|| crlf ||
    'Content-Transfer_Encoding: 8bit'|| crlf ||
    'Content-Disposition: attachment;'|| crlf ||
    ' filename="D:\mail\pdfSample.pdf"'|| crlf ||
    crlf ||
    'CSV,file,attachement'|| crlf ||     -- Content of attachment
    crlf ||
    '-------SECBOUND--'               -- End MIME mail
    sys.utl_smtp.Quit(v_mail_conn);
    EXCEPTION
    WHEN sys.utl_smtp.Transient_Error OR sys.utl_smtp.Permanent_Error then
    raise_application_error(-20000, 'Unable to send mail: '||sqlerrm);
    END;
    Above code executed successfully and mail is send to recipient but file is corrupted.
    I think it doesn't pick file from specified location, attachment name is appearing like this 'D:mailpdfsample.pdf
    Oracle Database : 11g R2
    O.S : windows 7 Professional
    Thanks in Advance

    parapr wrote:
    sys.utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);The above violates RFC 5321 section 4.1.1.1
    '-------SECBOUND'|| crlf ||
    'Content-Type: file;'|| crlf ||
    ' name="D:\mail\pdfSample.pdf"'|| crlf ||
    'Content-Transfer_Encoding: 8bit'|| crlf ||
    'Content-Disposition: attachment;'|| crlf ||
    ' filename="D:\mail\pdfSample.pdf"'|| crlf ||Invalid Mime header above. Filename are logical. Not physical. Loose the drive and directory names. The filename is there to name the Mime body's content.
    crlf ||
    'CSV,file,attachement'|| crlf ||     -- Content of attachmentHow is the above PDF content? This is a string containing the text CSV,file,attachement. Which means when this is what is saved as a PDF file by the mail reader.
    EXCEPTION
    WHEN sys.utl_smtp.Transient_Error OR sys.utl_smtp.Permanent_Error then
    raise_application_error(-20000, 'Unable to send mail: '||sqlerrm);
    END;Silly. Why change meaningful exceptions into a generic meaningless exception?? That does not make any sense.

  • How to store .doc and .pdf files in oracle

    pls anyone give me exact procedure for storing .doc & .pdf files in oracle table data types etc...

    See here for an example
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:232814159006

  • Store PDF File in Oracle database 10g

    Hi all,
    I want to store PDF File in Oracle database 10g,
    and then I want to access the pdf file using Oracle Developer 6i
    can anyone tell me how to do this,
    thanks in advance.

    This question has already been posted a lot of times.....
    See the following:
    http://forums.oracle.com/forums/search.jspa?threadID=&q=pdf+file&objID=f82&dateRange=lastyear&userID=&numResults=15
    Greetings,
    Sim

  • Setting password in pdf file in oracle apps

    Hi
    Here is my requirement to set password protech in pdf file and send to email.Can anyone help me how to set password in pdf file in oracle apps 11i
    Thanks

    File > Properties. Then under Security change Security method to None; enter the Control password when prompted. Then Save As.

  • How to insert a pdf file from a dynamic location into a table

    Hi friends
    Can any one please let me know how to insert a pdf file into a table from a dynamic location in server.
    suppose say i have a table CUST_BLOB(file_name, file_data). I have a file in directory c:\local having file_name test.pdf
    I want to insert this file in CUST_BLOB. Please help me.
    Thanks in advance.
    --Ahmed                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    user620950 wrote:
    Hi friends
    Can any one please let me know how to insert a pdf file into a table from a dynamic location in server. Why dynamic locations on the server?
    Make it a business case that the files should be stored in specific location(s).
    Oracle uses directory objects to point to locations on the file system and, whilst these locations can be altered, it is better practice to set up specific locations and grant permission to the correct users for those locations so that there is full control over who is accessing what on the server. Whilst filenames may be dynamic, I wouldn't recommend using dynamic locations.

  • Priniting out put to pdf file

    Hi All,
    I am using oracle reports 6i under sun Solaris environment. I may finally deploy these reports on web. Is it possible to send the out put to pdf when ever user select from my web deployed form, I mean when ever user select reports from the web is it possible to send the out put to pdf file it should open on client browser. Please help me. I appreciate any ones help.
    Thanks,
    Kate.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by VK:
    set the DESFORMAT system parameter PDF. DESFORMAT make sense only if the DESTYPE is file. you have to set these parameters dynamically
    <HR></BLOCKQUOTE>
    I think, well, I am sure that DESTYPE=cache also works, as long as your web server outputs proper mime header for pdf files. Here is an example (sensitive information replaced with # character):
    --------------- http://###.example.com/db/rp?server=Rep60.example.com&report=XXXXXXInvoice.rdf&userid=XXXX/XXXX@XXXX&desformat=pdf&destype=cache&P_1=218
    null

  • Generate PDF file from oracle Table

    We need to populate pdf file into oracle table of column blob through informatica by taking
    path\name(/path/filename.PDF) as input from source table.
    The pdf file is on some other server so, we need to create a stored procedure which will give pdf file as output from
    other server by taking path\name from source table column as mentioned above.
    So please suggest how we can create a stored procedure for that purpose.
    If possible please share some script.

    Dear all,am new to oracle report and oracle forms and i know the
    basics how to generate the report and to create the form, Now my doubt is, like generating report
    from oracle report how to generate the report from oracle from,should i add any command button? and where
    to add the coding and what coding ? when i click that command button the report should be generated like oracle
    report,what should i do?Please help me to learn.
    my table name is 'student' and it has the following columns,
    sid,sname,grade,result.
    Am using oracle from 10.1.2.0.2 version and
    oracle report version is 10.1.2.0.2.
    Please give step by step procss.
    Thank you.

  • My ipod touch 4th generation won't synch.i'm trying to put a pdf file on it.please help thanks in advance...

    my ipod touch 4th generation won't synch.i'm trying to put a pdf file on it.please help thanks in advance...

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on anoterh computer to help determine if you have an iPod or computer problem.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar

  • How to compare two PDF files through PLSQL

    Hi,
    Can any body help that how to compare two PDF files through PLSQL programing and gives the differences as output.
    Thanks,

    Or simply apply an oracle text index on your pdf column:
    SQL>  create table t (id integer primary key, bl blob)
    Table created.
    SQL>  declare
    bf bfile := bfilename('TEMP','b32001.pdf');
    bl blob;
    begin
    dbms_lob.createtemporary(bl,true);
    dbms_lob.open(bf,dbms_lob.lob_readonly);
    DBMS_LOB.LOADFROMFILE(bl, bf,dbms_lob.getlength(bf));
    insert into t values (1,bl);
    commit;
    dbms_lob.close(bf);
    dbms_lob.freetemporary(bl);
    end;
    PL/SQL procedure successfully completed.
    SQL>  create index t_idx on t (bl) indextype is ctxsys.context parameters ('filter ctxsys.auto_filter')
    Index created.
    SQL>  declare
       mklob   clob;
    begin
       ctx_doc.filter ('t_idx', '1', mklob, true);
       dbms_output.put_line (substr (mklob, 1, 250));
       dbms_lob.freetemporary (mklob);
    end;
    Oracle® Database
    Release Notes
    11
    g
    Release 1 (11.1) for Linux
    B32001-04
    November 2007
    This document contains important information that was not included in the
    platform-specific or product-specific documentation
    PL/SQL procedure successfully completed.This generates a text only version of your pdf and standard text comparison methods can be applied ....

Maybe you are looking for

  • Safari prints HTML page as blank

    When I load an HTML page in Safari and print it, it's totally blank. Doesn't happen in Firefox with the same HTML files.

  • How can I write mathematical formulas?

    How can I write mathematical formulas? I tried tu use the formula editor of ms word with paste and copy but it didnt work, because the formula was not in line with the text.

  • No 'use a webcam' option when attempting to sign PDF

    I just installed Acrobat XI Pro and I'm attempting to sign a PDF. According to the help, I should be able to scan a signature using a webcam, but I don't see that option available to me. My options are: Type my signature, Draw my signature, Use an im

  • Starting eCATT - Work process dies

    When I start the SAP testtool eCATT using transaction SECATT and try to edit an existing script, the work process dies after some minutes of compiling. This happens whenever I try to edit or to create a script with a recording. Does anyone have the s

  • Why did my iphoto 09 stop sending pictures to facebook

    Why is my iphoto not sending the pic's to facebook? "An error occurred with iPhoto. Please try again later."