Storing and displaying LOB - pdf, images

Hi,
I am using Oracel 10g on Linux.
I need to store pdfs and images and display them using HTMLDB reports and Discoverer reports. the LOBs size vary from 30KB to 1700KB.
Which will be the best way to store these objects. since the sizes are not that big, i was thinking of storing them directly in the database tables instead of storing them externally.
and storing internally in the database, will it be better for a quick retrieval and display of the LOB in the reports.
Can somone guide me and maybe link me to some documents for storing LOB and displaying using HTMLDB and Discoverer.
Thanks,
Philip.

Whether you store the documents in the database or not is totally dependent on your requirements (backup, security, etc). As for performance, you may need to test that for yourself once you have it configured.
You may want to walk through this How to Upload and Download Files in an Application. It provides detailed instructions for facilitating what you are looking for in Application Express (formerly HTMLDB).

Similar Messages

  • Unable to display a PDF image on the page - Mac 10.6

    Hi,
    Running an iMac with 10.6.8 and Indesign 5.0.4. Just wanting to export a PDF as per usual via File > Export function. However, I keep getting the error message, "Unable to display a PDF image on the page'. No idea what this is and have never seen this error before. The only info on the internet reveals error code 0x2511(9489).
    I've deleted prefs, closed down and re-opened Indesign and even restarted the computer. I've also re-linked the images contained in the document and even created a new document and set it up the same, but still the same problem. Investigating further, other Indesign documents still export properly.
    The only ones that don't export are 2 documents, both giving this same error message. Both documents are ones where a client has sent a PDF, I've imported into two of these into an 2-page A4 Indesign document (each PDF is 48MB each) and then just added a text layer (using Times) which is properly installed on the computer. I basically have to 'update' course dates for the client and add PDF to the website, all very basic.
    I've tried importing a jpeg and other PDFs into the file (replacing the existing ones) and they export fine.
    All my software is legal and I've exported this document before now in exactly the same File > Export without any problems (under 10.5 and 10.6).
    OK... I've just imported the offending PDFs into Acrobat, optimized and shrunk the file size, re-imported back to Indesign and the PDF export works fine. So it seems InDesign / PDF Export doesn't like large imported PDFs? I think they were originally exported from Publisher, so maybe that's the problem or a file conflict somehow.
    Any ideas on the culprit? I've googled it, searched these forums and Apple discussions and haven't found anything. Although I've found a workaround, I do get large files to import and then export. Thanks for any help
    Steve

    It does sound like a problem with the original PDF files the client sent you. You can check how they were made in Acrobat Pro from the Additional MetaData button on the Description tab of the document properties dialog. It will be under Advanced at the bottom of the list when the metadata opens.
    You might be able to salvage them by running the optimzer and not changing the size, or just doing a Save As in Acrobat.

  • Store and Display doc/pdf files in the database using Forms

    Hi all,
    How can i store and display doc/pdf files in the database using Forms 10g?.
    Arif

    How to get up and running with WebUtil 1.06 included with Oracle Developer Suite 10.1.2.0.2 on a win32 platform
    Solution
    Assuming a fresh "Complete" install of Oracle Developer Suite 10.1.2.0.2,
    here are steps to get a small test form running, using WebUtil 1.06.
    Note: [OraHome] is used as an alias for your real oDS ORACLE_HOME.
    Feel free to copy this note to a text editor, and do a global find/replace on
    [OraHome] with your actual value (no trailing slash). Then it is easy to
    copy/paste actual commands to be executed from the note copy.
    1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
      and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
    2) Copy or move jacob.jar and jacob.dll
      [JacobStage] is the folder where you extracted Jacob, and will end in ...\jacob_18
         cd [JacobStage]
         copy jacob.jar [OraHome]\forms\java\.
         copy jacob.dll [OraHome]\forms\webutil\.
      The Jacob staging area is no longer needed, and may be deleted.
    3) Sign frmwebutil.jar and jacob.jar
      Open a DOS command prompt.
      Add [OraHome]\jdk\bin to the PATH:
         set PATH=[OraHome]\jdk\bin;%PATH%
      Sign the files, and check the output for success:
         [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\frmwebutil.jar
         [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\jacob.jar
    4) If you already have a schema in your RDBMS which contains the WebUtil stored code,
      you may skip this step. Otherwise,
      Create a schema to hold the WebUtil stored code, and privileges needed to
      connect and create a stored package. Schema name "WEBUTIL" is recommended
      for no reason other than consistency over the user base.
      Open [OraHome]\forms\create_webutil_db.sql in a text editor, and delete or comment
      out the EXIT statement, to be able to see whether the objects were created witout
      errors.
      Start SQL*Plus as SYSTEM, and issue:
         CREATE USER webutil IDENTIFIED BY [password]
         DEFAULT TABLESPACE users
         TEMPORARY TABLESPACE temp;
         GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
         CONNECT webutil/[password]@[connectstring]
         @[OraHome]\forms\create_webutil_db.sql
         -- Inspect SQL*Plus output for errors, and then
         CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
      Reconnect as SYSTEM, and issue:
         grant execute on webutil_db to public;
    5) Modify [OraHome]\forms\server\default.env, and append [OraHome]\jdk\jre\lib\rt.jar
      to the CLASSPATH entry.
    6) Start the OC4J instance
    7) Start Forms Builder and connect to a schema in the RDBMS used in step (4).
      Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
      It is important to generate the PLX, to avoid the FRM-40039 discussed in
      Note 303682.1
      If the PLX is not generated, the Webutil.pll library would have to be attached with
      full path information to all forms wishing to use WebUtil. This is NOT recommended.
    8) Create a new FMB.
      Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
      There is no need to Subclass the WebutilConfig object.
      Attach the Webutil.pll Library, and remove the path.
      Add an ON-LOGON trigger with the code
             NULL;
      to avoid having to connect to an RDBMS (optional).
      Create a new button on a new canvas, with the code
             show_webutil_information (TRUE);
      in a WHEN-BUTTON-PRESSED trigger.
      Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
    9) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
      the "Application Server URL" is empty.
      Then append "?config=webutil" at the end, so you end up with a URL of the form
          http://server:port/forms/frmservlet?config=webutil
    10) Run your form.sarah

  • Simultaneously trigger and display two camera images with two frame grabbers

    When I try to simultaneously trigger and display two camera images, each with their own frame grabbers, Labview is only able to display one of the images at a time.
    My hardware:
    Two Sony XC-EU50 cameras (not in sync with each other)
    NI-1410
    NI-1405
    My Software:
    Windows XP and Labview 7.1 with IMAQ
    I connect each camera to its own frame grabber.  Both frame grabbers are in the same computer.  I input a trigger into each frame grabber.  Both trigger signals are identical.  Trigger rate is only 0.2 Hz. 
    I want to display and save both images at the same time.  The program i put together only displays one image at a time.  The image that is displayed alternates from one camera to the other.
    Please help with any suggestions.
    Thanks.
    Shahab K.
    Attachments:
    TriggerTwoCameras.vi ‏137 KB

    Hi Shahab.
    Without having triggered two cameras connected to two NI boards with LabVIEW yet: This shouldn't be a limitation in LabVIEW.
    Updating two Image Display Indicators in one run of a while loop definitely works properly, so this cannot be the reason for the problem.
    Your code uses the IMAQ Snap.vi. This VI is not reentrant, so the both instances of this VI on your block diagram cannot execute at the same time.
    I could not find an appropriate example matching your scenario exactly. (Maybe someone else knows better?)
    I recommend to have a look at the examples in the "IMAQ Signal IO.llb" and do some copy and paste to get a VI that satisfies your requirements.
    The "Grab with two boards.VI" illustrates how to acquire images without using the not-reentrant "IMAQ Snap.VI".
    Hope this helps, Guenter
    P.S.: Do you know NI's Vision Forum? http://forums.ni.com/ni/board?board.id=200

  • Select RTF Data and display in PDF Document

    Hi all,
    I have a simple table:
    CONTENT_ID - NUMBER
    CONTENT - VARCHAR2(4000)
    On top of this table I have a form that allows the user to enter / update data. The 'CONTENT' field is a Rich Text Editor (ApEx 4.0 - CKEditor 3). This allows the user to enter and format their text as they require.
    I need to be able to select this data and display it in a PDF Document (via BI Publisher).
    I therefore have a simple query
    select content from content_table where content_id = 1;and a simple template that processes the resulting xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <ROWSET>
       <ROW>
          <CONTENT>& lt;h2& gt;
         This is a heading& lt;/h2& gt;
    & lt;p& gt;
         This is the text& lt;/p& gt;
    </CONTENT>
       </ROW>
    </ROWSET>(There is not really a space between the & and 'lt' etc but I had to add this to get it to display correctly here).
    Where I run this past my template I get a PDF with:
    <h2>
    This is a heading</h2>
    <p>
    This is the text</p>I get the same if I generate HTML.
    but what I want to see is the text formatted as the user has entered in the RTF editor.
    Can this be done?
    Many thanks,
    Martin

    I think your mixing 2 technologies.
    At 1 side you have xml in combination with xsl (style sheets used in BI Publisher and FOP) to generate your pdf. And at the other side you have HTML...
    XML and HTML are 2 entirely different technologies which you can not mix this simple. I investigated the same problem as you had, and in the end I ended up using jasperreports instead of FOP.
    Maybe BI Publisher has some html regions which you could insert into your word document but I doubt it cause more people have asked the same question on this board...
    So my advice: use jasperreports (also it is free for commercial usage)
    Success
    Br,
    Nico

  • How to generate and display the pdf form as a web dynpro abap view

    Hi,
        I filled the value in the table and displayed in the view,In that view i have one button"TOPDF".
        My requirement is,if i click that button,i want to display the table in the PDF output.
        For the above requirement,i created another view with interactive form,In that view i created one "pdf" Node and  "soure" as a attribute of Type-xstring.Then i binded the soure attribute withe "pdfdatasoure" of my interactive form  view.
        Now my doubt is how and where can i pass the table values to pdf output.
        can any body cleare my doubt with some sample code.
    Thanks in Advance.
    Regards,
    Ravi.

    Hello Ravi,
    Best would be to bind the dataSource of the InteractiveForm ui element to the parent node containing the table's data. Then specify a name of a template to be created in the templateSource and hit <enter>. Some popups later, the system will have created a template from the structure of the context. All you need to do now is to drag&drop the data structure inside the template designer to the template itself. This will result in a table. Save, activate and return the Web Dynpro view. Don't forget to unbind the pdfSource and enjoy.
    Best regards,
    Thomas

  • How to read and display a fits image into JPanel

    Hi,I currently want to read a .fits file and display it in JPanel,have no idea how to achieve it.Any suggestions and source codes are appreciated.Thanks in advance!

    fits stands for flexible image transport system,it defined only for astronomy image data.it is not normal image,I am afraid I can not use the way you said to read fits file.Anyway,thanks a lot.

  • Read byteArray(binary) from backend and display as pdf in flex titleWindow

    i have requirement where the pdf come as byteArray from backend, which i need to read from flex app and diaplay as pdf in the flex titleWindow or any flex popup.
    any ideas on this....,

    Hello Sandra,
    Thanks for your reply, but eventhen it fails to load the pdf. Is ADS required to be installed for this?
    Can I just pass the pdf_fsize imported from  CONVERT_OTF which is of type i.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          FORMAT                = 'PDF'
        IMPORTING
          BIN_FILESIZE          = PDF_FSIZE    
    bin_file              = pdfxstring
        TABLES
          OTF                   = L_JOB_OUTPUT_INFO-OTFDATA
          LINES                 = LT_PDF
        EXCEPTIONS
          ERR_MAX_LINEWIDTH     = 1
          ERR_FORMAT            = 2
          ERR_CONV_NOT_POSSIBLE = 3
          OTHERS                = 4.
      CALL METHOD G_HTML_CONTROL->LOAD_DATA(
         EXPORTING
           TYPE         = 'application' "'text' " 'application'
           SUBTYPE      = 'pdf' "'html'  "'pdf'
           size           = PDF_FSIZE
         IMPORTING
           ASSIGNED_URL         = lv_URL
         CHANGING
           DATA_TABLE           =  LT_DATA "i_html "LT_DATA
         EXCEPTIONS
           DP_INVALID_PARAMETER = 1
           DP_ERROR_GENERAL     = 2
           CNTL_ERROR           = 3
           OTHERS               = 4 ).
    Thanks,
    Jaya.

  • Storing and display user's choices

    Hi,
    I have a captivate interaction that has three decision screens with four choices (buttons) at each decision. Is there a way to store which choice the user clicks, and display it on the screen at the end of the interaction?  I'm looking at creating a variable for each Decision, and then when one of the choices is clicked, assigned the variable (Decision1) with cpQuizInfoAnswerChoice. but can Captivate store that info through additional slides, and then display it later on? or does the variable get cleared once we leave the decision slide?
    thanks for your help!
    Carrie

    Replying to myself here - so what I ended up doing for the prototype is creating an action for each choice button that assigns feedback text to the choice variable (so "assign variable Decision1 with "xyz feedback".)
    then, I just called variable Decision1 up on a screen at the end of the module. it worked!

  • Indesign CC does not display linked PDF image on screen

    On Mac1 (10.6.8) When I imported a PDF file into Indesign CC 9.1 as a linked image - the image would come in as usual, however the image would not appear on my screen. Only a blank page box.
    I can see the thumbnail image of the imported PDF in the links palette correctly.
    However, on my page it appears as a blank box.
    Selected Hi-res preview, and still it appears as a blank box.
    I export to PDF, and the image is there as it should be on the exported PDF.
    I tried the same image on Mac2 (10.8.3) with Indesign CC.
    The imported image appears correctly on the page. (no blank box)
    I saved that file and opened it on Mac1 that is having the problem displaying the image.
    Mac1 again does not display the image, instead it is a blank box.
    Tried the same image import in Cs6. No issue on either mac1 or mac2
    What could be causing the imported PDF not to display on the page in Indesign CC?
    Has anyone else come across this problem?

    Hi
    Are you still facing the same issue ?
    Please refer to these threads for steps that you can try :
    Edge Animation not working properly
    Edge Animate not working in Muse Browser Preview, But works in Edge Preview
    http://tv.adobe.com/watch/learn-adobe-muse-cc/integrating-adobe-edge-animate-graphics/
    Thanks,
    Sanjit

  • Storing and displaying web sites

    Hi,
    I'm writing an RSS Aggregator and I want to be able to download an HTML web site and present it to the user in a nice way. I know there are some very nice existing browsers out there, but the problem is they all take a URL. Therefore, they require an active internet connection to view the site. I would like, if possilbe, to be able to store the HTML so that even if the user is not online they can still view it.
    So far all I've come up with is storing the HTML as a String, but that doesn't capture images or style information and ends up not looking very nice when you put it in a JEditorPane. It's not absolutely crucial to be able to capture images, but it would certainly be nice. Of course, I don't expect to be able to follow links with my off-line application either - I'm not trying to download the entire internet!
    Any help would be greatly appreciated,
    -Peden

    Ok so I did some more investigation on this serialize
    issue and I found it is a known bug that was
    documented as early as 2002!
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=463
    0761
    This guy was trying to do exactly the same thing I am
    - so it turns out there IS a nice tool out there for
    storing a web site and this it! Supposedly there is
    an easy fix to the HTMLDocument class but I guess
    Sun's developers just haven't gotten around to it
    yet???
    So is it conceivable that I could change Java's
    source code to fix this problem for me? I feel like
    this is the tool I am looking for and the solution is
    right there, there's just this stupid little easy to
    fix bug which is preventing me from getting this
    thing working. Any insight?
    Thanks,
    -PedenI don't think you can get your changes into JDK 1.6 since that is in RC. I don't know if you can submit code to 1.7 yet, but that would be an option.
    You shouldn't try to modify the class for an existing version since the VM won't load it (unless you place it on the bootclasspath)
    Kaj

  • Link to download in csv format and display in pdf

    Hi
    i have oracle 10.1.2 portal and as part of application i have a page which results various columns in tabular format, i need to provide the user a link on the same page which which will allow the user to download the result page content in csv format. how can we do it?
    i have another a HTML page which gets generated dynamically, i need to show the same content in pdf format. guide me how can i do it?
    help is requested because this is an urgency..

    Hi,
    I did it once - however, I am not sure if Portal 10.1.2 has support for MIME types other than text/plain. I implemented a JSP solution and this is what I did :
    1. I have a Servlet that checks the choice of output i.e, html or Excel.
    2. The Servlet first renders the page in HTML, with a link that invites the user to "Export" the report to Excel. The Servlet forwards the rendering to a JSP ( which is a Portlet ).
    3. If the link is click, the same Servlet is invoked - thsi time, I made the Servlet to render the output as Excel using the usual code: response.setContentType("application/vnd.ms-excel");
    4. The same output is rendered in Excel.
    The Servlet was not a Portlet - I had to do this workaround as Oracle Portal 9.0.4 wouldn't support the content-type application/vnd.ms-excel
    Thus, the HTML rendering was done via a JSP, which is a Portlet. THe PDF / Excel redering was done by a Servlet, which is not a Portlet.
    I would be interested to know if 10.1.2 ( & the later verions ) support the Excel / PDF MIME Types.
    Regards,
    Sandeep

  • Using edit text control for storing and displaying text of 1000 characters

    Hi all,
    I have a requirement to provide a field for remark in one of dialog screens, for saving remarks of up to 1000 characters. I made container and edit control and add a field LCHR in database table with preceding INT4 field. Then I use this code to save/read data in/from database table:
    CALL METHOD editor->get_textstream
         EXPORTING
           only_when_modified = 0
         IMPORTING
           text               = mytext
         EXCEPTIONS
           OTHERS             = 1.
    in user command and:
    CALL METHOD editor->set_textstream
         EXPORTING
           text = mytext.
    in status.
    Then in read I tried to select single LCHR field from that row and put it in mytext TYPE string. In save I save mytext as LCHR field in database table. There is no error anywhere but it doesn't work. Is it even possible to save STRING text in LCHR field of database table?
    What is alternative? Text objects from SE75?

    Having a string in a database table is absolutely independent on having some trouble in the program. If you got an error saying you need only flat structure, that means you can't use a deep structure in the context.
    I suppose you are using the structure on the screen or ALV. You can only use a flat structure there (no strings, no sub-tables...) as you would not be able to render a deep-structured data on the screen. Of course, ABAP could handle that e.g. by ignoring those deep fields, but we would want too much.

  • How can I read and display a ATR image file?

    Hello,
       Does anyone have any ideas on how to read a atr image file? 
    Regards,
    Kaspar
    Regards,
    Kaspar

    Hello,
      The ATR file is one of three files that are outputed as a result of a test that is performed with UnHoltz Dickie test equipment  that is used in a vibration lab. Does this help answer the question is there are any viewers?
    Regards,
    Kaspar
    Regards,
    Kaspar

  • How to decode and display the PDF in ADF application

    Hi All,
    I newbie to Oracle ADF,my requirement is like, In DB table encoded pdf data is available I am able to view the the encodes data in ADF app but I want to decoded pdf. In my app I decoded the encoded data but it comes as text format like' %PDF-1.4
    2 0 obj
    <<
    /CreationDate (D:20121017234301)
    /Keywords <>
    /Author ()' I looking for actual pdf format. Any help.
    Thanks
    Mani

    It would be helpful if you describe what did not work with the sample. The sample reads the pdf from a file whereas you need to load it from a blob in the DB.
    You can use my sample, which need some setup, so don't run it as is, http://tompeez.wordpress.com/2013/05/16/handling-imagesfiles-in-adf-part-4/ which shows how to do this with blobs read from the db.
    Timo

Maybe you are looking for

  • Unable to interpret u3030u0081@ as a number - problem

    Hi, We've got problem with BPMs which use graphical (java) mapping. In SXI_MONITOR such processes have "Message being sent" status. In process engine workflow log it stops at mapping step with "In process" status. Technical details show that there is

  • Slow editting channel in arrangement, but quick with mixer open

    Hi, A few weeks ago i freshly reinstalled Lion on my MacPro, because it was responding slow in Loepard even after upgrading my MacPro from 4 to 16GB and working in 64-bit mode. Unfortunately i still have the same problem. Please see also post https:/

  • I got this message today what does it mean

    Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory. Please check that this directory has no read/write restrictions and your hard disk is not full or close t

  • Default actions Windows XP CS3

    Trying to run the default vignette action, I get a message that "feathering is not currently available." I'm wondering why I'm getting the error message and how to fix it. Thanks for your help.

  • Erreur 3194 mise a jour iphone impossible

    Tout est marque dans le titre je n'arrive pas a faire une mise a jour il y a un message erreur 3194 . J'ai bien téléchergé la derniere version d'itunes et sa ne marche pas. merci de m'aider.