Inserting pdf content to database

Hi,
     I am working with adobe live cycle and using web service i am inserting pdf content to db , Live cycle is installed in my machine so the data insertion is possible from my machine ,but i am trying to insert data from other  systems in our network it is not working , adobe reader 9 nstalled on these machines .Is necessary to register any other dll to GAC for working with this on client machine if so pls specify the dll. I am waiting for ur reply ,pls reply as soon as possible

Hi,
I suspect that you also have the full version of Adobe Acrobat on your PC.That is why the data connections work on your system.
Unless you Reader Enable your form with LiveCycle Reader Extensions Enterprise Suite, then web service calls / data connections will not work in Reader.So if your users have Reader the data connections will not work on their PCs.
Here is a summary of functionality in Acrobat and Reader.
Good luck,
Niall

Similar Messages

  • Inserting XML content into Database

    Hallo
    i´m new to Oracle.
    i want to insert xml content into the database. for testing i installed the version 10g on a windowsxp computer.
    i read the oracle xmldb developer´s guide. on page 3-4 ff. it is explained how i can insert content into the database. that´s how i did it (with isqlplus):
    create table example1(key_column varchar2(10) primary key, xml_column xmltype)
    -->works fine
    create table example2 of xmltype
    -->works fine
    now i made a directory under c:\myXmlFilesForDb in WinXp
    create directory xmldir as 'c:/myXmlFilesForDb in WinXp'
    (also tried: create directory xmldir as 'c:\myXmlFilesForDb in WinXp')
    --> in this directory is a file named: mydokument.xml
    --> works fine
    insert into example2 values(xmltype(bfilename('xmldir','mydokument.xml'), nls_charset_id('AL32UTF8')))
    the following error message is displayed (in German):
    ORA-22285: Verzeichnis oder Datei für FILEOPEN-Vorgang nicht vorhanden
    ORA-06512: in "SYS.DBMS_LOB",Zeile 523
    ORA-06512: in "SYS:XMLTYPE",Zeile 287
    ORA-06512: in Zeile 1
    whats wrong? can anybody help me please?
    ohhh....
    thank you very much
    cu
    George

    Directory entries are case sensitive.
    Select * From dba_directories to ensure you case is the same as you are using in your insert statement.
    Are you using the same user? if not grant read on directory directoryname to username;
    try to just select.
    select dbms_lob.getLength(BFileName('directoryname','filename.xml'))
    as length
    from dual;

  • Inserting pdf file into database

    I am trying to insert a adobe pdf file into a multimedia field in my database and while I can get it to cut and past I would like it to auto size into the box that I have defined for it. I have many records to compile, thousands. Some of these pdf files have several pages and it would be nice to be able to scroll through thier content in that multimedia field box. How do I do this? Is it possible? If not I assume I am stuck with making a link that opens the file. I assume this is possible. How do I do this?
    Thanks in Advance,
    Shane

    Hello
    You may enter the Layout > Layout mode to enlarge the area dedicated to the multimedia field.
    But there is no provision for an autosize feature.
    The link soluce is not available in databases.
    I mimic it true the "enhanced database" structure requiring an AppleScript.
    You may find the script on my temp iDisk or in the Peggy's one which is organised well.
    Peggy's idisk
    Yvan KOENIG (from FRANCE 20 octobre 2005 12:20:17)

  • How to upoad a file (pdf) contents in database BLOB column

    I am new to ADF and developing a UI page using which users can insert a row in the database (by giving some input values on the page) and then upload a pdf file belonging to the inserted row (using upload button against that row which is shown on the UI after insertion) and save its data in BLOB solumn of database column.
    I am using jdeveloper 11.1.1.5 Can anyone please guide me how can I achieve this upload funcationlity. Thanks

    This had been asked frequently. ..
    Re: Upload and download blob in ADF
    Timo

  • After storing pdf in a database table I miss some content

    Hello,
    we develop an Application with APEX 3.0.1 and create pdf-documents. The database is 10.2.0.3. Report Queries were created in APEX and layouts were created with BI Publisher. There were defined two buttons. The first one is for interactive printing the report pdf and it works correctly. The second button is for saving just this report pdf in the database, the PL/SQL procedure use the same ReportURL. If I view this report pdf after storing in the database, the pdf displays not all of the content like in interactive printing document.
    Is there anybody who knows this situation? What can I do for finding the reasons for this behavior?
    Best regards,
    Susanne

    Susanne,
    I'm not sure how you're retrieving the PDF document in the DB and store it there. But you mentioned that you use APEX 3.0.1, have you considered upgrading to APEX 3.1.2? In 3.1 we introduced print APIs, like apex_util.get_print_document that are designed specifically for this purpose:
    http://download.oracle.com/docs/cd/E10513_01/doc/apirefs.310/e12855/apex_util.htm#CHDIEDJH
    Regards,
    Marc

  • How to batch upload PDF files into database BLOB

    Hello.
    I have a requirement to batch upload PDF files into BLOB column of an Oracle 8.1.7 table from Forms 6i Web. The content of the blob column (ie. the PDF content) MUST be displayable from all client software (eg. Oracle Web forms, HTML forms, etc.)
    Our environment is
    Middle-tier is 9iAS on Windows/2000
    Database is Oracle 8.1.7.0.0 on VMS
    Oracle Web Forms 6i Patch 10
    Basically my Oracle web form program will display a list of PDF files to upload and then the user can click on the <Upload> button to do the batch upload. I have experimented the following approaches but with no luck.
    1. READ_IMAGE_FILE forms built-in = does NOT work because it cannot read PDF file. I got error FRM-47100: Cannot read image file
    2. OCX and OLE form item = cannot use this because it does NOT work on the Web. I got error FRM-41344 OLE object not defined
    3. I cannot use DBMS_LOB to do the load because the PDF files are not in the database machine.
    4. Metalink Note 1682771.1 (How to upload binary documents back to database blob column from forms). When I used this, I got ORA-6502 during the hextoraw conversion. In using this solution, I have downloaded a bin2hex.exe from the Google site. I've noticed that when I looked at the converted HEX file, each line has the character : (colon) at the beginning of each line. I know the PDF file has been converted correctly to HEX format because when I convert the HEX file back to BIN format using hex2bin.exe, I'm able to display the converted bin file in Acrobat Reader. When I removed the : (colon) in the HEX file, I did NOT get the ORA-6502 error but I CANNOT display the file in Acrobat Reader. It gives an error "corrupted file".
    5. upload facility in PL/SQL Web toolkit - I tried to automatically submit the html form (with htp.p) but it does NOT load the contents of the file. I called the URL from Oracle forms using web.show_document. There seems to be issues with Oracle Web forms (JInitiator) and HTML (+ htp.p).
    The other options I can think of at this point are:
    1. Use SQL*Loader to do the batch upload via SQL*Net connection and use HOST() built-in from Oracle Webforms to execute SQL*Loader from the 9iAS.
    2. Write a Visual Basic program that reads a binary file and output the contents of the file into a byte array. Then build a DLL that can be called from Oracle webforms 6i via ORA_FFI. I don't prefer this because it means the solution will only work for Windows.
    3. Write a JSP program that streams the PDF file and insert the contents of the PDF file into blob column via JDBC. Call JSP from forms using web.show_document. With this I have to do another connection to the database when I load the file.
    4. Maybe I can use dbms_lob by using network file system (NFS) between the application server and VMS. But this will be network resource hungry as far as I know because the network connection has to be kept open.
    Please advise. Thank you.
    Regards,
    Armando

    I have downloaded a bin2hex.exe from the Google site.
    ... each line has the character : (colon) at the
    beginning of each line. I'm afraid it isn't a correct utility. I hope you'll find the source code of a correct one at metalink forum:
    Doc ID: 368771.996
    Type: Forum
    Subject: Uploading Binary Files: bin2hex and hex2bin do not reproduce the same file
    There is some links to metalink notes and some example about working with BLOB at http://www.tigralen.spb.ru/oracle/blob/index.htm. Maybe it helps. Sorry for my English. If there is any problem with code provided there, let me know by e-mail.

  • How to delete the complete contents of database table ? should be empty !!

    Hi Guys,
    I have requirement where i have delete the contents of database table..i have make it empty (no records at all) and then i have to fill it with the records from the excel sheet.
    I can upload data from the excel sheet.
    Please tell me how to delete the complete contents of the database table ??
    Regards
    Rahul

    hi ,
    just write like this,
    delete from <database table>.
    commit work.
    sample code, here edpar is database table.
    delete from edpar." FROM TABLE g_tab_delete.
      call function 'DB_COMMIT'.
      loop at g_tab_edpar into g_wa_edpar.
        insert into edpar values g_wa_edpar.
        if sy-subrc  eq 0.
          move-corresponding g_wa_edpar to g_wa_edpar1.
          append g_wa_edpar1 to g_tab_edpar1.
        else.
          move-corresponding g_wa_edpar to g_wa_edpar2.
          append g_wa_edpar2 to g_tab_edpar2.
        endif.
      endloop.
    that's all it works.
    reward points if helpful.
    regards,
    seshu.

  • How to save pdf file in database

    Dear All,
    my application is forms 6i and database is 8i,requirement is that how to save pdf file in database and users can view through forms

    I'll apologize up front for the length of this post. I have a few database procedures I created that write a file to a BLOB column in a table as well as retrieve the BLOB from the column after it stored there. I have successfully stored many different types of binary file to the database using these procedures - including PDF files. I have not used these procedures in a Form so I can confirm that they will work, but theoretically they should work. I'm including the code for each procedure in this posting - hence the apology for the long post! :-)
    Also, since these procedures reside on the database you will need to use Forms TEXT_IO built-in package to write your file to the server before you can use these procedures to store and retrieve the file from the database.
    These procedures reads and writes a binary file to a table called "LOB_TABLE." You will need to modify the procedure to write to your table.
    -- Author :  Craig J. Butts (CJB)
    -- Name   :  load_file_to_blob.sql
    --        :  This procedure uses an Oracle Directory called "IN_FILE_LOC".  If you
    --           already have a directory defined in the database or would prefer to use
    --           a different Directory name, make sure you modify line 21 to reflect the
    --           new Directory name.
    -- ==================================================================================
    -- History
    -- DATE        WHO         DESCRIPTION
    -- 12/11/07    CJB         Created.
    CREATE OR REPLACE PROCEDURE load_file_to_blob (p_filename IN VARCHAR2) IS
       out_blob    BLOB;
       in_file     BFILE;
       blob_length INTEGER;
       vErrMsg     VARCHAR2(2000);
    BEGIN
       -- set the in_file
       in_file := BFILENAME('IN_FILE_LOC',p_filename);
       -- Get the size of the file
       dbms_lob.fileopen(in_file, dbms_lob.file_readonly);
       blob_length := dbms_lob.getlength(in_file);
       dbms_lob.fileclose(in_file);
       -- Insert a new Record into the tabel containing the
       -- filename specified in P_FILENAME and a LOB_LOCATOR.
       -- Return the LOB_LOCATOR and assign it to out_blob.
       INSERT INTO lob_table (filename, blobdata)
          VALUES (p_filename, EMPTY_BLOB())
          RETURNING blobdata INTO out_blob;
       -- Load the file into the database as a blob.
       dbms_lob.open(in_file, dbms_lob.lob_readonly);
       dbms_lob.open(out_blob, dbms_lob.lob_readwrite);
       dbms_lob.loadfromfile(out_blob, in_file, blob_length);
       -- Close handles to blob and file
       dbms_lob.close(out_blob);
       dbms_lob.close(in_file);
       commit;
       -- Confirm insert by querying the database
       -- for Lob Length information and output results
       blob_length := 0;
       BEGIN
          SELECT dbms_lob.getlength(blobdata) into blob_length
            FROM lob_table
           WHERE filename = p_filename;
       EXCEPTION WHEN OTHERS THEN
          vErrMsg := 'No data Found';
       END;
       vErrMsg := 'Successfully inserted BLOB '''||p_filename||''' of size '||blob_length||' bytes.';
       dbms_output.put_line(vErrMsg);
    END;
    -- Author   :  Craig J. Butts (CJB)
    -- Name     :  write_blob_to_file.sql
    -- Descrip  :  This procedure takes a BLOB object from a database table and writes it
    --             to the file system
    -- ==================================================================================
    -- History
    -- DATE        WHO         DESCRIPTION
    -- 12/11/07    CJB         Created.
    CREATE OR REPLACE PROCEDURE write_blob_to_file ( p_filename IN VARCHAR2 ) IS
       v_blob      BLOB;
       blob_length INTEGER;
       out_file    UTL_FILE.FILE_TYPE;
       v_buffer    RAW(32767);
       chunk_size  BINARY_INTEGER := 32767;
       blob_position INTEGER := 1;
       vErrMsg     VARCHAR2(2000);
    BEGIN
       -- Retrieve the BLOB for reading
       BEGIN
          SELECT blobdata
            INTO v_blob
            FROM lob_table
           WHERE filename = p_filename;
       EXCEPTION WHEN OTHERS THEN
          vErrMsg := 'No data found';
       END;
       -- Retrieve the SIZE of the BLOB
       blob_length := DBMS_LOB.GETLENGTH(v_blob);
       -- Open a handle to the location where you are going to write the blob
       -- Note:  The 'WB' parameter means "Write in Byte Mode" and is only
       --          available in the UTL_FILE pkg with Oracle 10g or later.
       --        USE 'W' instead for pre Oracle 10q databases.
       out_file := UTL_FILE.FOPEN('OUT_FILE_LOC',p_filename, 'wb', chunk_size);
       -- Write the BLOB to the file in chunks
       WHILE blob_position <= blob_length LOOP
          IF ( ( blob_position + chunk_size - 1 ) > blob_length ) THEN
             chunk_size := blob_length - blob_position + 1;
          END IF;
          dbms_lob.read(v_blob, chunk_size, blob_position, v_buffer );
          UTL_FILE.put_raw ( out_file, v_buffer, TRUE);
          blob_position := blob_position + chunk_size;     
       END LOOP;  
    END;Hope this helps.
    Craig...
    -- If my response or the response of another is helpful or answers your question please mark the response accordingly. Thanks!

  • URGENT--------------------Problem in Inserting Japanese Content TO CLOB

    Hello,
    We are trying to insert the xml file containing japanese content into database table.
    I am getting some garbage characters inserted, if we try to insert the content of xml file into column of database table of type CLOB.
    PreparedStatement pstmt = conn.prepareStatement(insertQuery.toString());
                   pstmt.setString(1, fileContent.toString());
                   pstmt.executeUpdate();If i make dotabase column as BLOB type and insert the data then actual content is getting inserted.
    PreparedStatement pstmt = conn.prepareStatement(insertQuery.toString());
                   pstmt.setBytes(1, fileContent.toString().getBytes());
                   pstmt.executeUpdate();Could you anybody figure out the problem?
    Its very urgent.
    Thanks in advance
    Venkat.

    at last i got the root cause of the problem. It was in Database side.
    Thanks

  • Inserting PDF inc. comments as an Object in MS Excel

    Hi,
    I created a PDF document (Adobe Acrobat Standard 9) including a text box comment in that PDF. When I try to insert this document in a MS Excel Spreadsheet by using "Insert --> Object --> Adobe PDF Document" the inserted PDF in Excel does not show the Text Box comment anymore but the rest of the PDF looks okay. At the same time when the PDF is inserted in Excel, Adobe Acrobat pops up and shows the PDF document still containing the text box comment!
    Does anybody knows how I get my Excel to show the comment Text box in the inserted PDF document??
    Many thanks in advance
    Georg

    fwiw -
    In the Pro release there are Preflights that will flatten.
    Also, doing a Print that uses the Adobe PDF "driver" has, in the Print dialog, a drop-down (upper right) that lets one select
    printing the PDF Document, Document & Markups, Documents & Stamps, or Form fields only.
    Must flatten the annotations into the PDF page content because, otherwise, they are not of the page content (which is the PDF object being inserted).
    Be well...

  • Stroring the pdf file in database

    Hi,
    I am generating a pdf file from report server and in the trigger I want to push this file to Oracle database. How will I do if I do have a blob column in the database table. What could be the way inserting this Blob object into the table in the report trigger.
    Prashant

    hi
    try the following link.
    Re: Store PDF files in database.
    sarah

  • Servlet retrieves pdf content stored in oracle and sends this content

    I have pdf content stored in an oracle database. The database column type is LONG RAW. I am retrieving the contents using jdbc's getBinaryStream. The content type is set to pplication/pdf. When the code is executed, the acrobat is launched but the content is not displayed. After analyzing the contents retrieved from the database, I discovered that characters were missing. I replicated the same code in a different language and it was working.
    Has anyone else encountered this problem? If so, how was it resolved.
    Any ideas or comments would be appreciated.
    z.

    What is the character set of the Oracle db that you are using. I would suggest that you try to set the char set to Unicode and try.

  • Insert  PDF document into Word 2007 document

    I am trying to insert a PDF document into a Word 2007 document and only the first page inserts.  I am desperate to finish this project.  Thanks for any help.

    A lot depends on what your end goal is in using the PDF. Without some concept of where you are headed, there is not much more that can be said, other than list a bunch of other ways to interact with WORD.
    Yeah, I agree with Bill@VT. More precisely say, if you just need to quote the pdf content, you can just use "snagit" screenshot program to capture desired part of the pdf file as an image then paste into your word document. Usually in this way, there will not any resize or data loss of reuse pdf content into word file.
    And of course, if you want to further change or edit the pdf content or seamlessly <link removed>, you just try to convert pdf to word with Adobe Acrobat or other software.
    Message was edited: for this user, across multiple threads, to remove link promotion

  • Store zip content to database

    Hi, I need some help or idea since I got stuck with storing zip content to database. What I really want to do is storing a huge trunk of zipped content in our database as a blob. In my program, I created a ZipOutputStream that contains the logging detail. At the end, I tried inserting the stream to the database using preparedStatment.setBinaryStream(input stream, size) from Java. Unfortunately, setBinaryStream() method only accepts an input stream as the parameter. How do I convert the ZipOutputStream to an InputputStream? Or is there other way to go around this?
    Your help is greatly appreciated!

    I tried chaining them together with ByteArrayOutputStream and ByteArrayInputStream. But somehow it doesn't seem to work. Here is the how I do it:
    byte[] data = sb.toString().getBytes();
    int size = data.length;
    ByteArrayOutputStream baos = new ByteArrayOutputStream(size);
    BufferedOutputStream bos = new BufferedOutputStream(baos);
    ZipOutputStream out = new ZipOutputStream(bos);
    out.setLevel(9);
    ZipEntry entry = new ZipEntry("test.txt");
    out.putNextEntry(entry);
    out.write(data, 0, size);
    out.flush();
    ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
    out.close();
    preparedStatement.setBinaryStream(2, bais, bais.available();
    preparedStatement.executeUpdate();
    Any hints? thx! by the way, I use http://forum.java.sun.com/thread.jspa?forumID=31&threadID=281034 as my reference.

  • How to insert html code to database?

    Hi
    Sorry if this post is not related to this forum.
    My problem is, I want to insert the html page content to database (mysql). I could not find any function that can parse the html code and then add escape characters.
    Thanks in advance

    Just store raw HTML in database. Always use PreparedStatement and you're safe.
    On display, you can escape HTML (XML) using c:out.

Maybe you are looking for

  • Transfering from G3 imac to my macbook

    hi, i need to transfer data ie:photo's, movies,etc to my macbook, i have no disc burner on my imac. i have read somewhere you need a firewire cable???? can i also move applications like indesign, photoshop etc. any help appreciated

  • ITunes Library: Movies and Music in Different Places

    Hey all: I've been wanting to move my movies in iTunes to an external harddrive simply because they take up so much space, but I like having iTunes "manage" my files so that if I change the name of a song, it will change the file name as well, etc. I

  • Can we refresh RSPCM transaction in background ??

    Hi guys, I am working in BI 7 landscape, where there are around 120 process chains. I have included all these chains in the RSPCM transaction to monitor the daily loads. But the problem is that it take around 8 minutes or more to get refreshed in for

  • How I sped up my LR4

    Previously I was deleting/renaming the LR4 preferences file to speed up LR4, but I only found this to be a temporary fix. It didn't fix it permanently. A few people here are saying it's caused by a corrupt preferences file. I haven't explored the rou

  • Please Help - Flash Image Viewer

    I read other posts with the same problem but no solution was offered, so I try to get some answers this way. I have a slide show with 5 images ( http://www.interweb39.com) . The size of the image area is defined as 400x300. The images are 400x300. Th