BFILE or BLOB Support in OBIEE?

Hi Experts,
I want to display list of files, which are located in a server directory, as hyperlinks in OBIEE report or dashboard.
I created a sample table with BFILE and BLOB data types and imported in Administration and created sample report to access BFILE and/or BLOB presentation column. But I'm getting below error message whenever I select above objects.
View Display Error
Odbc driver returned an error (SQLExecDirectW).
Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. NQODBC SQL_STATE: HY000 nQSError: 10058 A general error has occurred. nQSError: 46036 Internal Assertion: Condition m_CountFields == static_cast<int32>(m_ColumnNameVector.size()), file .\Src\SQCSCacheStorageListStream.cpp, line 222. (HY000)
SQL Issued: SELECT "IBOT_DATA#1".IBOT_FILE saw_0 FROM IBOT_DATA ORDER BY saw_0
Please advice if there is any alternate solution to display results by using OBIEE? Like calling JavaScripts in OBIEE to display hyperlinks etc..
Thanks in advance
Murali.

Unfortunately there is no way to simply reference the word or excel file through OBIEE unless they are stored on a sharedpoint server link or some thing.
The only way you can reference them is through an URL and as you mentioned your files are not stored in an URL but in a path location.
Ok we have couple of options now
1. I dont know if you can add that document in shared point(some thing similar) and reference the URL. In an organisation they will have some way of storing the documents on a web server and all the users will have access to it. That is an easy way of doing it. If thats not the case lets go to option 2
2. Convert the word document that have all the list of files that you need to show into a jpeg image and then you can simply call the image using fmap. you can simply save the file under the obiee images
C:\OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res
3. Convert the file into html as i mentioned earlier and simply reference the whole report through static view of the report and that will take care of it as well. Also you can display the report path as a hyperlink. so that will satisfy your requirement as well
Hope it helps
Thanks
Prash

Similar Messages

  • KPI supported in OBIEE

    Does anybody knows about the list of KPI's that are supported in OBIEE for domains like Sales,Finance,Manufacturing,HR,etc
    I tried to find these information from the documents and links but was not succesfull
    Looking forward for your help

    Assuming you have a local installation running a BI Apps rpd, a nice help is the metadata dictionary. Here's a litte approach to integrating the metadata dictionary into the presentation server
    •     Create a metadata dictionary by using Tools -> Utilities -> Generate Metadata Dictionary in the Administration Tool
    •     If using oc4j, move the created folder structure (including main folder w/ the repository name)
    •     Point the presentation server to the generated metadata dictionary by adding the following tag inside the <ServerInstance> (adjust to your folder if necessary):
    <SubjectAreaMetadata>
    <DictionaryURLPrefix>/analytics/</DictionaryURLPrefix>
    </SubjectAreaMetadata>
    •     Restart the server
    Other than that, you can run Tools -> Utilities -> Repository Documentation, but personally I prefer the dictionary, since I can see it nicely in Answers.
    Hth,
    C.
    Edited by: Christian Berg on Jan 16, 2009 10:43 AM

  • Does OBI Apps 7.9.5 is supported in OBIEE 11.1.1.3

    Hi All
    i just want to know whether OBI Apps 7.9.5 version is supported on OBIEE 11g. It is supporting 7.9.6.x though not fully. But want to know what is the case with 7.9.5. Please guide if anyone have any answer.
    Thanks
    BKS

    Hi
    Please refer OBI Apps 7.9.6 System Requirement and Supported Platform Document. It clearly mentions OBI Apps 7.9.6.x is supported on OBIEE 11g. Its also you can find in OBIEE 11.1.1.3 certificates.
    link for pdf
    http://download.oracle.com/docs/cd/E14847_01/bia.796/e14221.pdf
    hope it will clear your problem.
    certification section in OBIEE 11g also supports 7.9.6.x
    http://www.oracle.com/technetwork/middleware/ias/downloads/fusion-certification-100350.html

  • Does BLOB Support in Reports really work? As referenced in the doco..

    I am referring to chapter 15 of the application builder user guide.
    http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/advnc.htm#BCGBCHBD
    Oracle Application Express includes BLOB support for both classic and interactive reports. If you use a wizard to create a report and include a column of type BLOB, basic support will be included. Additional information should be added after generation to make the download capability more user friendly.
    Consider the following example:IMAGE:EMP:RESUME:EMPNO::RESUME_MIMETYPE:RESUME_FILENAME:RESUME_LAST_UPDATE::attachment:Resume
    If you have a report column with a format mask that begins with 'IMAGE:', you will see a link below the format 'BLOB Download Format Mask'. This popup assists in entering all the parameters necessary for the IMAGE format.>
    So, I have just done the following.
    CREATE TABLE "IMAGE"
        "IMAGE_ID" NUMBER NOT NULL ENABLE,
        "BINARY" BLOB,
        CONSTRAINT "IMAGE_PK" PRIMARY KEY ("IMAGE_ID")
      create sequence seq_image start with 1 increment by 1;
      CREATE OR REPLACE TRIGGER "BI_IMAGE" BEFORE
      INSERT ON IMAGE FOR EACH ROW BEGIN
      SELECT seq_image.nextval INTO :NEW.image_id FROM dual;
    END;
    /Then create a form to upload images. That's successful.
    Then create a page with report to display the images.
    select image_id, binary
    from imagePreview report, just get '[unsupported data type]' displayed for the binary column - which is fine.
    So then I go to into the column attributes to specify the BLOB format mask, giving me:
    DOWNLOAD:IMAGE:BINARY:IMAGE_ID::MIME_TYPE::::inline:Download
    I have tried both the format mask for providing a download link, and displaying the image, both to no avail.
    All I get is:
    ORA-06502: PL/SQL: numeric or value error: character to number conversion errorAm I missing something?
    nb: Yes, I do know about the APEX_UTIL.GET_BLOB_FILE_SRC function, but since the above method is in the documentation, you would think it would work, right?

    Hi,
    Yes, mime type is in the table, and is referenced in the format mask.
    OK - I didn't have a filename column, and since it is not a required field for the format mask, I figured I wouldn't need it - Although I gave the example of using the link, I actually just want the image to display, using the technique that is documented - which also produces the same error. Both should work, no?
    Even so, i just gave it a try with filename referenced in the format mask, same issue.
    Ta,
    Trent

  • BFILE versus BLOB

    The fact is we need to store a lot of documents in archive.
    I'm developing a application that archive documents on a Oracle8i database.
    End-users can write these documents to the DB and read from it.
    And I am trying to choose between BFILE and BLOB, keep in mind
    performance consideration.
    What's about performance consideration using LOB versus BFILE?
    P.S.
    Our platforms: OS True64, Oracle 8.1.7.
    Possible protocols are FTP, Network File System protocol.
    I've tested performance writing to LOB and file via FTP (from Windows
    client).Writing to LOB is slightly slowly(about 15%).

    Don't forget when using LOB's you have to "pay" for
    rollback/commit/backup/recovery services.
    In my opinion it's worth it.
    In that case you don't have to worry to synchronize
    BFILEs and pointers, when one of these files will be deleted
    by mistake.
    Michael.

  • BFILE or BLOB?

    In general what's faster? File size is around 50k each.
    10g, Linux x86.

    Well the speed here depends very much on the underlying IO system.
    BFILE doesn't get stored in the database. It's stored outside the DB on the file system of the operating system while BLOB is fully stored in the database but also here it depends what are you using (ASM, OS file system, ...)
    In general I would suggest that you go for BLOB because of following key benefits:
    * Stored inside the database
    * Read/Writeable
    * Can be cached
    * Participate fully in transactions
    * 11g has enhanced LOB (for upgrades somewhere in the future)
    This is was the concept guide says about:
    BFILE Datatype
    The BFILE datatype stores unstructured binary data in operating-system files outside the database. A BFILE column or attribute stores a file locator that points to an external file containing the data. BFILEs can store up to 8 terabytes of data.
    BFILEs are read only; you cannot modify them. They support only random (not sequential) reads, and they do not participate in transactions. The underlying operating system must maintain the file integrity, security, and durability for BFILEs. The database administrator must ensure that the file exists and that Oracle processes have operating-system read permissions on the file.
    BLOB Datatype
    The BLOB datatype stores unstructured binary data in the database. BLOBs can store up to 8 terabytes of binary data.
    BLOBs participate fully in transactions. Changes made to a BLOB value by the DBMS_LOB package, PL/SQL, or the OCI can be committed or rolled back. However, BLOB locators cannot span transactions or sessions.

  • BLOB Support in Reports - Download Text

    I have included a BLOB database column within my report. Now I would like to use the name of the file that was uploaded into the BLOB database field as my download text instead of the default download text "Download".
    According the APEX User's Guide 4.0 substitution strings are permitted in the 11th position of the DOWNLOAD format:
    11 Download Text String used for the download link. If nothing provided, Download is used. Note that this will support substitutions (useful for translated applications).
    I have tried the following DOWNLOAD format but the file name is not substituted as the download text.
    DOWNLOAD:PIBDOCS:PIBDOCS_FILE:PIBDOCS_ID::PIBDOCS_MIME_TYPE::PIBDOCS_BLOB_DATE:PIBDOCS_CHAR_SET:attachment:#PIBDOCS_FILE_NAME#
    Is there any way to use a database column (PIBDOCS_FILE_NAME), instead of a page item, within the substitution string?

    create another column for file name, then you can use jquery to change text, title of td "download". here is sample code you can use.
    <script type="text/javascript">
    $(document).ready(function ()
    $(".apexir_WORKSHEET_DATA tr").each(function() {
      $this = $(this)
      var fileName= $this.find("td:nth-child(9)").text();
      $this.find("td:nth-child(7) a").prop('title', fileName);
    $('.apexir_WORKSHEET_DATA td:nth-child(9),th:nth-child(9)').hide();
    </script>

  • Multiple instances of a table & join supported in OBIEE SQLQuery report

    Hello All,
    I am creating a report in BIP based on the RPD created in OBIEE.
    I have to use multiple instances of same table in this case. But when I do that, I am getting "'The query contains a self join/This is a non-supported operation" error.
    Have anybody got his error before? Could anybody help me solving this?
    Thanks
    Narasimha Rao

    Hello All,
    I am creating a report in BIP based on the RPD created in OBIEE.
    I have to use multiple instances of same table in this case. But when I do that, I am getting "'The query contains a self join/This is a non-supported operation" error.
    Have anybody got his error before? Could anybody help me solving this?
    Thanks
    Narasimha Rao

  • Oracle Express supported by OBIEE ?

    Hi,
    I'm a newboe to OBIEE so would like to create a POC and play with it.
    Would you know if Oracle Express is supported as the DB repository for OBIEE ?
    Thanks,
    Y

    Hi,
    Yes. XE version will be supported by BI. So you can install and use it.
    Hope it helps!
    Regards,
    Bose

  • REST Web References and BLOB support

    Hi,
    Does the Test functionality of the Shared components REST Web Service References support testing correct response with Blobs?  If so, what are correct settings to use for output format  and REST output parameters?
    Pat

    Just incase someone happens upon this comment i'll let you know what we discovered. According to Microsoft Oracle cannot use Stored Procedures to insert or update Blob objects. In this particular case it wasn't the web service that was the problem it was the stored procedure it was calling. At any rate our success has come through the use of text based commands on the web service rather than calling a stored procedure. Good luck all.
    Sam Beasley

  • BLOB Support in Berkeley DB

    Hello,
    I am looking for a solution where I can cache image file of size over 10GB in the memory. I have been looking at different options and I came across memcached and Berkeley's DB. Could someone please let me know if Berkeley's DB supports BLOB of large size and can it cache a large BLOB objects across memory on more than 1 server?
    Regards
    Apun

    Hello,
    If you have enough memory, you should be able to store 10GB images.
    Have you tried this? If it did not work, what was the result?
    Thanks,
    Sandra

  • Blob support in type 4 driver?

    Does anyone know of a JDBC type 4 driver that supports the reading/writing of Blobs to Oracle 8.1.7 using the database independent JDBC api? When the objects I'm trying to write to the db get over a certain size (approx. 4k) it starts throwing exceptions.
    I use an InputStream to pipe the data to the blob column. When the stream is over a certain size, the setBinaryStream method doesn't read the data from the stream and NULL is written to my blob column.
    I've seen examples of how to read/write blobs using Oracle specific api's. My issue is my app needs to be database independent.
    Any help of info would be greatly appreciated.
    Rich

    I got exactly the same problem. working on finding whats the problem. If you find the solution please post it here. It was working ok when I was having 1.3.1 but when I updated to 1.4 I got this problem

  • BLOB support in standard postgresql jdbc driver - OutOfMemoryError

    Hi all,
    I have a problem with PostgreSQL and BLOBs.
    Small BLOBs work, but with BLOBs of a certain size my code throws a java.lang.OutOfMemoryError.
    The file I tried has about 2-3 MB.
    Environment:
    - PostgreSQL 7.2 on i686-pc-linux-gnu, compiled by GCC 2.96
    - Mandrake 8.2
    - 192 MB RAM
    - blob column created as datatype "bytea" (maybe that is the problem)
    - code posted below (BlobPostgresTest.java)
    - console output posted below
    - java command to run program:
        java -verbose:gc -Xmx128m -classpath .:pgjdbc2.jar BlobPostgresTest- java version as follows from "java -version" command:
        java version "1.4.0_01"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03)
        Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode)do you have an idea how to solve this problem ?
    Console output (including GC activities):
    =========================================
    java -verbose:gc -Xmx128m -classpath .:pgjdbc2.jar BlobPostgresTest
    BLOB/PostgreSQL Demo started
    [GC 511K->230K(1984K), 0.0163708 secs]
    preparing statement
    setting binary stream
    [GC 402K->273K(1984K), 0.0092325 secs]
    [Full GC 273K->273K(1984K), 0.0771294 secs]
    [GC 4351K->4058K(4908K), 0.0046329 secs]
    [Full GC 4058K->3770K(4908K), 0.0831070 secs]
    [GC 4922K->4922K(6860K), 0.0009556 secs]
    [Full GC 4922K->4346K(6860K), 0.0890570 secs]
    [GC 6650K->6650K(7820K), 0.0011110 secs]
    [Full GC 6650K->5496K(7820K), 0.1420860 secs]
    [GC 10104K->10104K(14480K), 0.0012827 secs]
    [Full GC 10104K->7800K(14480K), 0.1236744 secs]
    [GC 17016K->17016K(24084K), 0.0015421 secs]
    [Full GC 17016K->12408K(24084K), 0.1688843 secs]
    [GC 30840K->30840K(43224K), 0.0020800 secs]
    [Full GC 30840K->21624K(43224K), 0.2547274 secs]
    [GC 76920K->74616K(81500K), 0.0041685 secs]
    [Full GC 74616K->49272K(81500K), 0.5688448 secs]
    [GC 67704K->67704K(88332K), 0.0033407 secs]
    [Full GC 67704K->58488K(88332K), 0.2558231 secs]
    executing update
    [GC 95352K->95352K(104844K), 0.0932741 secs]
    [Full GC 95352K->40056K(104844K), 0.9644251 secs]
    [GC 69245K->69245K(104844K), 0.0036631 secs]
    [Full GC 69245K->69245K(104844K), 0.0814962 secs]
    [Full GC 69245K->66324K(129728K), 1.1439123 secs]
    Exception in thread "main" java.lang.OutOfMemoryError
    BlobPostgresTest.java
    =====================
    import java.sql.*;
    import java.io.*;
    drop table blobdemo;
    drop sequence blobdemo_id_seq;
    create table blobdemo(
      id serial not null primary key,
      name varchar(50),
      content bytea);
    public final class BlobPostgresTest {
        private final static String NAME = "TEST";
        //private final static String FILE_NAME = "/tmp/blob/2mb.xxx";
        private final static String FILE_NAME = "BlobPostgresTest.java";
        public final static void main(String[] args) throws Throwable {
         Connection con = null;
         Statement statement = null;
         PreparedStatement insertStatement = null;
         ResultSet rs = null;
         File file = null;
         FileInputStream fis = null;
         BufferedInputStream bis = null;
         try {
             System.out.println("BLOB/PostgreSQL Demo started");
             Class.forName("org.postgresql.Driver");
             con = DriverManager.getConnection
              ("jdbc:postgresql://localhost/template1",
               "postgres", "");
             con.setAutoCommit(true);
             statement = con.createStatement();
             // cleanup
             statement.executeUpdate("delete from blobdemo");
             // file
             file = new File(FILE_NAME);
             fis = new FileInputStream(file);
             bis = new BufferedInputStream(fis);
             // insert one record
             System.out.println("preparing statement");
             insertStatement = con.prepareStatement
              ("insert into blobdemo ( name, content ) values ( ?, ? )");
             insertStatement.setString(1, NAME);
             System.out.println("setting binary stream");
             insertStatement.setBinaryStream(2, bis, (int)file.length());
             System.out.println("executing update");
             insertStatement.executeUpdate();
             // retrieve
             rs = statement.executeQuery
              ("select id, name, content from blobdemo");
             while(rs.next()) {
              System.out.println("id=" + rs.getObject(1));
              System.out.println("name=" + rs.getObject(2));
              byte[] bytes = rs.getBytes(3);
              String content = new String(bytes);
              //System.out.println(content);
              System.out.println("retrieved " + bytes.length +  " bytes");
         } finally {
             if(rs != null) rs.close();
             if(statement != null) statement.close();
             if(insertStatement != null) insertStatement.close();
             if(con != null) con.close();
             if(fis != null) fis.close();
             if(bis != null) bis.close();
         System.out.println("BLOB/PostgreSQL Demo complete");
    }

    FYI: I'm in contact with the postgres team to work on the problem. it is caused by the way blobs are implemented in the jdbc driver.
    http://archives.postgresql.org/pgsql-jdbc/2002-08/msg00096.php

  • Multilingual Data Support in OBIEE 11g

    Hi,
    I have followed the oracle document http://download.oracle.com/docs/cd/E14571_01/bi.1111/e10541/deploylocal.htm#CHDDHIGE to get multilanguage data.When try to check the GLobal Consitency check we are getting below error
    ERRORS:
    BUSINESS MODEL SCOTT:
    *[nQSError: 23019] The number of operands in lookup function does not match the number of lookup key columns.*
    *[nQSError: 23013] An error occurred when extracting the metadata definition for the Attribute '"SCOTT"."LKP_TABLE"."TRANS"*'.
    We are using the TRANS value=
    'INDEXCOL( VALUEOF(NQ_SESSION.LAN_INT), "SCOTT"."DEPT"."DEPARTMENTNAME" , LOOKUP( DENSE "SCOTT"."LKP_TABLE"."DEPARTMENTNAME" , "SCOTT"."DEPT"."DEPATMENTNUMBER" , VALUEOF(NQ_SESSION.WEBLANGUAGE)))
    Please help me to resolve the issue.
    Thanks

    Hey Dude,
    This looks like a syntactical issue. In your code snippet it looks like you have forgotten the comma (,) after the first argument for the lookup function DENSE
    'INDEXCOL( VALUEOF(NQ_SESSION.LAN_INT), "SCOTT"."DEPT"."DEPARTMENTNAME" , LOOKUP( DENSE "SCOTT"."LKP_TABLE"."DEPARTMENTNAME" , "SCOTT"."DEPT"."DEPATMENTNUMBER" , VALUEOF(NQ_SESSION.WEBLANGUAGE)))
    It should be
    'INDEXCOL( VALUEOF(NQ_SESSION.LAN_INT), "SCOTT"."DEPT"."DEPARTMENTNAME" , LOOKUP( DENSE, "SCOTT"."LKP_TABLE"."DEPARTMENTNAME" , "SCOTT"."DEPT"."DEPATMENTNUMBER" , VALUEOF(NQ_SESSION.WEBLANGUAGE)))
    Try that and see if it helps. I would also revisit the syntax structure for the lookup when using DENSE just to ensure you are on the safe side but that should solve your problem.
    Please award points if this was the correct answer or mark it helpful if it was.
    This also looks like a double post so I'll stick with this one for the forum thread.
    Cheers,
    Christian

  • Issue with BLOB support

    All,
    I'm trying to use the APEX_UTIL.GET_BLOB_FILE_SRC function in a report.
    I'm calling the function in a report as the src attribute for an img element as follows: APEX_UTIL.GET_BLOB_FILE_SRC('P41_IMAGE_LOCATION', id).
    P41_IMAGE_LOCATION is configured as follows:
    1. Type: File Browse
    2. Source: DB Column
    3. Source Value or Expression: IMAGE_DATA
    4. Format Mask: IMAGE:LMS_QUESTION_IMAGES_TEMP:IMAGE_DATA:ID:::::::
    When I run the report the image tag's src attribute is being set to the following:
    apex_util.get_blob_file?a=103&s=2514501772414180&p=41&d=&i=1746729184869767&p_pk1=2&p_pk2=&p_ck=7A36CA4F4A67448AD772B7864FBBAB64
    But nothing is displayed... Can anyone tell me what I may be doing wrong?
    Thanks in advance for any help.
    Regards,
    Dan

    All,
    Ok, I found what I was missing in the spec for the function. I had to have a page process DML_PROCESS_ROW that had the table name. I don't know why this was needed and it wasn't mentioned in various pages I was reading. I thought the table name would have been pulled from the format mask on the item.
    Oh well! ;)
    Regards,
    Dan

Maybe you are looking for

  • New to imaging, Questions about ZIS

    Hello there. I am a new PC tech at my local school district. I'm just starting to delve into the ever so fascinating world of Zenworks and am currently at an unclear understanding. The admin is ready and waiting to push out a setup that includes Wind

  • How do I generate a list of all VIs that are in a TestStand (3.1) sequence?

    Can TestStand (3.1) generate a list of all the VIs that are included in the sequence?  I have a folder structure full of VIs and I know that not all are being used.  I'd like to identify the unused VIs.

  • Best way to upgrade our 2007 MacBook Pro to use Final Cut Pro

    Hello All. We have a 2007 MacBook Pro with 2 gigs ram, 160 Gig Hard drive and a 2.4 Mhz Intel Processor, and a 500 Gig Firewire External Harddrive. Is it feasable to upgrade this Laptop to run Final cut Pro? My girlfriend will edit small projects,i.e

  • Appraisal Document : POWL Setting

    Hi Expert, We have used POWL to Display Appraisal Document for Employee /Manager.But Employee/Manager go in repective tab all the columns are visible which are not relevant to EMP/Manager Like Plan Version,Appraisal Doc Id,offline Status. I just want

  • Running JMX with HTML adapter

    Hi! I am new to JMX MBeans and I'm trying to run a simple sample program with HtmlAdaptorServer. I have three .java files, one with the interface, on with the class having its implementation and a main .java file to register with the server..etc. I a