BLOB Files

Hi,
Is it possible to view BLOB files in OBIEE. I have these binary files stored in tables but would like to reference them in a report and allow the user to open a file. These are text/pdf/jpeg files
Can anyone help?
Thanks

Hi,
Instead of showing that into a report. Save them in the below location and give a link or reference-
\OracleBI\web\app\res
\OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res
http://oraclebizint.wordpress.com/2007/11/12/oracle-bi-ee-101332-working-with-clob-fields/
11g supports now a CLOB datatype, don't know the same for BLOB
But refer below
http://www.rittmanmead.com/2010/08/oracle-bi-ee-11g-reporting-on-clobs-lookups/
Hope this helped/ answered.
Regards
MuRam
Edited by: MuRam on Jun 12, 2012 6:42 AM

Similar Messages

  • How do i insert multiple blob files in Stored procedure using c#?

    i want to add multiple blob files to a stored procedure at one go.Thus i have a 2 dimensional byte array consisting of multiple blob files.How to i add this 2 dimensional array to stored procedure?

    Hi Jeff,
    I haven't tried to insert multiple images at a time, but have done it for single image at a time and composed article on it : BizTalk
    Server 2010: How to Insert Image In SQL Through Orchestration and sample can be found at : 
    BizTalk Server 2010: How to Insert
    Image In SQL Through Orchestration sample.
    I hope it helps.
    Maheshkumar S Tiwari|User
    Page | http://tech-findings.blogspot.com/

  • Display in browser blob files (.doc, .pdf...) stored in the Database

    Hi,
    I want to display blob file from de DB to the browser, but when I click on the link of the document I want to open, nothing append. If I check the length of the file it is correct. I tried to write it in a directory to see what appends. I can only write txt file. The other files are corrupted.
    I did something like in the topik 532271.
    Did I do something wrong ? Do I have to write some code in the web.xml ?
    Here is my code :
    public DataOutputStream showBlob() throws SQLException, IOException{
    //it is my class not those from java.io
    File file = (File) this.getFiles().getRowData();
    FacesContext faces = FacesContext.getCurrentInstance();
    HttpServletResponse resp = (HttpServletResponse)faces.getExternalContext().getResponse();
    Blob b = file.getBlob();
    int len = 0;
    InputStream is = b.getBinaryStream();
    long length = b.length();
    byte[] x = new byte[10240];
    resp.setHeader("Content-Disposition","filename=\"" + file.getFileName() + "\"");
    resp.setContentType(file.getMimeType().getMime());
    resp.setContentLength((int)length);
    DataOutputStream o = new DataOutputStream(resp.getOutputStream());
    while ( (len = is.read(x)) != -1)
    o.write(x, 0, len);
    o.flush();
    o.close();
    is.close();
    faces.responseComplete();
    return o;
    In my xhtml page I have :
    <ice:commandLink id="downloadLink"
    action="#{managerBean.layoutManager.ediTraining.showBlob}"
    value="#{file.fileName}" target="_blank">          
    </ice:commandLink>
    Thank you for your response.
    Edited by: joce77 on Nov 12, 2007 7:39 AM

    Hi BalusC,
    I did what you explant on this page http://balusc.blogspot.com/2007/07/fileservlet.html whit "FileServlet serving from database".
    When I clik on the link I got an empty page with this html code :
    <iframe id="history-frame" src="/uniform/xmlhttp/blank" style="z-index: 10000; visibility: hidden; width: 0pt; height: 0pt; position: absolute; opacity: 0.22;" title="Icefaces Redirect" frameborder="0"></iframe>
    <script id="dynamic-code" language="javascript"></script>
    <script id="focus-code"></script>
    <script id="select-code"></script>
    <script id="click-code"></script>
    <script id="configuration-script" language="javascript">window.session='YXtNt2XZnElULb3t0j_7BQ';
    document.getElementById('configuration-script').parentNode.viewIdentifier=1;
    if (!window.views) window.views = []; window.views.push(1);
    window.configuration = {synchronous: false,redirectURI: null,connection: {context: '/uniform/',timeout: 30000,heartbeat: {interval: 20000,timeout: 3000,retries: 3}}};
    </script>
    Any idea ?
    Thanks

  • Displaying the BLOB files(PDF,TXT,IMAGE,etc) in the Form as an Attachment

    Hi all,
    I need to Open a file which is stored in the Data base Table & the Data type is of BLOB so i am populating the data but i need to display the attachment which is stored in the BLOB file when the button is clicked & i am using Oracle 10g
    I have been just placed a Button & written the below code in WHEN_BUTTON_PRESSED Trigger & i have tried it out by placing a image icon & WHEN_IMAGE_PRESSED but it's not getting worked
    It is Directly Coming in to Exception..
    DECLARE
    vblob BLOB;
    vmime VARCHAR2(30);
    BEGIN
    select attachment,MIME_TYPE into vblob,vmime
    from Table_name_a
    where UNIQUE_ID = 16842;--:ITEM_RESULT.DRAWINGNO;
    htp.init;
    owa_util.mime_header( vmime, false);
    -- owa_util.mime_header( 'image/jpeg', false);
    -- owa_util.mime_header( 'image/jfif', false);
    -- owa_util.mime_header( 'image/gif', false);
    -- owa_util.mime_header( 'application/word' , FALSE);-- to read MS WORD doc
    owa_util.mime_header( 'application/pdf' , FALSE);-- to read ADObE
    message ('attachment type is' ||vmime);
    message ('attachment type is' ||vmime);
    owa_util.http_header_close;
    wpg_docload.download_file(vblob);
    exception
    when no_data_found then
    dbms_output.put_line('1. attachment type is' ||vmime);
    -- NULL;
    end;
    so if any body has any idea Please let me Know
    Hope for the Reply.
    Thanks & Regards
    K Nikethan Reddy

    Hi,
    Thanks for the reply,
    The Document which u Refer is Showing how to Retrieve the Files from the Local System (i.e by giving the path) but i need to populate it from the database.
    K Nikethan Reddy.

  • Radio Button group with images stored as BLOB files in database

    Hey all!
    I have radio button group, my idea is that radio button's LOV must display images, I mean BLOB files stored in a table.
    How can I do this?

    Hello Ken,
    I asked similar question in the past, and I believe the answer is still the same.
    Select List as an option of a Radio Group
    In your case, I think you can use a select list with added functionality, like "Select List with Branch to Page" or "Select list with Submit", or you can just attach an onChange event (JavaScript) to each select list. The effect should be similar to a radio group – as soon as the user select one item from any of the select lists, you can fire some action, based on the select list value.
    Hope this can help,
    Arie.

  • View Doc (pdf, image, .doc) imported as BLOB files in UIImageView within a UIScrollView.

    Hi,
    I am new to IOS programming and after researching on topic i found post saying it is possible to view BLOB file in uiimageView.
    I have already done sucessfully for BLOB file of Image. but i can not view pdf file, even if i got NSData.
    /****** from SP ****/
    Insert TestBlob(tbName, tbDesc, tbBin) Select
    'Test.pdf','PDF file', BulkColumn from Openrowset( Bulk
    'C:\blob\udoc\81.pdf', Single_Blob) as tb
    /****** from my App *******/
    NSString *strImage; // String has BLOB file from DB
    NSData *imageData = [self dataFromBase64EncodedString:strImage];
    UIImage *image = [UIImage imageWithData:imageData];
    UIImageView *m_oImageViewer = [[UIImageView alloc]init];
    m_oImageViewer.image = image;
    m_oImageViewer.frame=CGRectMake((self.view.frame.size.width/2)- 250,60,500,500);
    [self.view addSubview:m_oImageViewer];
    -(NSData *)dataFromBase64EncodedString:(NSString *)string{
    if (string.length > 0)
         NSString *data64URLString = [NSString stringWithFormat:@"data:;base64,%@", string];
        NSData *data = [NSData dataWithContentsOfURL:[NSURL URLWithString:data64URLString]];
        return data;
    return nil;
    Please help me. i have already viewd Image but PDF comming empty. i do not want to edit or do anything only user should be able to view uploaded Doc from IPD App. and Doc can be image, pdf or .doc or excel sheet. i get BLOB file for all file types which i pass to my App.
    IS what i am doing is correct? as i imagine BLOB is common for all file Types. still i can not see pdf file(i have not tried other file formate only .png and pdf).
    Please guid me if i am missing anything.

    Hi Sreelatha. The best example code for your purpose is the Scrolling sample app I referred to previously. The word Scrolling in that post is a link to the download page. I think that code will answer all your questions about how to init a UIImage, then use it to init a UIImageView, and then position the UIImageView frame in a UIScrollView. Two cases are demostrated: 1) Scrolling horizontally through a series of images; 2) Scrolling both H & V over a single image which is several times larger than the window.
    You might also be interested in the PageControl sample app in case you want to add a page control to your scroll view.
    Reading your last post again... I sure hope we've been discussing images (like jpegs?) in this thread. This isn't about reading and rendering the actual xls, pdf and doc files, is it?? Of course the iPhone handles html beautifully, so for example, an html representation of a doc file would play nicely. But in that case you'd want a UIWebView, not a UIImageView.

  • How to retrieve blob file

    i am having a problem retrieving my blob file(PDF) to display on browser.
    i have this code below:
    $filename = $row['FILENAME'];
    // Call the load() method to get the contents of the LOB
    print $row['BINFILE']->load()."\n";
    header('Content-type:application/pdf');
    //header("Cache-Control: private",false); // required for certain browsers
    header('Content-Disposition: attachment; filename="'.$filename.'"');
    readfile($filename);
    echo $row['BINFILE'];
    this will display some characters when opened at mozilla. when opened on IE, this doesn't display pdf on the browser instead it will only allow to save the file.
    hope anyone can give me some advice n some assistance on this.
    thanks
    Edited by: tamse on Jul 7, 2009 7:16 PM
    Edited by: tamse on Jul 7, 2009 7:19 PM

    I've got an example on my blog that might help, it's using a PNG. You can find it here:
    http://blog.mclaughlinsoftware.com/php-programming/oracle-lob-processing/

  • How to read a blob file using dbadapter

    how to read or select a blob file in a table using dbadapter

         public void fileRead(){
                 File aFile =new File("myFile.txt");
             BufferedReader input = null;
             try {
               input = new BufferedReader( new FileReader(aFile) );
               String line = null;
               while (( line = input.readLine()) != null){
             catch (FileNotFoundException ex) {
               ex.printStackTrace();
             catch (IOException ex){
               ex.printStackTrace();
         }This code is to read a text file. But there is no such thing that will convert your text file to xml file. You have to have a defined XML format. Then you can read your data from text files and insert them inside your xml text. Or you may like to read xml tags from text files and insert your own data. The file format of .txt and .xml is far too different.
    cheers
    Mohammed Jubaer Arif.

  • Creating a bitmap from a blob file

    I need help writing PL/SQL procedure (or function) that converts a blob file in an Oracle 8 table to a normal bitmap.
    Can any one help??
    Thanks in advance.
    Rob

    I can help with this if the BLOB is actually a bitmap. IE If you have the BITMAP stored as a blob in an 8i table then Email me at [email protected] and I will send you some code the demonstrates reading a blob and producing a bitmap on the file system.
    Cheers
    Paul

  • What are the blob files on the agents?

    Question:
    In /opt/local/aduva/director_agent/blobs/
    There are multiple files with the suffix .blob
    What are they?
    Answer
    The blob files are the actual software packages downloaded by the UCE server from the Universal Software Component Repository. This occurs once you have approved the installation of a component and are not downloaded again if they are present in the appropriate directory.
    This may be Solaris patches or RPM files depending on the managed channel of that host.

    To see what the file is type on the command line
    file xxxxx.blob where xxxx is the name of the blob. the file command will return the name of the rpm or that the file is a script.

  • GWCheck repetitive 'CODE 93 unused blob files (deleted)

    I've run the standalone gwcheck a few times now. with 'contents+attachment file check' and Fix problems.
    I've run it on user/message.
    It seems to me that it keeps reporting the same message after every run, I get
    Correctable conditions encountered:
    CODE DESCRIPTON COUNT
    93 Unused blob files (deleted)..................583
    It keeps reporting the same count, 583 files.
    It also reports
    Uncorrectable conditions encountered:
    CODE DESCRIPTON COUNT
    50 Unused blob files (deleted)..................18
    Any idea on how to correct it?

    Originally Posted by fribert
    I've run the standalone gwcheck a few times now. with 'contents+attachment file check' and Fix problems.
    93 Unused blob files (deleted)..................583
    It keeps reporting the same count, 583 files.
    50 Unused blob files (deleted)..................18
    Any idea on how to correct it?
    In the details above it should show the folder and BLOB file(s) it wants to delete as it crawls through the message databases. You can check to see if they actually exist. IF it is not deleting them, there is usually a reason, like they are too recent to delete, they are help open, or the options actually in effect do not allow it to repair. In the beginning of the GWCHECK log, it will show the options, and the start / end time of the run.
    I'm wondering if you are seeing the same GWCHECK log over and over, so check the start / end times to ensure its not just regurgitating the same log.
    -- Bob

  • Where are BLOB Files stored when using redo log files.

    I am using Archive Log Mode for my backups. I was wondering if Blob files get stored in the redo log files or if they are archived somewhere else?
    Rob.

    BLOB are just columns of some tables and are stored in related tablespace table by default in their own segments. Changes to BLOB columns are also stored in redo log more or less like any other column.
    See an short example for default LOB storage in Re: CLOB Datatype [About Space allocation]
    Edited by: P. Forstmann on 27 avr. 2011 07:20

  • Import BLOB files

    Hi,
    I need to import BLOB files in SAP in order to store and assign an employee picture for each employee. I have looked at the Data Provider:
    http://help.sap.com/saphelp_45b/helpdata/en/f1/b4a6c4df3911d18e080000e8a48612/content.htm
    -> Has someone faced the same issue and can tell me if it is possible to solve this through the Data Provider/or thanks to prgm?
    Thx,
    V.B

    http://www.oracle-base.com/articles/8i/ImportBlob.php
    This is to import any BLOB file onto table column.
    Cheers
    Sarma.

  • Open BLOB files

    Hi,
    I’m having some problem with access BLOB files:
    I have a VO that is based on some tables including fnd_lobs.
    I want to let the user access the field - file_data.
    When I use the item type messageDownLoad – I get error after opening the file: “can’t determine type”
    although the attribute Mime Type has the correct data type.
    (I’ve created the item using the guidelines in the Oracle Applications Framework Developer's Guide)
    But if I use the function: fnd_gfm.construct_download_url to get the file’s url, I can access the file without any problem:
    pageContext.setRedirectURL(fileUrl,false);
    I wanted to know:
    * Are there any specific declarations for using messageDownLoad that is a field in a table?
    * Is there a parameter that I can use while calling the function pageContext.setRedirectURL – so the URL will be opened in a different window?
    Thanks!
    Rona.

    Hello,
    By the way, now it starts magically working. Am really disappointed that there is no way for me to raise support ticket for such issues.
    For sure something has changed on the Azure service, but its just a bit sad that I have to pay in case I wish to report such issues. :(
    For your benefit details are here..
    VS 2010, Open Server Explorer and then open your Azure account, under that open Blob and then it did not respond. ( today it does, and I can see my folders and files inside them)
    Regarding "you can open it in your Azure portal", I am not sure of your question. But I have been able to open the manage.WindowsAzure.com and look at my storage account details on the day had problems.
    Thanks.
    Manu

  • Manage Blob files

    Hi there,
    I have a problem: I'm trying to open a .jpg file stored in a BLOB field of the Database. I've followed the instructions founded on the online help but what I get is a file which is totally different from the original one!
    here's my piece of code.. where am i wrong? Is there a better method to open a Blob file? thanks to all.
    CODE:
    String filename = "C:\\temp.jpg";
    File tempFile = new File(filename);
    BlobDomain myBlob = (BlobDomain) k.getAttribute("Documento");
    InputStream blobIn = myBlob.getBinaryStream();
    OutputStream fileOut = new FileOutputStream(tempFile);
    int next;
    while ((next = blobIn.read()) != -1) {
    fileOut.write(next);
    blobIn.close();
    fileOut.close();

    How are you selecting the unique row for the blob?

Maybe you are looking for

  • Beginner needs slideshow with pages and hyperlinks

    I've used Adobe PS, PSE, Fireworks, Dreamweaver, etc. now have cloud. All I want to create is a simple SWF the moves a picture from right to left, holds a few seconds so that a person can click the page to go to a linked page, exit, enter two more pa

  • Help me track my stollen ipod please!

    My ipod got stollen two days ago and i tried to track it but i think its not connected to an internet connection. So is there another way i can track my ipod without wifi ?

  • [SOLVED] KDE 4.6 can't create user-places.xbel file

    Lately I have been having an issue when I log in to KDE 4.6 for the first time on a user account.  A window pops up with the following error: "Unable to save bookmarks in /home/troy/.local/share//user-places.xbel. Reported error was: Insufficient per

  • "An error occurred loading this content" problem for rented movies

    I have an AppleTV 2 connected via Ethernet to my BT Home Hub router and HDMI to my TV. My OSX (Lion), iTunes and AppleTV software are all up to date. Everything works fine apart from renting movies. When I rent a movie, it shows I can play it rather

  • Adding same keywords to multiple images

    How can I add keywords, or change keywords, to multiple selected images at the same time instead of having to do it one at a time? Or can I?  I know how to change or add to metadata on multiple images, but it won't retain the keywording changes on al