Images and reports interactive apex 4.0

To the community,

I have not had the chance to make a decent research before going to bed, but I was wondering if anyone had links to good examples on OTN, a blog, apex.oracle.com etc, but I thought I would ask the question there during the night.

I have a table that contains my data blob, mimetype, name of file, and I would like to create an example of interactive report that displays the image in the BLOB in three formats - standard interactive report using icon view and by using the detail view.

Note that I am not referring to images that may be in the system file or directory--but within the boundaries of a table.

For some reason any I was losing the battle this afternoon, I was wondering if anyone knew good concise examples, such as this one for the use of images in the form & classic report pages.
http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/DB/Apex/R31/apex31nf/apex31blob.htm

See you soon,.

Scott

>
I have a table that contains my data blob, mimetype, name of file, and I would like to create an example of interactive report that displays the image in the BLOB in three formats - standard interactive report using icon view and by using the detail view.

Note that I am not referring to images that may be in the system file or directory--but within the boundaries of a table.
>

See the products integrated IR page 3 of the sample Application.

Tags: Database

Similar Questions

  • Report interactive apEx - line column break?

    Hello
    I use ApEx 4 and in the application created the interactive reports page. In the column "Telefon_direktni" is display phone number in the format (0xx) xxx - xxx (phone number for Croatia). When I enter the phone number, I get just 9 digits, so the SQL select query put () and - in the report results. When I have 2 phone numbers I just enter 18 digits, then select request divide number in format (0xx) xxx - xxx, (0xx) xxx - xxx. But my problem is... result interactive report for 2 phone numbers it looks like this:

    (0xx) xxx - xxx, (0xx)
    xxx - xxx

    I want thet result looks like this:

    (0xx) xxx - xxx,.
    (0xx) xxx - xxx

    How can I put line breaks in a select query after ',' it seems I want.

    This is my select statement:
    select
    case when LR.TELEFON_DIREKTNI is not null and LR.TELEFON_DIREKTNI like('_1%') and length(LR.TELEFON_DIREKTNI) < 10 then
                                         '('||substr(LR.TELEFON_DIREKTNI,1,2)||') '||substr(LR.TELEFON_DIREKTNI,3,3)||'-'||substr(LR.TELEFON_DIREKTNI,6,4)
                  when LR.TELEFON_DIREKTNI is not null and LR.TELEFON_DIREKTNI like('_1%') and length(LR.TELEFON_DIREKTNI) > 10 then
                                         '('||substr(LR.TELEFON_DIREKTNI,1,2)||')'||substr(LR.TELEFON_DIREKTNI,3,3)||'-'||substr(LR.TELEFON_DIREKTNI,6,4)||',      '||'('||substr(LR.TELEFON_DIREKTNI,10,2)||') '||substr(LR.TELEFON_DIREKTNI,12,3)||'-'||substr(LR.TELEFON_DIREKTNI,15,4)
                  when LR.TELEFON_DIREKTNI is not null and LR.TELEFON_DIREKTNI not like('_1%') and length(LR.TELEFON_DIREKTNI) < 10 then
                                         '('||substr(LR.TELEFON_DIREKTNI,1,3)||') '||substr(LR.TELEFON_DIREKTNI,4,3)||'-'||substr(LR.TELEFON_DIREKTNI,7,3)
    when LR.TELEFON_DIREKTNI is not null and LR.TELEFON_DIREKTNI not like('_1%') and length(LR.TELEFON_DIREKTNI) > 10 then
                                         '('||substr(LR.TELEFON_DIREKTNI,1,3)||')'||substr(LR.TELEFON_DIREKTNI,4,3)||'-'||substr(LR.TELEFON_DIREKTNI,7,3)||', ('||substr(LR.TELEFON_DIREKTNI,10,3)||') '||substr(LR.TELEFON_DIREKTNI,13,3)||'-'||substr(LR.TELEFON_DIREKTNI,16,3)
                  end as TELEFON_DIREKTNI
    Published by: user10410320 on March 30, 2011 10:14

    Try:

    select
    case when LR.TELEFON_DIREKTNI is not null and LR.TELEFON_DIREKTNI like('_1%') and length(LR.TELEFON_DIREKTNI) < 10 then
                                         '('||substr(LR.TELEFON_DIREKTNI,1,2)||') '||substr(LR.TELEFON_DIREKTNI,3,3)||'-'||substr(LR.TELEFON_DIREKTNI,6,4)
                  when LR.TELEFON_DIREKTNI is not null and LR.TELEFON_DIREKTNI like('_1%') and length(LR.TELEFON_DIREKTNI) > 10 then
                                         '('||substr(LR.TELEFON_DIREKTNI,1,2)||')'||substr(LR.TELEFON_DIREKTNI,3,3)||'-'||substr(LR.TELEFON_DIREKTNI,6,4)||',
    ('||substr(LR.TELEFON_DIREKTNI,10,2)||') '||substr(LR.TELEFON_DIREKTNI,12,3)||'-'||substr(LR.TELEFON_DIREKTNI,15,4) when LR.TELEFON_DIREKTNI is not null and LR.TELEFON_DIREKTNI not like('_1%') and length(LR.TELEFON_DIREKTNI) < 10 then '('||substr(LR.TELEFON_DIREKTNI,1,3)||') '||substr(LR.TELEFON_DIREKTNI,4,3)||'-'||substr(LR.TELEFON_DIREKTNI,7,3) when LR.TELEFON_DIREKTNI is not null and LR.TELEFON_DIREKTNI not like('_1%') and length(LR.TELEFON_DIREKTNI) > 10 then '('||substr(LR.TELEFON_DIREKTNI,1,3)||')'||substr(LR.TELEFON_DIREKTNI,4,3)||'-'||substr(LR.TELEFON_DIREKTNI,7,3)||',
    ('||substr(LR.TELEFON_DIREKTNI,10,3)||') '||substr(LR.TELEFON_DIREKTNI,13,3)||'-'||substr(LR.TELEFON_DIREKTNI,16,3) end as TELEFON_DIREKTNI

    Although I don't think it's a good way to store/format multiple phone numbers.

  • report interactive apex 5, pivot action does not display columns in the application developed on 4.2.6

    I just installed apex 5.01 on apex 4.2.6.

    When I want to use the pivot of the action on an interactive report developed on 4.2.6 the names of the columns does not appear.

    If I add a new column, it seems

    calculated columns displayed

    Thank you

    Hello

    The pivot must be enabled for these columns.  To do this, you can upgrade the application developed in 4.2.6 as follows:

    -Click on the application

    -Click utilities

    -Click on the Application upgrade

    -Activate the IR Pivot should appear.  Click on the number of candidate object

    -You can select some or all of the IRs to upgrade

    Kind regards

    Christina

  • The display of images in reports of apex

    Hello

    I want to show the image in the report of the apex, I did some research but couldn't find how do when I run reports photo is empty, to below it is my region to report. How can I see the photo in the reports? Thank you

    apex_reports_image.jpg

    I always had problems using this method.

    test app:

    https://Apex.Oracle.com/pls/Apex/f?p=70399:8

    name/password: demo/demo

    If you want to access the app, let me know.

    Change your SQL to something like:

    select IMAGE_TABLE.IMG_ID as IMG_ID,
        IMAGE_TABLE.IMAGE_NAME as IMAGE_NAME,
        DBMS_LOb.getLength(image_thumbnail) as IMAGE
    from IMAGE_TABLE IMAGE_TABLE
    

    For the IMAGE column, the format similar to this: (underscores do not show in my browser for some reason any)

  • Forms and reports Oracle apex Oracle10g migration

    Hello

    We are a small shop and have invested heavily in the pl/sql code to generate various reports and graphs using forms and reports10g, and it has been very stable. Forms and Reports11g oracle is different from 10g because it uses middleware and architecture is very different. and it might be overkill for what we need. Can someone point me in the right direction regarding documents, books and videos? for the migration to the APEX? I am new to Apex and will look at the documents available and wanted everything but just some advice from the user.

    Thank you

    Austin

    You really don't have to MIGRATE to the APEX, it is more than a process of re-development... Your existing PL/SQL code can be re-used when viable, but in the forms & reports you have an environment of a free State with APEX environment State...

    APEX also has this similar middleware (APEX listener with WebLogic or Glassfish)... We must therefore understand that you will need to think about what you REALLY want a gesture APEX...

    Forms & reports still work for you, then you MIGHT want to stay there with them... Otherwise, move to the APEX would be a long term choice...  Given that the future of forms & reports is not too clear...

    Thank you

    Tony Miller

    Software LuvMuffin

  • Report interactive apex 3.2.0.00.27...

    I do some stuff of the JQuery ToolTip for an interactive report... He still works for the first page, but if I search something... After pressing the button 'GO', the ToolTips is no longer working. If you view the Source Code (and he says 'original' in the title bar of Internet Explorer), the Source seems to be the same as the original interactive report.

    That makes sense... What is displayed on the screen, not what's in the window 'View Source '...

    Published by: tward October 12, 2011 07:39

    Tward salvation,

    I do some stuff of the JQuery ToolTip for an interactive report... He still works for the first page, but if I search something... After pressing the button 'GO', the ToolTips is no longer working

    When you press the 'Go', the region of report refresh via AJAX. So, any ' link, you did during the loading of the page disappeared. If you need to use 'live' instead of 'bind '.

    See http://api.jquery.com/live/

    If you view the Source Code (and he says 'original' in the title bar of Internet Explorer), the Source seems to be the same as the original interactive report.
    That makes sense... What is displayed on the screen, not what's in the window 'View Source '...

    IE is not intended for developers. "Inspect the report" using Firebug in Firefox. You can see exactly what is happening.

    Kind regards
    Hari

  • Forms and reports on apex 4.0 table

    Hi all

    I have installed 4 Apex in RDBMS 11R2 based on Linux, created a workspace, all went well.
    Now when I try to create a simple form and a report based on a table that I am running into problems.
    (I think I do something wrong, because I don't see any similar thread) Here's what I did:

    Table: master_hierarchy_level
    LEVEL_ID NUMBER (8.0) No.
    LEVEL_NAME VARCHAR2 (20 CHAR) NO.
    Yes LEVEL_DESC VARCHAR2 (320 BYTES)
    CREATION_DATE TIMESTAMP (0) WITH ZONE No.
    CREATED_BY VARCHAR2 (20 CHAR) NO.
    UPDATE_DATE TIMESTAMP (0) WITH ZONE Yes
    UPDATED_BY VARCHAR2 (20 CHAR) Yes
    VALID_FROM TIMESTAMP (0) WITH ZONE No.
    VALID_UNTIL TIMESTAMP (0) WITH ZONE Yes

    After you have created the 2 pages, I have change the data fields to the form page to display by default the date and time:
    one) mask format: DD-MON-YYYY HH24:MI:SS
    (b) source Type: SQL query...
    (c) value source: SELECT TO_CHAR(SYSDATE, 'DD-MON-YYYY HH24:MI:SS') FROM dual;

    For the created_by and updated_by fields, I did:
    (a) source Type: PL/SQL Expression or a function...
    (b) value source: APP_USER

    Nothing else, when I run the report and click on the button create, all goes well after having filled in the required fields and pushing the record button I get following error:

    ORA-01400: cannot insert NULL into ("MASTERDB_V01". "" "" MASTER_HIERARCHY_LEVEL '. "" CREATION_DATE')
    Error failed to process row in the MASTER_HIERARCHY_LEVEL table.

    I tried to find out why now already several hours and have no nails more to search,.
    can someone give me a hint :-)?

    Thanks in advance, Olaf

    OLAF,

    When you have changed the value of type/source of your date fields you deleted the connection of the page item in the database table/column.

    In other words APEX doesn't know that your date fields must be stored in the table.

    Please define the type of source to database column and use the default setting to set a default value for the date fields.

    brgds,
    Peter

    -----
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at

  • 'modernize' forms and reports Oracle version 6 (1995)

    We would like to 'modernize' forms and reports Oracle version 6 ERP (1995) that we have developed and I saw gold alternately Oracle Forms and reports in APEX is. We saw a little bit "and we had some problems related to the navigation of the 'grid'. " Our customers in data entry are accustomed to move in grey with enter or Tab to insert new lines and move with the arrow keys. APEX, from the little that we have spent to make a new line, you must click on a new line, you must click on Save to save, to move the arrows are not covered. 90% of our masks are masters details and I tried using the example and I tried to adapt to the navigation of our customers with poor results, but I didn't spend too much time. A good alternative to the deferral report and form in Oracle environment it? Apex is the right way? you can get these things slamming a little ' head? Now, we have tried with PHP configured so that to approach the masks made with forms and States, and libraries DHTMLX... but they are a bit "away from the excellent and actually I use this combination more like business intelligence and statistical computing in general as actual data input masks. " I'm at a crossroads and continue with DHTMLX PHP or try to get your bearings on APEX. For years, we use Oracle DB and if we could take advantage of the APEX in the right way (without changing the lives of our customers with too many clicks on the buttons!) It would be great! Or is there something else around!

    Apex is a very good product, however is not a replacement for forms.  It can be used to replace Oracle Forms, but he will rewrite a complete application for most.  It will have benefits and drawback compared to Oracle Forms.  Oracle ADF tends to be a better match for Oracle Forms solutions.  That said, why did you choose to completely rewrite your old application Forms investment of 20 year?  Why not upgrade to forms the latest version which is 11.1.2.2.  With this new version, you can easily integrate with other product (Oracle and non-Oracle), take advantage of many new features and much more.  The main advantage for you (your organization), it's that you won't need to completely rewrite the code of your application.  It is quite simple to form 6 to 11.  Some minor code changes peut prove necessary, but most of the time you can move at will 11 version very little effort in most cases.  Many customers have upgraded to the latest version without changing code at all.

    Information on the latest version of forms can be found here:

    http://www.Oracle.com/technetwork/developer-tools/forms

    Check out the upgrade to 6 forms 11 documents in the Documentation Library for version 11.1.2.2

    http://docs.Oracle.com/CD/E48391_01/index.htm

    Once you upgrade to version 11, you can even enjoy some of our Partner solutions.  For example, you can use AuraPlayer to access your business logic of forms on a mobile device.

    http://www.auraplayer.com/

    If you need assistance with the upgrade, Oracle Consulting or other partners such as the PITS can help.

    http://Pitss.com/

  • Column of image in an interactive report (APEX 4.0)

    Hello
    I added a new column of type blob containing images in an interactive report, but get the following error: -.

    ORA-06502: PL/SQL: digital or value error: character of number conversion error

    If the "IMAGE" column is removed from the State by using the control "actions: select a column ', the report is ok.

    The column contains the following parameters in the "BLOB download Format Mask": -.

    IMAGE: WINEDETAILS:IMAGE:WINE_ID:MIMETYPE:FILENAME:inline:Download

    Did I miss something?

    Concerning
    Tim

    Select wine_id, wine, dbms_lob.getlength (image) my_image
    of wine_details

    -Sharon

  • The BLOB (image) column in the report (interactive)

    Hello

    I have a field called "image" in my "details" table, which is of type BLOB. I also have a field 'MIME Type' and 'filename '.

    In addition, I have a "name" and "description" column I need to display with the image in the form of columns in a report (interactive preference).

    I also modified the display BLOB format as per

    http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/DB/Apex/R31/apex31nf/apex31blob.htm

    what Miss me is the correct query. If possible, I want to control the size of the rendered image in the report as saying 40 * 50.

    I also mentioned the thread

    APEX 3.1 BLOB Image display

    But I do not know how to place the

    DBMS_LOB. GetLength ("BLOB_CONTENT") as "BLOB_CONTENT".

    in my query.

    The foregoing allows also the report type column 'number Should it?

    Any help would be appreciated.

    Kind regards
    Rigaut

    so I am very confused if the error is in the report or the table/data type definition itself.

    Or {noformat}) {noformat}

    The problem is in the settings of the P4_PICTURE element in the form on page 4. The Type of storage has been upgraded with WWV_FLOW_FILES of the Table, so the uploaded images were going to the repository of integrated files, not the BLOB on your CATEGORY table column. So the fundamental problem is that there are no images in your table to be included in the report.

    I changed the element P4_PICTURE Type of storage to a BLOB column specified in the attribute of the Source element, has added the additional column information and the IMAGESource and changed column PHOTO report 3 Format page mask download image, and the picture I have uploaded via the updated form the appears.

  • Simple questions about interactive Apex reports

    I have not yet made many experiments with interactive reports, and a few weeks ago, I heard a colleague that I should not create them. He told an interactive report in our environment of production - according to him, if a user changes the interactive report (for example, adding or dropping a column), other (s) see the same changes that have been made by the first user, so this interactive report cannot have its columns or content is personalized for each user because each user will need to see its own version of the interactive report.

    Because it is expected that each user can see their own version of interactive reports, it discouraged me to go forward. I need to understand this situation because I'm about to release another interactive report in a new page of the Apex - and overcome this if possible.

    Another question: is it possible to replace Oracle reports with export to PDF - Apex and this would include customized logo, header, trailer, and other features of Oracle reports? Certainly not at 100%, but some of these features, such as reports of matrix - they do? Right now, I put reports in packs of function that returns custom types and activities of logic inside the function that returns a type Apex them simply returns by selecting its data, but this question has crossed my mind because I would like to release the Apex of other software development environment.

    I use version 4.2 of the Apex.

    Hello

    There is an attribute on interactive reports where you can define whether the user can save it s own versions of the report, removing columns or adding filters, but the main report is always the same for all users, just as it has been defined by the developer of.

    On PDF printing, I use Jaspersoft Studio to do. It s free and very useful.  There is a package called jrxml2pdf developed by Andreas Weiden, that allows you to print reports of APEX jaspersoft.

    It may be useful

    Best regards.

  • How you trigger sort column of the APEX report interactive page element?

    Hi guys!

    A certain page, I have an interactive report of the APEX. Part of the query is similar to:

    SELECT

    ...,

    (definition column1) BCV,

    (definition column2) RFV,

    ...

    table. RAU,

    The TABLE table_name,...

    WHERE conditions;

    I also have a defined through the following LOV page P121_SORT_BY (selection box) element:

    SELECT "BCV" d, "BCV" r FROM DUAL

    UNION ALL

    SELECT "RF value" d, 'RFV r' FROM DUAL

    UNION ALL

    SELECT 'RA (USD)' d, "RAU" r FROM DUAL

    I've linked a dynamic Action to P121_SORT_BY which runs on the 'Change' event and performs the following JavaScript Code:

    var my_column = $v ('P121_SORT_BY');

    Alert ('test1');

    $x('apexir_COLUMN_NAME').value = my_column;

    Alert ('test2');

    gReport.column.order ('DESC');

    Alert ('test3');

    Alert (my_column);


    Obiously, there is something wrong with my code JS... What can I do to make my report interactive sort DESCENDING column selected in my page element?

    Please note that I also tested the JS without comments and I get pop ups (test1, test2, test3 and the correct name of the column of my_column) but the report isn't back to normal... What am I doing wrong?

    Thank you

    Digital

    Hi all

    I found the answer to my question by navigating through the java scripts in Apex.

    So, this is what works:

    gReport.last_col_id = "BCV";

    gReport.column.order ('DESC');

    Where "BCV" is actually your name of column position, you can send it by a Page Item and means of descending "DESC" and "CSA" means growing.

    I hope this helps other people too.

    Thank you

    Digital

  • A link to an interactive report of APEX

    Forgive me, I'm very new to Oracle Application Express. I installed the latest version (v4) of application Express on my laptop and it is run on the Oracle 10 g XE database which is also installed on this laptop.

    If I have an existing Java based site (which is not an APEX based application), can I have within my site links that open interactive APEX reports (that I built)?

    Can you point me in the right direction for the documentation or Web site that explains how to do this? I want to be able to just a link to an interactive report of the APEX and opened it without asking to specify a user name and password work space.

    Thanks in advance for your help,
    Wes

    Hi Wes,

    Welcome to request Express!

    These interactive reports are public (the user should not need to log-in to an application to see)? If so,.

    (1) make sure that the page containing the interactive report is set authentication = Page is public.

    (2) to obtain the URL of the application of the ApEx up to through the ' f? p = xxx' part. For example, the URL to application 101 on my local instance of ApEx on XE is "http://localhost: 8080/apex/f? p = 101".

    (3) add ":" and the number of the page that contains the interactive report to that and you have the URL of the page. For example, if my interactive report page 5, the URL will be "http://localhost: 8080/apex/f? p = 101:5. If you need to pass parameters in the report to say, limit information - you can send the URL. Take a look at aid to the title of the Application Builder Concepts > understanding URL syntax for more information on how to proceed.

    Hope this helps - good luck,
    John

    If you find this information useful, please do not forget to mark the 'useful' or 'correct' post so that others benefit as well.

  • How to create a column width fixed in an interactive report 4 APEX?

    This thread is a continuation of {message identifier: = 9191195}. Thank you fac586.

    Partial success: the following code provided by fac586 limit the width of the column of the Apex 4 interactive report as long as the data in the column contains a white space in a browser Firefox 3.6:

    < pre class = "jive-pre" >
    < style type = "text/css" >
    e #T_DESCRIPTION {}
    Width: 300px;
    }
    TD [headers = "T_DESCRIPTION"] {}
    Width: 300px;
    dressing: break-Word;
    }
    < / style >
    < / pre >

    Notes:
    1. the above code is placed in the HTML header for the page section.
    2 T_DESCRIPTION is defined as VARCHAR2 (2000).
    3. the above code works in Firefox 3.6.12 browser but does not work in the browser Internet Explorer 7.0.5730.13.

    I tried to add "float: left;":

    < pre class = "jive-pre" >
    < style type = "text/css" >
    e #T_DESCRIPTION {}
    Width: 300px;
    }
    TD [headers = "T_DESCRIPTION"] {}
    Width: 300px;
    dressing: break-Word;
    < font color = "red" > float: left; < / police >
    }
    < / style >
    < / pre >

    Notes:
    1 "float: left;" requires no white space and successfully splits the column between the characters instead of whitespace.
    2. "float: left;" reduces the height of the cell and allows the page to show through... could not determine how to solve this fundamental problem.
    3. the above code works in Firefox 3.6.12 browser but does not work in the browser Internet Explorer 7.0.5730.13.

    I've did some more research, but I've yet to discover how to create a fixed-width column in an interactive APEX 4 report that displays correctly in Internet Explorer 7 browser.

    Ideas and help will be appreciated.
    what theme are you using?

    A customized version of the 15 theme.

    You said you were using APEX 4.0, if I was testing on 4.0, but using one of its new themes based on the standards. 15 theme is a theme of legacy from older versions of APEX, mainly to ensure a certain level of support for the despised IE6 browser. The new themes are designed to restore mode standard and those inherited mode quirks (This is explained here). Firefox (and Safari, Opera and Chrome, and...) for your application, it's academic: all the required CSS: selectors attribute, the property max-width and dressing work in two modes.

    Enter Microsoft. They decided that in IE7, backwards compatibility meant that new CSS features would be supported only in standard mode, even if they had never been implemented in older versions, with no previous, behavior that may break. Go figure. Yes, even so the dressing will work in quirks mode (no surprise - Microsoft invented), attribute selectors, and max-width only. The latter is bug in standard mode, so I tried using widthworkaround, but who has always used an attribute selector, which of course is ignored, there are no selectors of friendly quirks mode in uneditable Oracle IR of supplement.

    The best 2 options are:

    1. stop using IE.

    2. use a theme based on standards.

    Less satisfactory would be:

    3. change your theme custom (or some of its pages) in standard mode (but it could break him other stuff).

    4 throw some JavaScript to fix the problem (I'll sleep on this one).

  • Dynamic action - Hide and show interactive report

    Hello

    in the apex community tip http://www.oracle.com/global/de/community/tipps/apex40-dynamicactions/index.html (only in German), there is an example to hide and show a report interactive by dynamic actions.

    The approach described in the article should be case for normal or interactive reports.
    But in my case it works for normal relations. I am not able to update or hide the interacitve dynamic equity report.

    Has anyone had similar experience?

    Greetings
    Michael

    Hello
    You are welcome.

    * It is considered good etiquette to the responses of reward with points (as "useful" - 5 pts - or 'correct' - 10pts). :)
    Thank you
    Logaa

Maybe you are looking for