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

Similar Messages

  • APEX_ITEM on Interactive Report losing all the data.

    Hi!
    I'm having some troubles with some apex_items on interactive report.
    The problem happens when i save the interactive report with apex_items and a validation in some of the items fail then i lose all the data entered.
    I made i test application to you guys see the problem and try to solve it.
    URL: http://apex.oracle.com/pls/apex/
    The scheme is Sn4k8
    User: guest
    Password: 123654g
    To see the application: http://apex.oracle.com/pls/apex/f?p=20135:1:
    The application is Interactive Report Example / Page number 1
    A example to test is type on the fields values and then type a start date bigger then the end date this is cause a validation error and you will see all your data entered lost.
    I tryed to find something on the web but i could not find nothing if you guys know something to help post it.
    Regards,
    Ismael Filipe
    Edited by: Sn4k8 on 25/03/2010 12:26

    I think there is a solution with java or pl/sql.
    Try to use the example application and type values in the fields and then type "d" at some date. This will cause a exception and will redirect to a apex erro page, if you click at "ok link", you will come back to the interactive report page and you will see that all your data remains intact.
    I think there is a solution...
    Regard,
    Ismael Filipe

  • Sorting Interactive Report results in no data found message

    Hi,
    I've got an interactive report which returns results based on the :REQUEST bind variable - I've got a navigation list at the side where all the items link to the current page with different Request values. The IR works fine until I try to sort any of the columns by clicking the header and choosing ascending / descending, at which point it returns no data found.
    It starts working again if I change the last line to OR :REQUEST IS NOT NULL but this breaks the functionality of the report, I want to return only the selected statuses, or all if no request variable is present. I'm guessing that sorting sets :REQUEST to something temporarily and breaks it. My query is below, any ideas?
    SELECT   id,
             job_number,
             appt_start,
             domain,
             pwa,
             status,
             tstamp_created
      FROM   fail_jobs
      WHERE  (status = 'NEW' AND userid_created != 'SYSTEM' AND :REQUEST = 'ARD')
         OR  (status = 'ATR' AND :REQUEST = 'ATR')
         OR  (status IN ('ERR','REV') AND :REQUEST = 'REV')
         OR  (status = 'COM' AND :REQUEST = 'COM')
         OR  (status IN ('PCD','PCA') AND :REQUEST = 'PCD')
         OR  :REQUEST IS NULLThanks

    There are known issues with Interactive Reports referencing :REQUEST value, probably due to some inner logic that also handles it simultaneously - potentially causing malfunction or deadlocks.
    One workaround I've learned is to create a computation to assign :REQUEST to a temporary item (a PXX_REQUEST, for instance) and reference it in the query, instead of :REQUEST. This has worked fine for me in my experience.
    Let me know if that helps - pls sign the thread as 'Useful' or 'Correct' if so, hence more people can benefit.
    tks,
    Kleber

  • Interactive Report - Save Default Filter not Saving

    In Apex 3.2 I have an Interactive report were a Filter I applied won't save to the report.
    I applied the Filter and saved it as the default report for all users, but when I leave the page and come back the filter its gone.
    The same application on different pages has interactive report with filters applied to the default report and they all work fine, it's just this one report that the filter won't stay.
    First time I've every had this issue.
    Any ideas?
    The filter is pretty simply, I have a column that has codes of D, E, G,... and I apply the filter for CODE != D.

    Hi,
    I've just been trying the "in the last" option and had no problems for any number that I entered. Are you just entering 1 into the box? What error do you get?
    I've loaded the page with Debug switched on, and get:
    select
           null as apxws_row_pk,
           "DATE_ID",
           "ATD_DATE",
           "CHECK",
           count(*) over () as apxws_row_cnt
    from (
    select  *  from (
    select
    apex_item.checkbox(1, DATE_ID) "CHECK",
    "DATE_ID",
    "ATD_DATE"
    from "#OWNER#"."ATD_DATES"
    )  r
    where ("ATD_DATE" between systimestamp - (1 * :APXWS_EXPR_1) and systimestamp)
    ) r where rownum <= to_number(:APXWS_MAX_ROW_CNT):APXWS_EXPR_1 would contain the value 1 as that is what I've entered for the filter. My report's sql statement is just the innermost nested select statement, the rest has been added by the IR functionality and the filter.
    Andy

  • CRM Interactive reports not loading any data on WEB UI

    CRM BI client is setup properly by following CRM IR config guide C41.
    /CRMBW/CONFIG_WIZARD doesn't show any major errors. I am able to create
    the custom interactive reports but when these reports are executed no
    data shows up in the report.For example ,we are building interactive
    reports under opportunities area for a user, who has opportunities in
    the system.
    Our CRM Sytem is on CRM7.0 EHP1 SPS3.
    Thanks
    Thirumala

    Hi Thirumala,
    if still relevant (sorry for the late reply): check if the user is assigned to a business partner (employee), which is assignet to a correct position in the CRM Org model, and that this business partner is the employee responsible of the sales documents you want him to see in the reports.
    Alternatively, the user's business partner can be a manager of such an employee.
    Best regards

  • How to read data from a excel and HTML file

    Hi
        I am writing an 2D-array of string into Excel/HTML file using Report generation.
        Can anybody tell me how to retrieve back the written data from the same files again and view in array format.
    Thanks & regards
    Visuman 
    Solved!
    Go to Solution.

    you can use activex to read the data from the excel fileback in the array format...go through this vi...may b this will help you.........
    Attachments:
    Read Excel-1.vi ‏32 KB

  • I can't format text data saved to Excel.

    I am using the attached VI to write text data to an Excel file. The problem is I can't reformat the numeric data to create charts.
    Can someone shed some light on this?
    Attachments:
    M-51161-001 Write Excel File.vi ‏32 KB
    sample1.xls ‏206 KB

    The reason for this is that those cells have been stored as text. This is indicated by the little triangle in the upper left of the cell. The reason for this is that in your code you are creating a 2D array of strings and writing that out. Excel directly treats this as text information, and not numerical information. If you wish to treat those value as numeric then you need to select the entire range of cells and then click on the little yellow icon to display the context menu:
    You can also change the way you're writing out the data by using numerical arrays for those columns. This would mean writing out the columns in sections rather than all at once.
    Message Edited by smercurio_fc on 09-08-2008 10:17 AM
    Attachments:
    convert numbers.png ‏7 KB

  • Refreshing interactive report on change of dates

    Hi,
    I have a IR where the source contains the query WHERE from_date = to_char(:P3_FROM_DATE) AND to_date = to_char(:P3_TO_DATE) , now when I change the item value in P3_FROM_DATE and P3_TO_DATE , I want the IR to change according the selected values .
    I tried with dynamic action ,but it didnt work , may be I gave the wrong code ...
    How can I achieve this ?
    Thanks & Regards
    Umer

    Nice1 wrote:
    Hi,
    I have a IR where the source contains the query WHERE from_date = to_char(:P3_FROM_DATE) AND to_date = to_char(:P3_TO_DATE) , now when I change the item value in P3_FROM_DATE and P3_TO_DATE , I want the IR to change according the selected values . Use <tt>\</tt> not <tt>\{quote}</tt> when posting code.
    What is the data type of the FROM_DATE and TO_DATE columns? (You should not use TO_DATE as an identifier as it is the name of a built-in function.)
    If it's DATE, do they store time as well as date information?
    As APEX items, P3_FROM_DATE and P3_TO_DATE are character strings and <tt>to_char</tt> should not be used. If the database columns are DATEs, then <tt>to_date</tt> should be used:WHERE from_date = to_date(:P3_FROM_DATE, '<format mask of P3_FROM_DATE item>') AND to_date = to_date(:P3_TO_DATE, '<format mask of P3_TO_DATE item>')
    I tried with dynamic action ,but it didnt work , may be I gave the wrong code ...
    What did you try with Dynamic Action? How can we know if it's the wrong code if you don't show what you did?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Define a join in Webi Report which gets the data from two Excel files

    Hello,
    I have the following excel records as a source for my Webi Report:
    Excel 1
    Excel 2
    Date
    Month
    Month
    Year
    Year
    Total Number of Days
      in Month
    No. Of Exec
    Functional
      Area
    Now I need to show No. of executions/Total Number of Days in Month per functional area (Where Month of Excel 1 is Month of Excel 2).
    For this:
    I have Merged, Month of Excel 1 and Month of Excel 2,     Year of Excel 1 and Year of Excel 2.
    Created a variable vNoofExec , No. of Exec/Total Number of Days in Month.
    Created a graph, with Merged Month, Merged Year, vNoofExec with Region Color on 'Functional Area'.
    But, it doesn't work.
    If I replace vNoofExec with No. Of Exec I get the data, but not with vNoofExec.
    Any Idea how we can get a solution for this?
    Best regards,
    Praveen.

    Hi Amit,
    Thank you for your reply.
    I tried putting them in a table to see if I am getting the value for vNoofExec but, no, I am not getting. Here is the dummy data for both the excels:
    1. Excel 1:
    Year
    Month
    Week
    Date
    No. Of Exec
    Functional Area
    2013
    1
    30
    26
    1
    FA1
    2013
    2
    21
    20
    12
    FA2
    2013
    3
    21
    21
    1
    FA3
    2013
    4
    21
    22
    5
    FA4
    2013
    5
    21
    23
    2
    FA5
    2. Excel 2:
    Year
    Month
    TotalDays
    2013
    1
    31
    2013
    2
    28
    2013
    3
    31
    2013
    4
    30
    2013
    5
    31
    What I found is, if I create a measure like, [No. of Exec] where ([Functional Area]="FA1") and use this measure in the graph I am able to see the data even if I use Total Days in the Graph, but, I cannot create multiple measures like this because for me number of Functional Areas will be changing always.

  • I tune migration with library and data from old laptop with XP to new laptop with windows 7

    Hello.
    I would like to best way to move my existing data on itunes including library, photo, music, movies from old laptop of XP to new laptop on windows 7.
    I downloaded new version of i tunes in my new laptop and not sure how to migrate entaire data and synch with new laptop, pls guide asap

    Type "move itunes library" into the google search bar.
    Copy everything else ( calendars/contacts/pics/files/docs) as well.

  • Interactive Report with Date Filter

    Hi out there,
    I created an interactive report which contains a date column. The default filter-options just work fine. But my users need to filter with the data which is contained in the report e.g. if a row contains 21.06.2000 they want to see this value in the filter-list of this date column and not the predefined defaults (last five years, last day and so on).
    I already tried to specify the date as a string and did a select ... to_char ( date_column, 'dd.mm.yyyy' ) which broke the sorting but gave me the filter-options my users wanted. Specifing the date as yyyy.mm.dd is not an option for my users.
    Is it possible to get a filter which shows the "real" data and keeps the right sort order ?
    Regards and thanks
    Markus

    Markus,
    I've come up against this too. A varchar column gives you the selection list but no filtering using <,>,between etc., but a date column doesn't show the discrete data values. Users tend to ask for both, and putting both date and varchar columns in the report or using an LOV isn't very elegant.
    Is there anything significant about the dates the users want to search directly on? Judging from your 21.06.2000 example I'd guess not, but if so you can build your own column in the SELECT statement and use that for filtering/creating default reports.
    regards,
    Malcolm.
    Edited by: MalcA on Feb 16, 2012 11:39 AM

  • "no data found" message wrapping in interactive report

    I've looked around and can't figure out what's going on. Any help would be greatly appreciated.
    I have an interactive report which, when no data is found, displays the "no data found" message wrapping very tight. I have uploaded a screenshot of it to TinyPic for you to see what I see.
    The HTML generated around the "no data found" text is the following.
    >
    <DIV id="apexir_DATA_PANEL">
    <TABLE summary="">
    <TBODY>
    <TR>
    <TD>
    <TABLE id="12352007490697832" class="apexir_WORKSHEET_DATA" border="0" cellSpacing="0" summary="" cellPadding="0">
    <SPAN class="fielddata">
    No submissions were found in the system.
    </SPAN>
    </TABLE>
    </TD>
    </TR>
    </TD>
    </TR>
    </TBODY>
    </TABLE>
    </DIV>
    >
    I've looked through the HTML code that is generated for that page, but can't figure out why the words are wrapping. Any thoughts?
    Shane.

    Well, my problem is back again. It is only doing this in IE 8, not FF. When I run IE 8 in "IE 7" mode, the error message shows up fine, all on one line. I actually have two span tags now so I can have some spacing around the "no data found" message. I cannot get the "span" tags to show up in the HTML code. The software for this discussion forum seems to be filtering it out or the web browser is interpreting it when it should not. I will replace the SPAN tags with square brackets so you can see them. I also had to change "style" to "st_yle" so the software did not filter it out. It sure looks like a jumbled mess now.
    >
    <DIV id="apexir_DATA_PANEL">
    <TABLE summary="">
    <TBODY>
    <TR>
    <TD>
    <TABLE id="12352007490697832" class="apexir_WORKSHEET_DATA" border="0" cellSpacing="0" summary="" cellPadding="0">
    [SPAN class="fielddata"][span st_yle="padding: 15px;"]No submissions were found in the system.[span][SPAN]
    </TABLE>
    </TD>
    </TR>
    </TD>
    </TR>
    </TBODY>
    </TABLE>
    </DIV>
    >
    Since I am using an interactive report, I do not believe I have any report template I can alter to adjust how the report and/or "no data found" message are being drawn up. I do have the region of the interactive report set to "Reports Region 100% Width", but the HTML in question is not being generated by that template.
    I wonder if the problem is specific to how IE 8 might be interpreting the inside TABLE tags when it does not have any TR or TD tags within it. Any further thoughts on the matter?
    Shane.

  • 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.

  • Placing date field inline to an Interactive Report search bar

    For a button I can choose "Right of Interactive Report Search Bar" option to place it inline with the IR Search bar.
    However I need to place a text fileld or select list or Date Field intead.
    Any ideas? If a template needs to be changed could you please indicate which template? I affrid the date field does not allow an option to change its templates.....
    I hope somebody would be able to help.
    Thanks in advance
    Ligon Gopinathan

    Hi,
    It will take some trial and error to get the positioning correct, but you can do the following:
    1 - Create an HTML region that is positioned at the bottom of your page (that is, make sure that it is underneath all other regions). Set the region's Title to &amp;nbsp; and the Template to "No Template"
    2 - On your datepicker, in the Label/HTML Table Cell Attributes setting, add in:
    nowrap="nowrap" id="P1_DATE_LABEL"(replacing P1_DATE with the actual name of the item).
    3 - In the region's Region Source, add in:
    <style type="text/css">
    #P1_DATE_LABEL {position:absolute; top:40px; left:450px;}
    #P1_DATE_fieldset {position:absolute; top:40px; left:500px;}
    </style>P1_DATE_LABEL is the ID you set above and P1_DATE_fieldset is the ID of the fieldset created for the datepicker by Apex. Change the top and left settings for both as required for your page.
    This outputs the datepicker in your region and then moves it to the top/left position you specify.
    Andy

  • Download Interactive Report data does not match on-screen data

    Hi,
    I have a page which has a process which runs a query and returns a random % of rows from a table, and saves this into a collection.
    Then, based on the random rows, I want to select data from another table, where the rows match certain columns in the collection.
    I have created a query to select the data I want, and have it displayed in an Interactive Report region.
    The data on the screen is fine, but when I go to 'Dowload' the data to csv or excel from the Interactive report, the data is different.
    I have also created a normal report region with the same query, and when I download it from here, it works fine, so I know it has nothing to do with the query.
    Any ideas?
    Amanda.
    The process details are:
    Process Point: On Load - Before Regions
    Run Process: Once per page visit
    Then in the Interactive report query is something like:
    Select ..
    from
    DATA_TABLE c
    select
    c001 User_Id,
    c002 Account_No,
    c003 Transaction_Date
    from htmldb_collections where collection_name='PX_COLLECTION'
    *) d*
    where
    c.user_id = d.user_id AND
    c.account_no = d.account_no AND
    c.transaction_date = d.transaction_date

    Hi,
    This is because of web caching. You should invalidate the page caching in the access tab of page properties or you just change the page url with a dummy paramater like this
    http://domain/portal/page?_pageid=6,1,6_11&_dad=<dad>&_schema=<schema>&1=1
    Here &1=1 is a dummy parameter
    This will invalidate the cache and the page will be refreshed.
    Thanks,
    Sharmila

Maybe you are looking for

  • HP slate 21 update

    Can't update hp slate 21 to latest android. Please help me with the steps

  • Text showing up as question marks

    I have been informed by a couple of different clients that when they open one of my pdf invoices (created in Quicken), that the text is replaced by question marks each in their own little box. This happens in Adobe Reader XI. However, the pdf opens u

  • How to tranfert a DVD to my itunes

    I just buy a macbook pro and i'd like to know how to transfert my DVD's on my macbookpro to have movie i like on iTunes. Thanx for your answers ! :-)

  • Sound loss, crashes and other problems

    Hello, I have been having some serious problems over the past several months. In the past it was fairly manageable, but recently things have been getting worse. I have a 12-inch PowerBook G4, I bought it at the McGill bookstore in October 2004. The f

  • WHERE CAN I GET A DIAGRAM OF THE BACK OF MY IMAC

    Where can I find  a diagram of the back of my Imac