HTML in computation in Interactive Report

Hi,
I am trying to output some html in an Apex (v4.1.0.00.32) interactive report in a computation field but it just outputs the html
How can I put something like a br tag or a non breaking space {noformat} {noformat}
eg
'AllTo: ' ||  J || '<br>Dev: ' ||  KOk, code I want is in the image below
thanks
Robert
Edited by: bobonacus on Mar 1, 2013 10:19 AM ... Ironically this forum uses the html!!

bobonacus wrote:
Hi,
I am trying to output some html in an Apex (v4.1.0.00.32) interactive report in a computation field but it just outputs the html
How can I put something like a br tag or a non breaking space {noformat} {noformat}
eg
'AllTo: ' ||  J || '<br>Dev: ' ||  KOk, code I want is in the image below
thanks
Robert
Edited by: bobonacus on Mar 1, 2013 10:19 AM ... Ironically this forum uses the html!!I do not understand what you are saying. Can you re-explain the problem with different words?

Similar Messages

  • Control Breaks in Interactive Report Throw off HTML Header Style

    I created an APEX 4.0.0.11.23 page with an interactive report. Several columns are character strings with embedded spaces. At first, when the columns displayed they were wrapped around to as many lines as there were spaces. so I formatted it with this HTML header style:
    $('td[headers="ADDRESS"]').attr("style","white-space:nowrap");
    This corrected the problem but then the user requested two breaks on Column_A and Column_B. This threw the formatting off so I corrected it with this HTML header style:
    $('td[headers="ADDRESS BREAK_COLUMN_A_COLUMN_B_2"]').attr("style","white-space:nowrap");
    Now the lines wrap for some but not for all rows and there does not seem to be any pattern. So for instance the address for one particular row will look display in the desired format as:
    530 EAST 144TH STREET
    And another almost identical row will display as:
    525 EAST 143RD
    STREET
    I thought there may be binary data in the column so I embedded the following code in the main SELECT query that drives the page”
    Regexp_Replace(ADDRESS, '[^[:print:]]')
    This did not help. How do I implement HTML header styles for interactive reports with multiple control breaks so that the address is formatted properly for every line? Is there a related report or page attribute that needs to be set?
    BTW, the way I discovered the HTML header style for interactive reports with multiple control breaks by following this link which was provided in a related thread:
    Re: Interactive Report Control Break disregards HTML Header style.
    Edited by: Comet on Sep 27, 2012 11:00 AM
    Edited by: Comet on Sep 27, 2012 2:32 PM
    Edited by: Comet on Sep 27, 2012 2:33 PM
    Edited by: Comet on Sep 27, 2012 2:34 PM
    Edited by: Comet on Sep 27, 2012 2:35 PM
    Edited by: Comet on Sep 27, 2012 2:36 PM

    Suggest you reproduce this on apex.oracle.com using the same theme, IR configuration and equivalent data.
    What browser/version are you using?

  • Interactive Report - problem with export by email

    Hi,
    We're upgrading to Apex 4.0 and we encountered a problem with the email export in html format for the Interactive Reports. The french accents are displayed with some weird symbols in the HTML file.
    When I export directly in html from my report instead of the email, the accents are fine. So the problem must be the encoding of the email which is set to UTF-8. Our database use WE8MSWIN1252 encoding for the NLS Characterset.
    Without changing our NLS Characterset, is there something I can do to correct this ?
    Thanks

    Hi Denes,
    The administrator have created a mapping table,and they send me this two lines in JMT.conf file:
    /htmldb-test /i/fck/*
    /htmldb-test /pls/*
    The error still exists,i would like to know if these two lines generate a kind of confusion in any treatment of filtre in interactive report.
    Aymen

  • Add line break in name of an interactive report computed field

    I have a computed field in an IRR and need the name of this field to be broken into 2 lines. In regular columns I can add "br" right in the column attributes but if I use that in the computed field name, the HTML "br" actually shows up in the field name. How can I do this?

    Here is a threa dealing with a nowrap issue for an IRR, try making the nowrap setting in the css a wrap and see what happens..
    Re: Interactive Report - fields wrapping
    Thank you,
    Tony Miller
    Webster, TX

  • Interactive report - Save as html, possible to save file in database?

    Hi
    I am in a situation where I want the output of a interactive report in HTML format, but I do not wan't to download the files to my computer. I want to automate my process to display the report and save the file to database and to be attached to a email from Apex in a later stage.
    Is this possible at all? tried different aproaches with saving data to clob and converting to blob, but it all look horrible for the end user.
    Sincerely
    Johnny

    Check if the subscription feature or download -> email available in apex 4.0 serves your purpose.

  • Remove HTML from Interactive report download

    I have interactive reports where the column link on a specific column has to be dynamic, that means, it cannot be hard coded in the column link attributes. The following is an example of one such report query:
    case when d.object_type_description ='Business Service' then
    '< href="f?p='||:app_id||':183:'||:app_session||'::::P183_OBJECT_ID:'||d.id||'">'||d.object_name||'</>'
    when d.object_type_description = 'Real Time Event' then
    '< href="f?p='||:app_id||':162:'||:app_session||'::::P162_OBJECT_ID:'||d.id||'">'||d.object_name||'</>'
    else
       null
    end as "OBJECT NAME"As you see in the above example, the link on the "Object Name" column could either redirect to page 183 or to page 162 based on the "Object Type Description" column.
    The column attribute of the "Object Name" column has "Display Type" set to "Standard Report Column". That works perfectly fine in the UI of the report. However, if I download the IR data (in any format) from the Actions -> Download menu, the object name column values are downloaded with the HTML characters as:
    < href="f?p=15548:183:6072319179284::::P183_OBJECT_ID:255245470513999672860510787772603748464">JP010000</>where JP010000 is the object name.
    Is there a way I can strip the HTML from the column values in the downloaded files?
    I am using Apex 4.1.

    Rohit,
    You can define the link in the query, make it hidden, use the value as column link URL. So, your query will look like the following:
    d.object_name,
    case when d.object_type_description ='Business Service' then
        'f?p='||:app_id||':183:'||:app_session||'::::P183_OBJECT_ID:'||d.id
    when d.object_type_description = 'Real Time Event' then
        'f?p='||:app_id||':162:'||:app_session||'::::P162_OBJECT_ID:'||d.id
    else
       null
    end linkChange the display type of LINK column to Hidden. In column link, enter #OBJECT_NAME# as Link Text. Select URL as Target. Enter #LINK# as URL value. In APEX 4.2, you can do this in easier way by defining HTML Column Expression.
    Regards,
    Christina
    Edited by: cbcho on Sep 27, 2012 11:35 AM

  • Compute function on interactive report

    Hi Every 1,
    I need some help with an interactive report i am trying to produce. What i am trying to do is use to compute function of an interactive report and add the actual count from a week (e.g. week 26) and add it to the forecast count of that week
    The problem that i have is that they are on different rows
    The table below shows that i am working with.
    Week No|Forecast Count|Actual Count*
    ____26__|_______0______|___128231____
    ____26__|____180916____|______0______
    ____27__|_______0______|___164666____
    ____27__|____180916____|______0______
    ____28__|_______0______|___169302____
    ____28__|____180916____|______0______
    ____29__|_______0______|___159857____
    ____29__|____180916____|______0______
    ____30__|_______0______|___162210____
    ____30__|____180916____|______0______
    ____31__|_______0______|___152471____
    ____31__|____180916____|______0______
    Any help would be welcome :)
    Thanks in advance
    -N.S.N.O.

    Is that the only way that this could be done?
    I have tried to get the values on the same row but it has proved very very difficult.
    The query i use to get the data is this:
    select ROUND(TO_NUMBER(TO_CHAR(TO_DATE(rpad(con_add_td_hr, 10),'yyyy-mm-dd'),'ddd')-2)/7)+1 "Week No", 0, sum(cons_total) "Actual Count"
    from corcon01_hour_totals
    where db_name='CSAHEPA' and substr(con_add_td_hr,1,4)='2008' and CON_ADD_USER_ID not like '%LDL%'
    group by ROUND(TO_NUMBER(TO_CHAR(TO_DATE(rpad(con_add_td_hr, 10),'yyyy-mm-dd'),'ddd')-2)/7)+1
    UNION
    select week_no, sum(manual_entry_cons)+sum(citedi_cons)"Forecast Data", 0
    from concount_forecast_data
    where db_name ='CSAHEPA' and year ='2008'
    group by week_no
    The problem that i have is that the 2 tables are not relate and do not have a matching table structure. For the actual count table i have to generate the week number using a data/hour column.
    If you have any suggestions i would be very grateful.
    Thanks
    -N.S.N.O.
    Edited by: N.S.N.O. on Sep 16, 2008 2:21 AM

  • 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

  • How to use an Aggregate in a Computation on an Interactive Report?

    version 4.0.2.00.07
    Hello,
    I'm trying to create a computation on an Interactive Report from the Actions menu to compute a percentage.
    I have two Status columns, one for open and one for closed. I have to count the number of open and count the number of closed and then divide the two.
    I created an aggregate, count, on the open status and closed status, but how to use them in the computation? There's no 'count' in the Function list in the Compute box.
    I was hoping that those aggregated columns would be displayed in the Compute sub-menu on the Actions button but they don't appear to be.
    Can someone help me with this?
    Thanks,
    Joe

    Maybe an alternative would be to put this logic into the select.
    select u.object_name,
           u.object_type,
           count(case when u.object_type = 'TABLE' then 1 end) over () count_tables,
           count(case when u.object_type = 'VIEW' then 1 end) over () count_views
    from user_objects u;This would count the number of tables and views in the data dictionary. And it is returned as a column value.

  • Using HTML,how to change the color of column data in an interactive report?

    Hi,
    I want to change the color of data of a column in an interactive report.
    I want to do it by HTML.
    I have tried the code
    <style type="text/css">
    #apexir_EMP_MANID{color:blue;}
    </style>
    But it changes the color of the heading of column only. Not the data.
    Plz can anyone suggest me something ?
    Thanks in advance

    Hi Vaibss!
    Is it that what you're looking for?
    Color Coding (Post number 5)
    regards

  • Urgent!!  Download Interactive report in HTML as it is

    I have an interactive report where i have highlighted rows and colums based on some conditions.But when i download the same report in html, all the highlighted format are gone.I mean all the colours are gone.I want the same format in html too.so how is this possible.

    Hi,
    this is not so easy. Read it yourself:
    http://www.apexninjas.com/blog/f?p=100:1:0::::P1_ARTICLE:1920
    http://www.talkapex.com/2009/04/custom-download-for-apex-interactive.html
    Best regards,
    Tobias

  • HTML Code text appearing instead of checkbox in an interactive report

    Hi All,
    When I try to include a check box column in an interactive report only the HTML text is being displayed as
    <input type="checkbox" name="f01" value="1739" />.
    However check boxes are working fine in other application and also in other sample test reports that I've tried on...
    Could you please give any ideas as to why this is happening?
    Thanks in Advance

    Hi,
    Change column to Standard report column from report attributes.
    Br, Jari

  • The symbol '=' is missing in interactive report compute option's keypad

    Hi Friends,
    I am having an interactive report. I am trying to give a compute option like CASE WHEN A = 10 THEN B + C ELSE B
    END . All other sysmbols except *=* is found in the key pad. But if we put '=' symbol manually it is working fine. Is
    there any option to show the *=* symbol in the key pad itself?
    Thanks
    TJ

    Hi,
    There is no option to add it
    Br, Jari

  • Interactive Reports Download In Colour format in html and csv

    Hi All I want to download interactive report in colour format(as it is format) in html and csv using apex 4.0.2
    Regards
    Robert

    http://en.wikipedia.org/wiki/Comma-separated_values
    A comma-separated values (CSV) file stores tabular data (numbers and text) in plain-text form. As a result, such a file is easily human-readable (e.g., in a text editor).re: colours of html output
    interestingly, there are settings in print attributes, but they have no bearing on the output... obviously nothing to do with the html output. Probably best bet is BI Publisher, where you can define your own report templates.

  • Interactive Report with html tags --- Data saved in Excel with html tags

    Hello,
    I am using APEX 4.0. I have an interactive report that displays some of the columns bold and / or colors using html tags. As an example,
    SELECT
    '''<font color="green"><b>'' || SERIAL_NUMBER || ''</b></font>'' SERIAL_NUMBER,'||chr(10)||
    'PRODUCT_NAME,'||chr(10)||
    '''<font color="teal"><b>'' || PRODUCT_DESC || ''</b></font>'' DESC,'||chr(10)||
    'QUANTITY,'||chr(10)||
    FROM
    <Table name>
    At runtime, the Interactive Report displays the fonts, colors correctly; however, when I save the data of the Interactive Report in an Excel format, it saves the Html tags along in the EXCEL spreadsheet. For example, the column serial number from the above SELECT statement is extracted in an Excel column as ---
    <font color="green"><b>123456789</b></font>
    Is there another way to render the column data so that extracted data will not display the HTML tags or is removing the html font color tags from the SELECT statement the only option?
    Thanks in advance.
    Ed

    Hello,
    I have a feeling all your problems are related take a look at this thread. I found it in 10 seconds of searching the forum.
    strange tags
    It's always best to do a quick search first most likely you are not the first person to have this problem.
    Carl

Maybe you are looking for

  • Thunderbolt docks for external video cards. Any out there?

    I am finally retiring my Mac Pro 1,1 for a stacked i7 Mac Mini. The only downside to the Mini is the onboard Intel HD Graphics 4000. I've already upgraded to the ATI Radeon HD 5770 and would like to keep that power. To that end, I've been looking for

  • Oracle Document Caputre - Import Server Error

    Hi, When the import server is polling the emails to pick the attachments, its failing and writing the below error message in log file : ======================================== 10/11/13 18:37:01 1105 Start processing batch Fri, 11 Oct 2013 18:36:35 +

  • Row value as one column/row value

    Hi, I want below values like 1;2;3;4;5;(same like we get by using UserResponse function for user prompt but this is simple object not user prompt) 1 2 3 4 5 thanks in advance Prabhat Edited by: prabhat2009 on May 19, 2009 6:42 AM

  • Whenever I play a game that requires flash my computer shuts off..

    Hi guys, I am new to this forum and I am hoping I can get some answers. I am pretty Tech savvy and I've tried everything I can think of to fix this problem. First I will give my system specs. Mobo: Asus m4n68t-m V2 CPU: Athlon II X4 640 @ 3.0ghz RAM:

  • Flash 8 sprites stop the stage updating

    Posted about this issue before but now it really is causing me hassel. It's the fact that I have two main Flash 8 sprites on my stage, one is an animated accordian style menu system which when the user clicks of a menu Director jumps to the relevant