Uploading an image in interactive report APEX 4.0

Hi,
I hope you can help me. I am using the book "Begining ORACLE APEX", which is for APEX 3.1.2, to learn APEX. Now, I use the online APEX 4.0. In the 6th chapter one should add new columns to the PRODUCTS table: one for the PRODUCT_IMAGE, a BLOB column, and 3 more for MIMETYPE, FILENAME, and IMAGE_LAST_UPDATE. So, i need to make an interactive report, with this new table. I include it, but when I run the application it doesn't show. So i insert in the SQL for the report : "PRODUCT_IMAGE", and run the page again, and there i add the column using Actions button. When added, each row is is filled with: [unsupported data type]. When trying to upload an image it doesn't work. It doesn't show anything. I even tried putting: dbms_lob.length("PRODUCT_IMAGE") "PRODUCT_IMAGE" in the SQL of the report, but it doesn't work. It is like a problem with uploading the image. It doesn't do anything.
I would really appreciate your help, this is really important for my job..
Sincerely,
Leila

See the sample application provided in your workspace, there in page no 3 they have created a interactive report showing a image in one of the column, I think it will solve your problem.
Tauceef

Similar Messages

  • Unable to open PDF output (PDF downloaded from Interactive Report--APEX)

    Hi,
    I'm getting below error while opening a PDF file downloaded from an interactive report (APEX).
    Adobe reader cound not open "TEST.pdf"because it is either not supportd file or because the file has been damaged.
    Thanks & Regards,
    Ramamuni.

    Steps of pdf Printing of Report from FOP:
    1) Download and unzip the following needed files in D:\Apex_fop directory.
    2) Open your command prompt .
    Change the directory to D:\Apex_fop\cocoon-2.1.11.
    Set the Java_Home environment variable as: set JAVA_HOME= C:\Program Files\Java\jdk1.5.0_21
    then type build war
    3) After getting the prompt back as D:>Apex_fop>cocoon-2.1.11>
    Copy coocon.war file from the folder D:\Apex_fop\cocoon-2.1.11\build\cocoon.
    Paste this file into webapps subdirectory in main tomcat directory having path as D:\APEX_FOP\apache-tomcat-6.0.26\webapps.....place it in the top
    level of webapps directory.
    4) Now just startup tomcat as D:>APEX_FOP>apache-tomcat-6.0.26>bin>startup.bat
    The cocoon.war file will automatically uncompressed as directory.
    5) To change the port of apache tomcat , edit apache-tomcat-6.0.26\conf\server.xml & change port attribute of Connector element from 8080 to 8181.
    Just check whether Tomcat is running or not as http://localhost:8181/
    & to check cocoon type http://localhost:8181/cocoon/
    6) Now copy fop_post directory & paste it undes new cocoon directory in webapps having path as D:\APEX_FOP\apache-tomcat-6.0.26\webapps
    \cocoon.
    7) Now you need to do some apex settings as follows:
    In APEX, just log in as ADMIN into apex/apex_admin and went to Instance Settings and did the following:
    - Print Serverr: Standard Support
    - Print Server Protocol: HTTP
    - Print Server Host Address:localhost
    - Print Server Port: 8181
    - Print Server Script: /cocoon/fop_post
    In your APEX application, in the Regions section, Click on the Print link next to your report and do the following settings:
    - Enable Report Printing: Yes
    - Link Label: Print
    - Response Header: Report Settings
    - View File As: Attachment
    - Output Format: PDF
    - Report Layout: Default Report Layout
    - Print URL: f?p=&APP_ID.:1:&SESSION.:FLOW_XMLP_OUTPUT_R1063230002781575
    8) Open up the Report Page and click Print , You will get the pdf report.
    I am sure this will help you
    Regards

  • Image column in an interactive report (APEX 4.0)

    Hi,
    I have added a new blob column containing images to an interactive report, but get the following error:-
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    If the "IMAGE" column is removed from the report using the "actions:select column" control, the report is ok.
    The column contains the following settings in the "BLOB Download Format Mask":-
    IMAGE:WINEDETAILS:IMAGE:WINE_ID::MIMETYPE:FILENAME:::inline:Download
    Have I missed something?
    Regards
    Tim

    Firstly, did you run: GRANT EXECUTE ON DISPLAY_IMAGE TO PUBLIC
    Yes..
    Secondly, is "OBJEKT" a reserved word in your language version of Oracle?
    No, objekt is not reserved word.
    Lastly, is your table defined in the same way as mine:
    CREATE TABLE "A_IMAGES"
    "IMAGE_ID" NUMBER(10,0) NOT NULL ENABLE,
    "FILE_NAME" VARCHAR2(4000) NOT NULL ENABLE,
    "BLOB_CONTENT" BLOB,
    "MIME_TYPE" VARCHAR2(4000),
    CONSTRAINT "A_IMAGES_PK" PRIMARY KEY ("IMAGE_ID") ENABLE
    Script of my table:
    CREATE TABLE PROD.TOB_DOKUMENTI
    ID NUMBER(10) NOT NULL,
    PARENT_ID NUMBER(3) NOT NULL,
    ID_VALUE NUMBER(10),
    NAZIV_DOKUMENTA VARCHAR2(500 BYTE),
    VELICINA NUMBER,
    OBJEKT BLOB,
    LINK VARCHAR2(1000 BYTE),
    DATUM_OD DATE NOT NULL,
    DATUM_DO DATE,
    STATUS VARCHAR2(1 BYTE) DEFAULT 'D' NOT NULL,
    ID_KUPCA NUMBER(10) NOT NULL,
    ID_VRSTE NUMBER(6) NOT NULL,
    ID_DOC_ORIGINAL NUMBER,
    FILE_NAME VARCHAR2(4000 BYTE),
    MIME_TYPE VARCHAR2(100 BYTE)
    I also think that everything is set up correctly, but it still not working..
    THNX for Your reply..
    Kreso..
    (apart from the table and field names)
    Andy

  • Background image on Interactive report column

    Hi,
    I have had a request from a customer with regards to displaying a background image behind a column on an interactive report.
    The interactive report is used to show notes added for an individual in the application.
    They want to display a note image behind the text to make the note stand out better.
    Is it possible to add a background image to the each cell in the interactive report
    Thanks
    Kevin
    Edited by: Cod'ead on Nov 30, 2009 3:43 PM

    Take a look at this list of threads (You may find something that helps..) : Oracle Application Express (APEX)
    Thank you,
    Tony Miller
    Webster, TX

  • Resizing an image in Interactive report

    Hi All,
    I have a report showing number of columns one of which is BLOB image. Problem is when massive, the row can take well over half the screen.
    With firebug, I found that if I tweak add style attribute to IMG, (style="WIDTH:200PX;") then I can resize it.
    However I am not loss where to insert this. There is nothing in the column attribute of the Image column in interactive report that allows me for this.
    Would be grateful if someone can share a tip on how to resize image displaying on interactive report.
    Thanks.
    INFO
    I followed this tutorial: http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r31/apex31nf/apex31blob.htm
    Running APEX 4.1.1

    Hi,
    Put this Style in Page HTML Header
    <style type="text/css">
    .apexir_WORKSHEET_DATA  td[headers="IMAGE"] img // "IMAGE" ->Give Your Report Column Name
      width: 50px;
    </style>Brgds,
    Max.

  • How to change the color of 1px_trans.gif image of interactive report

    Hi All,
    Iam using interactive report in apex3.2
    I need to change the color of 1px_trans.gif or remove the image in search tool bar
    where we can change.
    pls tell me .......
    Thanks & regards
    Balu..

    I need to change the color of 1px_trans.gif or remove the image in search tool bar 1px_trans.gif is transparent and doesn't have a colour. It is used as a shim image&mdash;an outdated way of controlling the dimension(s) of some element(s). It's intended to be invisible. Giving it colour will cause it to become visible, resulting in all sorts of unexpected and unwanted lines (or worse, solid areas of colour) appearing throughout applications.
    What do you think you want to do? (Whatever that is, it will almost certainly not be achieved by changing the colour of 1px_trans.gif...)

  • Display BLOB (image) column in (interactive) report

    Hi,
    I have a field called "picture" in my table "details" which is of type BLOB. i also have a field for "MIMETYPE" and "filename"
    i additionally have a "name" and "description" columns which i need to display along with the picture as columns in a report (preferably interactive).
    i have also modified the BLOB display format as per
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r31/apex31nf/apex31blob.htm
    what i am missing is the correct query. if possible, i would like to control the size of the picture rendered within the report like say 40*50.
    I have also referred to the thread
    APEX 3.1 Display BLOB Image
    But i don't know how to place the
    dbms_lob.getlength("BLOB_CONTENT") as "BLOB_CONTENT"
    in my query.
    The above also makes the report column as of type "number". is this expected?
    Any help would be much appreciated.
    Regards,
    Ramakrishnan

    You haven't actually said what the problem is?
    >
    I have a field called "picture" in my table "details" which is of type BLOB. i also have a field for "MIMETYPE" and "filename"
    i additionally have a "name" and "description" columns which i need to display along with the picture as columns in a report (preferably interactive).
    i have also modified the BLOB display format as per
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r31/apex31nf/apex31blob.htm
    what i am missing is the correct query.
    I have also referred to the thread
    APEX 3.1 Display BLOB Image
    But i don't know how to place the
    dbms_lob.getlength("BLOB_CONTENT") as "BLOB_CONTENT"
    >
    Something like:
    select
              name
            , description
            , dbms_lob.getlength(picture) picture
    from
              details
    if possible, i would like to control the size of the picture rendered within the report like say 40*50.For images close to this size it's easy to do this for declarative BLOB images in interactive reports using CSS. Add a style sheet with:
    .apexir_WORKSHEET_DATA td[headers="PICTURE"] img {
      display: block;
      width: 40px;
      border: 1px solid #999;
      padding: 4px;
      background: #f6f6f6;
    }where the <tt>PICTURE</tt> value in the attribute selector is the table header ID of the image column. Setting only one dimension (in this case the width) scales the image with the correct aspect ratio. (The border, padding and background properties are just eye candy...)
    However, scaling large images in the browser this way is a huge waste of bandwidth and produces poorer quality images than creating proper scaled down versions using image tools. For improved performance and image quality, and where you require image-specific scaling you can use the database ORDImage object to produce thumbnail and preview versions automatically, as described in this blog post.

  • APEX 4.0: error while opening a XLS file downloaded from interactive report

    Hi,
    I'm getting below error while opening a XLS file downloaded from an interactive report (APEX 4.0).
    "The file you trying to open, 'customer_2.xls', is in a different format than specified by the file extension.
    Verify that the is not corrupted and is from a trusted source before opening file. Do you want to open file."
    Yes No Help
    May be this one Apex 4.0 issue.
    please help me.
    Thanks
    Mukesh

    Hi,
    is the next part of the code correct.
    What i mean is packing of the attachment, finding out the size of pdf file and doc type as PDF.
    You can also try below link..
    Link: [http://wiki.sdn.sap.com/wiki/display/Snippets/SENDALVGRIDASPDFATTACHMENTTOSAPINBOXUSINGCLASSES]
    Hope this helps.
    Regards,
    -Sandeep

  • How to combine three tables in interactive report in apex

    Hi All,
    How to display the below Query in interactive report apex!!
    select distinct market d, marketid r from (
    select market, marketid,p.productid, h.hubid, s.begin_date, s.stripname
    from d_st s, d_ma x, d_hu h, d_pro p
    where s.ice_strip_id=x.ice_strip_id
    and x.baseproductid=p.productid
    and x.hubid=h.hubid
    and h.hubid=nvl(:P2__HUBID,-2)
    and p.productid=nvl(:P2__PRODUCTID,-2))g
    order by 2
    Thanks,
    Anoo..

    just paste your query into the source field of the interactive report.. thats it.

  • How to disable edit link in interactive report

    Hi,
    How to disable edit(e3.gif image) link interactive report.
    Thanks,
    nr

    Hi Jari,
    Apex Version:3.2
    I created on Interactive report on emp table I have created edit link on empno using Icon5 image.
    Report Attributes>Column Attributes>Column Link.
    I can Hide the Icon5 using following script but I need to disable only. I did not get any disable() method in Jquery.
    Region Id:R812581842900385833
    $(document).ready(function() {
    var viewOnly=document.getElementById('P1_ITEM1').value;
    if(viewOnly == "0")
    $("#R812581842900385833 img").hide();
    thanks,
    Nr
    Edited by: pnr on Mar 13, 2012 6:09 AM

  • Interactive Report - Display New/Changed Columns

    Hi,
    when I add or change a column in Interactive Reports, APEX doesn't show me the new column automatically.
    Everytime the user log in, he has to go on "Actions" and "Select Columns" manually, otherwise the new/changed column won't be displayed.
    How can I do that the column is displayed automatically after login?
    I am using APEX 4.0.2.00.07.
    Regards,
    Marc

    Either you, as a Developer, can save the report as Public.
    Or an aithorized user can save the report as a General/Shared Report.
    Or the user can save the report as a Private one.
    Pick the columns you/user wants to see. Then [Action -> Save]

  • Interactive Report - Compute columns

    Hi,
    Interactive report query is storing in a apex view - apex_application_page_ir.
    Like, if compute columns added in runtime, APEX is making a new query with compute columns. I want to know in which APEX view is having this query:
    I created a Interactive report (APEX 3.2.0) for the following query:
    select
    "EMPNO",
    "ENAME",
    "JOB",
    "MGR",
    "HIREDATE",
    "SAL",
    "COMM",
    "DEPTNO"
    from "EMP"
    In the run time, I added a compute column , now the query is as follows:
    select
    ROWID as apxws_row_pk,
    "EMPNO",
    "ENAME",
    "JOB",
    "MGR",
    "HIREDATE",
    "SAL",
    "COMM",
    "DEPTNO",
    "SAL" *10/100 "APXWS_CC_001",
    count(*) over () as apxws_row_cnt
    from (
    select * from (
    select
    "EMPNO",
    "ENAME",
    "JOB",
    "MGR",
    "HIREDATE",
    "SAL",
    "COMM",
    "DEPTNO"
    from "EMP"
    ) r
    ) r where rownum <= to_number(:APXWS_MAX_ROW_CNT)
    order by ROWID
    Regards
    Mohan

    it is not the sql query its all about the report_columns in apex_application_page_ir
    in case anyone landed in this page

  • Download csv and pdf in interactive report

    Hi,
    I'm getting below error while opening a PDF file downloaded from an interactive report (APEX).
    Adobe reader cound not open "TEST.pdf"because it is either not supportd file or because the file has been damaged. Also when i download in csv format the report does not strip html tag from the data in the report. Interactive report does not seem to have the html strip option unlike in classic reports.
    Thanks & Regards,
    Nisha

    Hi,
    did you read the pdf inside an text editor. If you do, you'll surely notice an sql error or a java error.
    I discovered for myself that the PDF reports aren't working anymore if I have 19 or over columns. The text buffer used by APEX went overflow.
    Im seraching for a solution, but I haven't found one yet, except then reducing the number columns.

  • Interactive Report Russian Language Problem

    Hello,
    Entering Russian characters to search field of Interactive Report APEX transform it to another charset and I receive wrong result. For example entering КС I get РљРЎ, any ideas?
    Best Regards, Kostya Proskudin

    Answer for my question:
    Changing character set in DAD file. From CL8MSWIN1251 to AL32UTF8.
    But I still can't understand why it happen only in Interactive Report!!!

  • Apex 4.0 interactive reports and images

    To the community,
    I haven't had a chance to do a decent search before bed, but I was wondering if anyone had links to good examples on OTN, someone's blog, apex.oracle.com etc, but I thought I'd put the question out there overnight.
    I have a table that contains my blob/mimetype/filename information, and I'd like to create a sample interactive report that displays the image in the blob in all three formats - standard interactive report, using the icon view, and using the detail view.
    Note I'm not referring to images that may be in the repository or file system - but within in a table.
    For whatever reasons I was losing the battle this afternoon, I was just wondering if anyone knew of good concise examples, such as this for using images in form & classic report pages.
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r31/apex31nf/apex31blob.htm
    Cheers,
    Scott

    I have finally replicated the solution, with the help of the following thread
    Confusion with get_blob_file_src
    found when searching "broken image" as one of the keywords.
    Such a horrible and non-intuitive solution to get images displayed in an interactive report!
    Hopefully the Apex team can work on improving this in future releases...
    Scott

Maybe you are looking for

  • Create a PDF. with Illustrator that Adobe Reader Can Edit

    How do I export a file to .PDF with a single line of text that can be edited with Adobe Reader. I'm Creating a sign template and the their is a spot for the price that needs to be changed every week with Adobe Reader. Is this possible

  • Service Procurement PO Issue in MM-SUS Scenario (SRM 7.0)

    Hi Gurus, We are facing issue while creating the service purchase order in MM-SUS scenario. Creating the PO in ECC with Account Category "K" and Item Category "D". (PO should transfer through XML as in XI config v hv used proxies for both ECC & SRM,w

  • Changes to logical database SDF

    I want to add Network field in dynamic selections for FBL3. This field is part of table BSEG only. I have added that field to output of FBL3.

  • Formatting array output

    how do i format the output of an array so that only a certain number of the elements print per line. i know this is basic, i am a beginner and need help.

  • Highlighted Search Result of a Report

    Dear all, I created a search field item in a report and named it P_SEARCH. It worked fine, but when I tried to set the returned results highlighted by setting its Highlight Words Column Formatting Region in Report Attributes Edit to &P_SEARCH, it was