Remove the download interactive report HTML

I have interactive reports where the link in the column on a specific column must be dynamic, which means, that it can not be hard coded in the column binding attributes. Here is an example of such a 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 see you in the above example, the link in the "Object name" column could be redirect page 183 or on page 162, based on the column "Description of object Type.

The column 'Object name' attribute has 'Type display"the value"Standard report column. This works perfectly well in the UI of the report. However, if I download the IR data (in any format) since the Actions-> download menu, the object name column values are downloaded with HTML characters such as:
< href="f?p=15548:183:6072319179284::::P183_OBJECT_ID:255245470513999672860510787772603748464">JP010000</>
where JP010000 is the name of the object.

Is there a way I can strip the HTML code of the column values in the downloaded files?

I use Apex 4.1.

Rohit,

You can set the query link, make hidden, use the value in the link URL column. Thus, 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 link

Change the display type of the LINK column hidden. In the column link, enter #OBJECT_NAME # as the link text. Select the target URL. Enter #LINK # as the value of the URL. APEX 4.2, you can do this more easily by setting the HTML column Expression.

Kind regards
Christina

Published by: cbcho on 27 Sep 2012 11:35

Tags: Database

Similar Questions

  • Rename the download interactive report action

    I'm 5 APEX site apex.oracle.com

    ....

    I need to rename

    action > > download to export files > > file types

    in the interactive report

    as we in the image below

    Hello

    Those who are transltable of the APEXIR_ACTIONS and APEXIR_DOWNLOAD messages

    https://docs.Oracle.com/CD/E59726_01/doc.50/e39147/global_messages.htm#BABEGGHA

    Add those to your SMS application and specify the text that you need

    Kind regards
    Jari

  • Select columns when downloading interactive reports

    Hello
    We have a requirement defined by Oracle Corporate Security Architecture Review Board to prevent some columns to display when downloading interactive reports in csv format. They should appear on the report, but not on the csv output.

    I vaguely remember it was possible when interactive reports have been made public, but I can't find a way to do so at the ApEx 4.1? When I go to the print attributes > columns in the report, I can see the list of columns, and they all get to see the report = Yes, but there is no way to make it no. it seems that all the selected columns to display in the interactive report are automatically included in the download.

    Our applications are hosted on apex.oraclecorp.com, I can provide more details if necessary.

    Please inform if there is a way to exclude the columns during the download.

    Kind regards
    Isabelle Fallon

    Change the definition of column you want in the CSV file and add a conditional view:

    Condition of Type: Ask! = Expression 1
    Expression 1: CSV

  • How to remove the download button located next to my home button? I continue to by clicking on it when I want the House and it's annoying.

    How to remove the download button located next to my home button?

    You can use customization feature to move it to a less irritating location. I suggest the bar the module if you keep this poster.

    Start customizing with one of these, and then drag the arrow to a new location, or in the dialog box to remove all the bars:

    • Right click on a zone empty of the tab bar > customize
    • Press the Alt key > menu view > toolbars > customize

    You will notice that some combined controls separate in the view to customize. If you put something between them, they will not be able to recombine. (For example, if you separate stop and reload or put something between front/rear and area URL.)

  • remove the download files

    Remove the download package after the installation

    Yes, unless you need to install the package again.

  • Lowercase first letter in the name of the column in the non-interactive report... Once again

    A few days ago a posted a question on how to make the column name in a non-interactive report
    out like the lowercase. (original post: lowercase first letter on behalf of the non-interactive report column )
    I use Theme13, which is probably the only theme that forces the first letter
    a column in a report uppercase name.




    In any case, I received several responses, including the response that I applied on my page.
    Then I went back to make the column sortable and which denies the alternative CSS and
    the first letter of the name of the column is back in uppercase... arrrggghhh!

    Are there any other suggestions on how to force lowercase with Theme 13 and a sortable column?

    Thank you
    Donna

    Hello

    Do you have it wrapped in the style tag?

    
    

    BR, Jari

  • Download the conditional interactive report

    Hello

    I created a region conditional interactive report that appears when the button is clicked.

    Initially, in the State of the interactive area, I chose request = Expression1 and expression I gave the name of button, it didn't work.

    Then I had an idea of community to set a branch on the same page by setting the request for the name of the button when the button is clicked.

    The report is displayed conditionally the click of the button, but when try to download the report by clicking on download when the region itself is removed from the action menu.

    Any guidance will be of great help.

    Thank you

    Rakesh

    Hello

    Thanks for your advice, I had thought of it, sorry I missed marking the question as answered.

    Thanks again for the response.

    Take care

  • HTML tags visible in the downloaded Excel report

    Hello
    I have an interactive report, which uses a CASE statement with span tags conditionally color a date column. Unfortunately, when users download the report to Excel or PDF, the span tags are displayed in the report. Is there an easy way to avoid/work around this?

    Thank you

    Mike

    Published by: Mike, UK on March 1st, 2011 11:40

    Don't worry - my old firm stuck with Apex 1.6!

    The SQL code for the report is:

    SELECT EMPNO, ENAME, HIREDATE,
    CASE WHEN EXTRACT(YEAR FROM HIREDATE) >= 2009 THEN 'hilite' ELSE 'lolite' END CLASSNAME
    FROM EMP
    

    You must use the "hilite" and "lolite" that each value will get a class attribute

    All columns are set to "Standard report column", with the exception of CLASSNAME which is set to 'Hidden '.

    The HIREDATE column has the following parameters:

    Text link: #HIREDATE #.
    Link attributes: class = "" #CLASSNAME # ""
    Target: page in the present application
    Page: 241 (IE, the current page)

    However, you can play with two final settings, if you wish

    Header HTML of the page attribute setting:

    <style type="text/css">
    .hilite {background-color:red!important; color:yellow!important;}
    .lolite {color:black!important;}
    .hilite:link, hilite:visited, hilite:hover, hilite:active {background-color:red!important; color:yellow!important; text-decoration:none!important;}
    .lolite:link, lolite:visited, lolite:hover, lolite:active {text-decoration:none!important; color:black!important;}
    #CLASSNAME {display:none;}
    td[headers="CLASSNAME"] {display:none;}
    </style>
    

    This creates just the highlighting comb a link for each value of the hiring date. Tag STYLE settings, just make sure that the link doesn't look like a link.

    I'm sure there is much that could be done to make it a bit neater, but it should give you some ideas!

    Andy

  • Download interactive report to CSV format

    Hello
    We are on apex 3.1.2.00.02. I have two questions...

    1. the interactive reports have a - (dash) in the columns with a null value. So when we download to excel dashboard is always there... the user wants to null. I can't find where it is set to make this dashboard in the report. Can someone help me understand how to do what really null?

    2. When download us the report in csv format, it opens automatically in Excel (which we want); [the name of the tab in Excel is something like... csv] daily_bank_definition (1) if we try to rename the tab we get an Excel error on naming format invalid even if the new name is 'valid '. Is it possible to have the tabname set to what you want? Has anyone seen elsewhere this problem and have you been able to get around?

    Thanks in advance for your help.

    Kristina

    Hi Kristina,

    To remove the indent of null columns you must go to the attributes of the report and under Pagination, you will see "display Null values as. Just remove the - from there.

    To change the tab name to what you want you will be first to save the csv file and remove the name of the [1]. Then, you should be able to change it.

    Concerning

    Paul

  • How to remove the downloaded PDF files?

    I use an android phone and can access the PDFs using Firefox, I downloaded but how to remove PDF files, that I can't keep?

    By default, Firefox stores downloads in your device's standard download folder. So here's what I suggest:

    (1) removal of in Firefox: menu > tools > downloads > press and hold the > delete

    (2) check the downloads app system to ensure that it has been deleted physically there as well and, if not, delete it using this application

    To confirm the interaction, you could open the app downloads system first, make sure that the PDF file is there, then delete it to in Firefox and when you return to the downloads application, it should be gone.

    It works on your device?

  • Footer text region appearing to the right of the BAR INTERACTIVE REPORT SEARCH page

    We are the migration of Express 4.2.1 application at Apex 5.0.2


    We use the 22 Bluejay theme.

    In my interactive reports, I the text entered in the regions 'Header and footer' > footer text, including 4 Apex, rendering at the foot of the report.

    The Apex 5, the same text renders in a new column to the right of the search bar of interactive report.

    Is it a question of model, or a builder bug?

    I can't find where in the model I can adjust the positioning of the text 'Footer region'

    Gus...

    I worked on it a little more.

    just to say that I use the Chrome browser.

    I worked as designer of the Page view and impossible to find using the attribute "footer text".

    I went to the view of the component and found help.

    It is said...

    Enter a footer area to display directly after the body content (that is, after #BODY# in the model of the region) or instead of #REGION_FOOTER #, where this substitution string is defined in the model.

    So I added #REGION_FOOTER # div AFTER the body...

    #BODY #.
    #REGION_FOOTER #.

    Hurrah!  the footer is now in the right place...

    Also, I noticed that if I placed an HTML element
    in the text, footer text would be in the correct position without having to change the model.

    Gus...

  • Is it possible to put a condition on downloading interactive reports?

    Hello

    You are looking for a State control to use the interactive reports download function. We have a custom auth configuration

    and like control usage based on the role of a user is in.

    Thank you!

    Bill

    Hi Bill,

    • Disable the option to DOWNLOAD for IR
    • Create your own button to download data and apply the permission scheme. To download data, you just have to call IR page with appropriate query value. For example CSV will get all the data in a CSV file.
    • Create a load before branch header, which will execute for users 'unauthorized' (you can deny above "authorisation scheme") and to this branch as conditional so it runs only when demand in CSV etc.
    • This branch should re-pointe to the same page by erasing the value of demand

    It may be useful

    Kind regards

    Hari

  • Manage the download IR report link

    Hello

    I use Apex 4.1.1 and Oracle 11g DB.

    I use under sql query in an interactive report. Now the question is why we download the report to csv format via the Actions button we get the data of any link.

    select
    '<a HREF="f?p=&APP_ID.:2:&SESSION.::::P2_ID:'
      ||ID
      ||'"><img src="#IMAGE_PREFIX#edit.gif" alt=""></a>' "Edit",
    column1,
    column2
    from tablename
    where column1 = 'abc'
    union
    select
    '<a HREF="f?p=&APP_ID.:3:&SESSION.::::P3_ID:'
      ||ID
      ||'"><img src="#IMAGE_PREFIX#edit.gif" alt=""></a>' "Edit",
    column1,
    column2
    from tablename
    where column1 = 'xyz'
    ;
    
    

    The downloaded csv file is in the format below

    Column1Column2
    < a HREF = "f? "p = 112:2:1421459908384901:P2_ID:1" > < img src="/i/edit.gif" alt = "" > < / a >ABC1
    < a HREF = "f? "p = 112:3:1421459908384901:P3_ID:2" > < img src="/i/edit.gif" alt = "" > < / a >XYZ2

    Now my problem is that I don't want to download the first column (the column link) that is, the downloaded csv file should have only column1 and column2. Can someone help me with this.

    Thanks in advance

    Thank you

    Shoaib

    Hello

    Change the column attributes and condition ask is NOT contained in set Expression 1.

    Enter the Expression 1

    CSV,XLS,PDF,RTF,XML,HTMLD,EMAIL
    

    Kind regards

    Jari

  • more than 10000 lines excellent download interactive report

    Dear all,

    I am havig a lot of data in the table and on this basis I created an interactive report. Now the user wants to download more than 10000 records in excellent.
    How to do this?

    When I tried to download, it comes only 10000 records in excel. Please help me solve this problem?


    Concerning
    Dhanush.R

    Hello

    Change the interactive report.

    Under report attributes... Select the paging tab, you will find number of Maximum lines TextBox... change of 10000 for all what you want to be maximum

    Kind regards
    Shijesh

  • Remove the downloaded update

    Upgrade Windows 10 has been downloaded somewhere on my hard drive. I do not want to install it. How can I know as to where it has been downloaded so that I can remove the upgrade?

    I advised my clients to doing what I've been dreading for years - disable automatic update of Windows.

    The problem is compounded by a continual road by Microsoft to install Windows 10 on your computer with your permission.  They keep re - install KB3035583 (this is the activation code) on your computer, even if uninstall you it.  The result is a huge download and then constantly nags without a way obvious to say no.

    So I advised my clients to stop WU.  Once a month the 2nd Tuesday, they will have an email to advise me to turn on the WU, then to reject specific updates as KB3035583.  After update, they will turn the automatic updates again.

    If you see the Windows flag in the bottom right of your screen, the chances are pretty high that your computer already has the Win10 file. Even if you do not, it can be on your computer now anyway.  Here are the instructions on how to get rid of it:

    It is likely Win10 has already downloaded on your PC.  If you are using windows 7 and have not installed win10 and do not, here is a procedure that I've used several times and it works.

    1. Remove Windows Update Auto - never tick

    2. Task Manager, processes, find and put an end to GWX.exe

    3. Control Panel, uninstall a program, see installed updates, WAIT until you see the green bar ends its long journey to the right

    4. Now, look for KB3035583, uninstall it

    5. Restart the PC

    6. Disk Cleanup, step 2 for system - it takes some time

    7. You should find a file which is anywhere between 4 and 8 gigabytes.  It's the downloaded Win10 file. Put a check mark on this point.

    8. OK, delete files

    9. Restart

    10. The start-up will take a while as he finished cleaning

Maybe you are looking for

  • The screen freezes when the mouse does not move

    Hi, I have always used Mozilla Firefox and loved it, but in recent weeks it drives me crazy. Whenever I load a Web page and I move the mouse it freezes just until I move the mouse again. If I load the page even off the coast of internet Explorer it l

  • RN31400 access SO slow

    We use this storage sharing of CAD files and revit for writing. Before, it worked perfectly so that we can still work on the same file at the same time. However, recently, without any upgrade on any virus protection software, it randomly works really

  • PSC 2510

    When the printer is powered on button flashes, appears the icon during initialization of the monitor and heard the sounds of a normal startup.  Then a repetitive ratchet sounds for 1 to 2 minutes and then stops.  No function of the machine will work.

  • How can I fix problem TCP/IP Ping command?

    I have a laptop Dell Inspiron 1525 with Vista, and I get a small pop up window that says: "command Ping TCP/IP has stopped working"... How to fix this?

  • I reported Pirate Possible

    Hello I recently bought Windows 7 Pro Retail on eBay (PayPal) for a good but reasonable price from a seller in NSW saying they were authorized Microsoft resellers. The product arrived, posted to China in a package of bad quality, but with the disk ke