Pdf to be stored in other column

hi
how to retival the .pdf file from a column and stored in another table using plsql program.please send a program how to do ..

Hi Arun,
Would you like to achieve an automatic way to store the document in cloud portal? Can you elaborate a bit more?
Check out this blog demoing the documents repository capabilities and read the official documentation here.
I believe the public folder can fit for your needs.
Regards,
Eliel.
Cloud Portal Development.

Similar Messages

  • Problem displaying PDF stored in BLOB column

    Hello everyone.
    I've been trying to follow this tutorial http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::p11_question_id:232814159006 on displaying PDFs stored in BLOB columns. This is being performed on Apex 4.2, with my DB running 11g. I've got my procedure, which I'll post below:
    create or replace procedure "PDF" (p_id IN gvo_documents.doc_id%type)
    is
        l_lob    blob;
        l_amt    number default 30;
        l_off   number default 1;
        l_raw   raw(4096);
    begin
        select contents into l_lob
            from gvo_documents
             where doc_id = p_id;
    -- make sure to change this for your type!
        owa_util.mime_header( 'application/pdf' );
        begin
            loop
              dbms_lob.read( l_lob, l_amt, l_off, l_raw );
              htp.prn( utl_raw.cast_to_varchar2( l_raw ) );
              l_off := l_off+l_amt;
              l_amt := 4096;           
        end loop;
            exception
               when no_data_found then
                  NULL;
            end;
    end;
    I am trying to run this through a PL/SQL dynamic region and while I don't receive any error's, the content displayed is a huge mess of garbled text and odd characters. I've tried to run this procedure on numerous other document types, including word files and jpeg images, all with the necessary changes in my procedure, and regardless of what I use, I still get a large mess of strange characters. Does anyone have any information or ideas about why this is happening?

    If I understand correctly, your requirements needs to be broken down into two problems:
    1) click link that pops up a window displaying a new APEX page
    2) an APEX page the displays the document, not downloads it.
    I haven't done #1 (yet).
    However, you may be able to generate a URL that points to the new page as part of the SELECT statement for the Report.
    This has a related question, but no answer yet:
    open pdf in popup browser window
    The key is target="_blank" for the anchor tag.
    To generate the URL, you should use the APEX_UTIL.prepare_URL() function.
    If that doesn't work, a Dynamic Action that does some magical JavaScript stuff may be needed.
    For #2, I lost the URL that showed how to display a PDF as part of a "form" page.
    From what I remember:
    Start with a blank page with one blank HTML region (all the Items go in the HTML region)
    Add an Item for the PK/Doc_ID
    part I forgot Create a Data Manipulation Process
    - Automated Row Fetch
    - On Load - After Header
    - (stuff for your table/view)
    part I forgot Create an (I believe) "File Browser" item type. For Settings:
    - Storage Type "BLOB column specified in Item Source" (and place the column name of the BLOB there)
    - MIME Type Column: (column name) -- since you have multiple types, this is a MUST HAVE
    - Filename Column: (column name) -- I highly recommend you have this.
    - Content Disposition == INLINE <-- this is the kicker
    Also, you will need a Browser Plugin for each of the MIME Types (otherwise, the browser may try to 'download' the file)
    Browsers can handle Image types internally. Adobe's plugin can handle PDFs. I don't know about Word/Excel.
    Again, I don't remember the exact details, but that should cover most of it.
    MK

  • Whenever you try to save a PDF file to a location other than the default location ('My Documents'), Firefox freezes & you have to go to the 'Task Manager' to exit Firefox and stop the error, so you can load Firefox again.

    Whenever you try to save a PDF file to a location other than the default location ('My Documents'), Firefox freezes & you have to go to the 'Task Manager' to exit Firefox and stop the error. I have Windows XP (Media Center Edition) and all updates (Firefox, Adobe PDF, Microsoft, virus protection, etc) are installed. This has only been a problem since Firefox 4, and isn't a problem in Internet Explorer.

    Hi David,
    Thank you for your detailed question. It sounds like the real issue is pdf files. Are there any antivirus/firewalls that might be blocking this specific file type? or are there any preferences in your control panel that might be blocking this?
    Do you have any stored preferences for PDF files in Firefox?
    *[[Applications panel - Set how Firefox handles different types of files]]

  • Pdfs display fine in every other browser and on pc, just not in ie

    Can't view PDF on the web
    have done EVERY single thing on this page to no avail, pdfs display fine in every other browser and on pc, just not in ie
    I have acrobat pro 11 and windows 8.1
    have tried every help article on the internet I can find and still nothing...am probably going to have to get used to another browser, this issue has taken hours and hours and still cannot get it to work

    Install the latest update of Reader or Acrobat (done, no effect)
    Adobe releases free security updates quarterly. It is important to update your version of Reader or Acrobat to the latest release. The updates often include fixes to common problems. Download the latest free update:
    Note: Microsoft Windows 7 requires Adobe Reader 9.2 or later.
    1.      Open Reader or Acrobat.
    2.      Choose Help > Check for Updates. If a new update is available, it installs automatically.
    3.      Once installed, restart your computer.
    To the top<http://helpx.adobe.com/acrobat/kb/cant-view-pdf-web.html>
    Refresh or reload the page (done, no effect)
    Often, just refreshing the page allows the PDF to load fully.
      Hold down the Shift key and press the    Refresh or    Reload button in the browser.
    Try to view a different PDF (done, no effect)
    Try viewing a different PDF. For example, see if this sample form<http://help.adobe.com/en_US/Acrobat/9.0/Samples/flatform.pdf> displays in your browser.(DOES NOT OPEN) If Acrobat or Reader can open the sample form, then the other PDF could be damaged or the web server could be having problems. If possible, contact the individual or company who manages the website.
    1.      Try to view a PDF on your hard drive .  (ALL PDFS OPEN ON HARD DRIVE)
    To the top<http://helpx.adobe.com/acrobat/kb/cant-view-pdf-web.html>
    Problem with the browser or its settings?
    Use a different web browser  (Pdf'S open in alternate browsers)
    Certain conditions on your computer, such as security settings or browser cookies, can prevent you from viewing a PDF. Often, the fastest solution is to try to open the page using a different browser. Try any of the following browsers that you have not already tried:
    Mozilla Firefox<http://www.mozilla.com/firefox/>
    Microsoft Internet Explorer<http://www.microsoft.com/windows/internet-explorer/default.aspx>
    Apple Safari<http://www.apple.com/safari/download>
    For a list of compatible browsers for Reader and Acrobat X, see this list of Compatible web browsers<http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html>.
    Switch to Compatibility View (Internet Explorer) (done, no effect)
    Some websites display better in the Compatibility View of Internet Explorer. The Compatibility View displays a page as if it was an earlier version of the browser. For instructions on how to switch to this view, see one of these documents on the Microsoft website:
    Internet Explorer 9: How to use Compatibility View in Internet Explorer 9<http://windows.microsoft.com/en-us/windows7/How-to-use-Compatibility-View-in-Internet-Expl orer-9>
    Internet Explorer 8: Why are some web pages blank or incorrectly displayed in Internet Explorer<http://windows.microsoft.com/en-US/windows7/webpages-look-incorrect-in-Internet-Explorer>.
    Restart your computer and try opening the PDF again (done, no effect)
    Restart your computer, then open the web page again. Restarting clears the computer memory and memory cache. It is surprising how often simply restarting your computer resolves a display issue.
    Delete temporary Internet files (Internet Explorer, Firefox, and Chrome) (done, no effect)
    Clear the browser cache (sometimes called 'temporary Internet files') to ensure that you are viewing a fresh version of the page. When you open a web page, the browser saves a temporary copy so that it opens more quickly next time. You want to force the browser to load the entire page directly from the server, rather than displaying a stored copy.
    Reset the Display PDF In Browser preference (done, no effect)
    1.      In Reader or Acrobat, right-click the document window, and select Page Display Preferences.
    2.      From the list at left, select Internet.
    3.      Deselect Display PDF In Browser, and then click OK.
    4.      Choose Edit > Preferences > Internet, select Display PDF In Browser, and then click OK.
    5.      Try to open the PDF again from the website.
    View PDF in 32-bit version of Internet Explorer or Safari (done, no effect)
    Acrobat and Reader are 32-bit applications on Windows. If you try to open a PDF in a 64-bit version of Internet Explorer, the PDF opens in stand-alone Acrobat or Reader, not in Internet Explorer.
    Remove DreamFactory (Firefox only) (done, no effect)
    If you receive the error "Cannot use Adobe Reader to view PDFs in your web browser," do the following:
    1.      Choose Start > Run, type appwiz.cpl in the Open text box, and then click OK to open the Add Or Remove Programs dialog box.
    2.      Select Change Or Remove Programs in the Add Or Remove Programs dialog box, select DreamFactory Runtime for Netscape, Mozilla and Firefox, and click Change/Remove.
    3.      Click OK in the Remove Programs From Your Computer dialog box.
    To the top<http://helpx.adobe.com/acrobat/kb/cant-view-pdf-web.html>
    Problem with Reader or Acrobat?
    Remove unmatched or multiple versions of Reader or Acrobat  (already did this including running a cleaner from the Adobe site) (done, no effect)
    Repair Reader or Acrobat (done, no effect)
    Reader or Acrobat could be damaged. Repairing the installation is a quick troubleshooting safeguard.
    Repair from within Reader or Acrobat (done, no effect)
      (Reader) Choose Help > Repair Adobe Reader Installation.
      (Acrobat) Choose Help > Repair Acrobat Installation.
    Repair using Control Panel (Windows) (done, no effect)
    You can also repair your Acrobat or Reader installation using the Windows Control Panel.
    Enable the Adobe PDF browser add-on (Internet Explorer) (done, no effect)
    Make sure that the Adobe PDF browser add-on, AdobePDF.dll, is enabled.
    Run Acrobat or Reader in a new local administrator account (done, no effect)
    Optimize large PDF files (not the problem)
    If the PDF file is 4 MB or larger, ask the provider to optimize the PDF file. For information about optimizing PDF files, see
    Check the registry path for Acrobat or Reader (Windows) (done, no effect)
    Repair the HKCR\AcroExch.Document registry key (Windows) (done, no effect)

  • Best ways to view/display PDF/Excel files stored in the Database

    What are best ways to display/view PDF/Excel files stored in the Database? thanks L

    Thanks tom, sorry let me explain. Currently we have oracle forms screen, using webutil to store/view files into DB. client won't like the interface, they want us to make it more friendly, drag and drop if possible, load multiple files, as possible.. So I am exploring different ways to improve may be java (or jdev/any any other), different screen designs, different features for fileupload/download/view options.

  • Oracle reports to display PDF/Excel files stored in the Database

    can we use Oracle reports to view/display PDF/Excel files stored in the Database? Thanks Lalitha

    A document stored in the database can be easily retrieved in or via the browser using mod_plsql. Simplified:
    select content, mime_type
    into v_blob, v_mime_type
    from ...
    owa_util.mime_header(nvl(v_mimetype,'application/octet'),false);
    htp.p('Content-length: ' || dbms_lob.getlength(v_blob));
    owa_util.http_header_close;
    wpg_docload.download_file(v_blob);So, the link in your report should point to this database procedure.
    Edited by: InoL on Mar 1, 2011 4:17 PM

  • Substitution variable stored in a column?

    I want to store some links in a database column and then output these. The links need to have substitution variables though (eg: f?p=&APP_ID.:&SESSION.). These must be stored in the column due to the way the data is automatically generated from a different process. Is it possible to use substitution variables in a table column? I tried, outputting the data with htp.p in a pl/sql region however the data output was the text "&SESSION." rather than the actual value for the session.

    Forgot to mention - this is CLOB column containing quite a lot of text (with newline characters etc). I tried using replace(column,'&SESSION.',v('SESSION')) however this doesn't appear to work. It works if I replace column with some test text ('f?p=123:456:&SESSION.::: for instance) so I think it's something to do with the CLOB data type.
    [edit]
    hmm... If I try to replace the string "&SESSION." it doesn't work, but works fine replacing "SESSION"...?
    Edited by: /dev/null on Nov 17, 2008 2:54 PM

  • Invoice amount is stored in which column?

    Hi
    In ra_customer_trx_lines_all Invoice amount is stored in which column?
    Thanks
    Prakash

    Hi Prakash,
    Please check links:
    http://prasanthapps.blogspot.com/2011/05/ar-query-to-get-open-invoices-for.html
    http://ebsanil.blogspot.com/2012/09/query-to-find-ar-invoices-posted-to-gl.html
    http://www.shareoracleapps.com/2011/05/query-open-ar-invoices-in-oracle-apps.html
    Thanks &
    Best Regards,

  • Join a row to a table name stored within a column ?

    Hi guys - can you tell me if this is doable at all ?
    I've an existing table with a lot of data in it that I wish to query on.
    This table has a text column, and then 4 more columns - Join Table name, Join column name, Join value and table value column.
    The 3 join 3 columns allow me to join this piece of text to a row in another table, identified by the 3 join columns listed above.
    Now, I appreciate this is a lousy design, but its in place and there's nothing I can do about it.
    I do however need to get a row by row report of the text, followed by the value stored in the column identified by table id column.
    So lets say I have
    Table_A
    Pers_ID
    Name
    Age
    Sex
    Table_B
    Col_ID
    Colour
    Hue
    My text table will have rows like this
    Text
    text = 'Person A Age'
    join tablename = 'Table_A'
    join columnname = 'Pers_ID'
    join value = 1
    table value column = 'Age'
    text = 'Person B Sex'
    join tablename = 'Table_A'
    join columnname = 'Pers_ID'
    join value = 2
    table value column = 'Sex'
    text = 'Pers A Fave Colour'
    join tablename = 'Table_B'
    join columnname = 'Col_ID'
    join value = 1
    table value column = 'Colour'
    So - what I should be able to do is go to either table a, and select the column specified, where the id column = the value supplied.
    The only way I can think of doing this is to create a temporary table and go through the text table, row by row using pl/sql and select from whatever table it tells me to using dynamic sql and populate the temporary table.
    Can this be done using sql ??

    Hi,
    ScottyH wrote:
    Hi guys - can you tell me if this is doable at all ?
    I've an existing table with a lot of data in it that I wish to query on.
    This table has a text column, and then 4 more columns - Join Table name, Join column name, Join value and table value column.
    The 3 join 3 columns allow me to join this piece of text to a row in another table, identified by the 3 join columns listed above.
    Now, I appreciate this is a lousy design, ...I agree. It's a variation of the Entity-Attribute-Value (EAV) model, which might be a good thing if relational databases didn't exist.
    I think your present approach, using dynamic SQL, is the best that you can do.
    One possible alternative is to unpivot table_a, table_b, and all the other tables like them into an EAV form, then do a UNION of all those unpivoted results. (You could do this in a view, if you wanted to.) Then your query would simply be a join between your text table and the EAV table (or view).
    If you'd care to post CREATE TABLE and INSERT statements for a little sample data, and the results you want from that data, then I could demonstrate what I mean.
    What version of Oracle are you using? You should always include this when you have a question. It might not matter in this case, but why take a chance?
    Here's another approach that would work in very special circumstances.
    If there are only a couple of tables like table_a and table_b, and they only have a couple of columns that you might need to reference, then you could do all possible joins, and use CASE expressions to get the results from the one you actually want. All the joins would have to be outer joins, so I expect this approach would be very slow.

  • How to publish XML document whose source is stored in clob column

    I have to create simple application:
    in one table are stored some information about XML documents (date of creation, etc.) and the document source itself in one (unfortunatelly clob type) column.
    The point is to anable users finding document(s) and viewing it.
    Using forms I can search and display information about documents. But I have no idea how to publish XML document whose source is stored in clob column.
    I am using Oracle Portal 3.0 on NT.
    Thanks in advance.

    Hi Sergio,
    This link might be helpful:
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r31/apex31nf/apex31blob.htm
    Also refer the BLOB Download Format Mask :
    {message:id=9716335}
    Here I have given the format mask for APEX 4.0, which will slightly differ for 3.2.1 and proposed changes
    in the format mask are:
    1) Format Mask: DOWNLOAD
    2) Content Disposition: Inline
    This will be achieved with it:
    >
    But now, my user would like to know if it´s possible that APEX application can OPEN some of these files stored on this BLOB column WITHOUT download it.
    My user would like to see a hiperlink (or button) that, if pressed/acessed, can open a new page (or a page inside application) with the document. He doesn´t need to edit this oppened file. He only wants to see it.
    >
    Hope it helps!
    Regards,
    Kiran

  • How to dump block and identify the bytes stored for each column

    SQL> select header_file, header_block
    2 from dba_segments
    3 where segment_name = 'APARTMENTS';
    HEADER_FIL HEADER_BLO
    4 1692
    1 row selected.
    SQL> alter system dump datafile 4 block 1693;
    Statement processed.
    How can I see the dump block and identify the bytes stored for each column?
    tab 0, row 0, @0x73b
    tl: 125 fb: H-FL lb: 0x1 cc: 4
    col 0: [25]
    52 65 64 77 6f 6f 64 20 53 68 6f 72 65 73 20 41 70 61 72 74 6d 65 6e 74 73
    col 1: [20] 00 54 00 01 02 08 00 00 00 01 00 00 00 01 00 00 00 00 1b 8d
    col 2: [53]
    00 54 00 01 02 0c 00 00 00 01 00 00 00 01 00 00 00 00 1b 8e 00 21 09 00 00
    00 00 00 00 11 00 00 00 00 00 01 45 6d 65 72 67 65 6e 63 79 20 44 65 74 61
    69 6c 73
    col 3: [20] 00 54 00 01 01 08 00 00 00 01 00 00 00 01 00 00 00 00 1b 8f

    SQL> select header_file, header_block
    2 from dba_segments
    3 where segment_name = 'APARTMENTS';
    HEADER_FIL HEADER_BLO
    4 1692
    1 row selected.
    SQL> alter system dump datafile 4 block 1693;
    Statement processed.
    How can I see the dump block and identify the bytes stored for each column?
    tab 0, row 0, @0x73b
    tl: 125 fb: H-FL lb: 0x1 cc: 4
    col 0: [25]
    52 65 64 77 6f 6f 64 20 53 68 6f 72 65 73 20 41 70 61 72 74 6d 65 6e 74 73
    col 1: [20] 00 54 00 01 02 08 00 00 00 01 00 00 00 01 00 00 00 00 1b 8d
    col 2: [53]
    00 54 00 01 02 0c 00 00 00 01 00 00 00 01 00 00 00 00 1b 8e 00 21 09 00 00
    00 00 00 00 11 00 00 00 00 00 01 45 6d 65 72 67 65 6e 63 79 20 44 65 74 61
    69 6c 73
    col 3: [20] 00 54 00 01 01 08 00 00 00 01 00 00 00 01 00 00 00 00 1b 8f

  • Good day, I have installed Acrobat DC, and would like to combine 2 files. One is excel allready converted to PDF - No problem. The other one is from Pastel mailed as PDF.

    Good day,
    I have installed Acrobat DC, and would like to combine 2 files. One is excel allready converted to PDF - No problem. The other one is from Pastel mailed as PDF.
    When trying to merge the files, this file ask for a Password. No password was issued from the setup or mail?

    Good day abrieb93050306,
    I can understand your concern, however can you please let me know that are you able to open both the PDF files ( the one you converted form excel to pdf & the other pdf that was mailed to you ) individually without using any password?
    As it asks for the password, it means that the postal mailed PDF is password protected. You can ask for the password from the sender of the postal mail & then try to combine the files.
    Please follow the steps in the provided KB doc.to combine the files : Combine files into single PDF | Adobe Acrobat DC tutorials
    This will probably resolve your issue.
    Let me know if you still experience any issue.
    Regards,
    Aadesh

  • How to get the other columns of a particular mininum value

    <p>I have a multiple rows per account in a table. I build a object minimum(col1) in the Business Object universe. I need to get the corresponding values of a min(col1) for each account. Problem is when i pull the min(col1) and other column, it always gives every combination of the min(col1) for each account. How do i get only the corresponding values.</p><p>Example</p><p>Acct         Col1     col2     col3 </p><p>1              34       3         4</p><p>1              45        5        6</p><p>2               3         7         8</p><p>output should be</p><p>1           45    5   6</p><p>2         3       7   8</p><p>How i accomplish with data providers or free hand sql combinations</p><p>&#160;</p><p>Thanks</p><p>&#160;</p><p>&#160;</p>

    you can do this very quickly by creating a crosstab with the Acct as the Row, and Col1,2,3 as the Columns, and the Maximum of your field as the summary.

  • Pages:  How can I sort one column of words and not have it affect the other columns?

    How can I sort one column of words and not have it affect the other columns?  I have opened the inspector to the edit columns and rows under Table.  It will sort the column, but then it changes the other colums as well.  I know that if I use Numbers, it will work, but I want to know how to do the same thing in Pages.

    Hi Peter,
    Numbers sorts full rows on values in selected column(s). The technique for sorting a single column is essentially the same as Jerry is describing for Pages tables—separate the (data in the) column to be sorted, sort it, return it to the table.
    In Numbers the actual column may be separated from the original table, sorted, then returned. In Pages, the data must be extracted, sorted, then pasted back in, overwriting the unsorted data (if it was left in the original table).
    iWork tables follow a database model in which each row is a Record, and each column holds a Field within the records.
    As evidenced by the current question (and several similar questions arising in the Numbers community) that model doesn't apply to the way some users, especially some who come in from the MS Excel world, use tables.
    With Excels model—islands of data on a single large table, the ability to sort one or a selected few columns of data makes sense. One 'island' may comprise only cells AA21:AH50. Sorting that small 'table' should be possible without disturbing the rest of rows 21-30, which are probably part of one or more other 'data islands' in the sea that is a MS Excel spreadsheet.
    In Numbers, each of those 'islands' would be a separate Table, and that Table would be sortable without disturbing other Tables in the document.
    Regards,
    Barry

  • Why can't I open emails in my inbox that arrived before today - I can open today's messages and I can open earlier emails tha are stored in other folders

    Yesterday I had a message that I could not "get mail" because my inbox was full and that I should delete some files or compact. It only had about 20 messages in it but I had ignored suggestions that I compact for a while so I went to the menu and hit compact. Then I could get mail and I could open it while it was in my inbox.
    This morning I got mail and I was able to look at it and I deleted quite a lot. A little later (I had restarted my computer in the meantime) I wanted to look at an email in my inbox. It appeared to open but had no content at all. Similarly when I looked at the message at the bottom of the screen it did not show there at all. The only messages in my inbox that I can look at are the two that arrived today.
    I am able to open messages that are stored in other folders. But moving a message from the inbox to a folder does not make it able to be opened.
    Another odd thing; in the inbox, one message that I can open shows the wrong sender - the sender of a message I had been moving to see if it could be opened if it were stored elsewhere; but the sender is correct when I open the message.
    It is all very weird.

    This sounds like you do have a corrupted Inbox file.
    First of all create a backup of your profile folder.
    http://kb.mozillazine.org/Thunderbird_:_FAQs_:_Backing_Up_and_Restoring
    Then try to repair Inbox.
    Right-click Inbox - Properties - Repair Folder

Maybe you are looking for

  • Re: Regarding Purchase Requsition Report

    HI, I am making purchase Requisition Report and i want to display<b> that these are the PURCHASE REQUISITIONS and these are approved by these persons at these dates.</b> if anybody provide me help he or she will be definately rewarded. Message was ed

  • How do I add a finishing look to an imported document?

    I want to turn pages in my document with the look of a bound finish.

  • App that puts Finder on desktop

    After trying like heck to fix the resolution on my Mac mini connected to a Toshiba TV.....1080p display leaves black frame, overscan option cuts out the Finder menu....I am wondering if there is an app out there that put the complete Finder on the de

  • Import of PAL DV AVI fails

    Hello forum, I have DV AVIs which were captured on a Windows XP PC with the Miro DV500 capture card (with OpenDML option, PAL format, interlaced). When trying to import a given AVI file into Final Cut Pro X 10.0.1 (latest available update) I get an e

  • After recent download of update to iPad, I now have no sound and all my games are slow.What happened?

    I recently downloaded the offered update to iPad.  Now I have now sound and all my games are slow.  Plus, anything with a video while surfing can't be viewed. Does anyone know hat happened and how to fix it?