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

Tags: Database

Similar Questions

  • How can I manage the downloads when I connect to the internet?

    How can I manage the downloads when I connect to the internet?
    When I connect to the internet, this prevents the download and update or I don't know what else
    How can I activate all things off whenever I want to?

    Hi MiladNataj,

    ·         What you download?

    ·         Did you do changes on the computer before the show?

    ·         What web browser do you use?

    Performs a search using the Microsoft safety scanner.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

  • 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

  • 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

  • Create the Download button or link

    Hello

    Can someone help me please on the following requirement.

    I develop a custom page, in what I have to include the download button or download link. Can anyone suggest it please how to do this and I tried to do as stated in Devguide, but the download link is not visible.

    Here are my requirements:

    I have a model of Bill and I must download this template to my page of the OPS. so I need help in how to achieve the requirement and where to keep the model and how to download it from the page of the OPS.



    Thank you

    Hello

    Your file must be in the db as a BLOB type and associate the viewAttribute should be referred to this column, and you must run the query of the VO.

    Thank you
    Pratap

  • manage the download folder and the files that are uploaded

    I know it's a stupid question, I tried all over aid in System 7, (I'm also more mac user), but how do I control where a download will, when I want a particular file

    Change the default download on your computer (IE web browser) folder

    To change the default location where the downloads are stored on your PC, follow these steps:

    1. Open the office and then tap or click the Internet Explorer icon on the taskbar.

    2. Press or click on the Tools button and then press or click view downloads.
    3. In the downloads view dialog box, tap or click Options in the lower left corner.

    4. Choose a different default download location by touching or by clicking Browse and then tap or click OK when finished.

  • 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

  • Rename the report links in the dashboard obiee 11 g

    Hello

    I need to rename the buttons of report links that makes its appearance in the bottom of the dashboard as page)

    Return-Previous-Analyze-Edit-Discount-Print-Export

    - Add to briefing book

    -

    )

    Go to \Oracle_BI1\bifoundation\web\msgdb\l_en\messages

    Change the viewmessages.xml

  • What is the current size of the download for Firefox package? I have a dial-up connection and clicking on the "latest version" link s look as you get an exe file which only manages the installation, so there must be more.

    The download starts with Firefox Setup 6.0.2.exe, but I still struggle with "setup" programs that seem to be of reasonable size (it is estimated that 45 minutes to download), but once launched, starts a download of ten hours.

    This should be easily accessible information about the site... What is the size of total download if the current Firefox installation package?

    Yes, nothing else is necessary.

  • need to disable the download in firefox, so I can use my download manager

    I want to record the download links in my download manager, but firefox downloader is the only option I get

    You can use the FlashGot extension to integrate an external Download Manager in Firefox.

  • Akamai Download Manager install - fails to start the download of video presenter Express

    Hello.

    I have a PC 64 bit Windows 7 Pro, and I am trying to download a trial version of presenter Video Express 11.

    I provide to my boss a review so that it can buy this for our training team.

    I tried to download Video Express 11 presenter, while that connected to Adobe.com, while using Firefox 39.0 49 Chrome and IE 11.0.9.

    I turned on my cookies, turn off pop-up blockers, deleted all the cookies/history and added Adobe.com for the compatibility view settings in Internet Explorer.

    I followed all the instructions and each piece of advice on this forum, and nothing has worked.

    I uninstalled Akamai about 15 times and tried again and again with different parameters.

    Akamai Download Manager installs correctly (apparently) on my PC, but he put the shortcut on my desktop and it never resumes the download.

    Please do not paste links to the help documentation for troubleshooting three. I have lived all three, and I've tried everything.

    Any suggestions?

    Thank you

    Tichelle

    An update for this, I finally downloaded the product at home and brought a copy to work on a USB key.

  • How to download photoshop elements Prime Minister 11 on a new machine Ii have the serial number and I managed to download the 11 items

    How to download photoshop elements Prime Minister 11 on a new machine Ii have the serial number and I managed to download the 11 items

    PE 10, 11, 12, 13 - https://helpx.adobe.com/premiere-elements/kb/premiere-elements-downloads.html

    You can also download the demo version of the software through the page linked below and then use your current serial number to activate it.

    Don't forget to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.

    Photoshop/Premiere Elements 11: l http://prodesigntools.com/photoshop-elements-11-direct-download-links-pse-premiere-pre.htm

  • By the way Select list value to another page via report link

    Hello

    I have a page 1001 with an item from the selection list (SLI), a button (BTN) and a report (EPR).

    After selecting a value of the element of selection it s possible to click on the button.

    After clicking the report button will display the data. Report structure: ID, COL1, COL2, COL3, COD values in COL1 is the links to the page 1011.

    I managed to pass the value of a column in the report, but how to pass the value of SLI this link?

    I tried: SLI, SLI, #SLI # and & SLI... but nothing has worked.

    You have an idea?

    1013248 wrote:

    Please update your forum profile with a real handle instead of '1013248 '.

    I have a page 1001 with an item from the selection list (SLI), a button (BTN) and a report (EPR).

    After selecting a value of the element of selection it s possible to click on the button.

    After clicking the report button will display the data. Report structure: ID, COL1, COL2, COL3, COD values in COL1 is the links to the page 1011.

    I managed to pass the value of a column in the report, but how to pass the value of SLI this link?

    I tried: SLI, SLI, #SLI # and & SLI... but nothing has worked.

    You have an idea?

    Use the exact static text substitution method to reference the value of the element. This requires an end point ('.) ») :

    &SLI.
    
  • Is possible to save the user who uses the download action in an interactive report.

    Hello

    In my application I want to save that downloads information from the interactive reports in any format, is this possible?

    Concerning

    Hi Eva,

    The event would be onClick of one of the download buttons (either CSV, HTML, PDF). Al of these download buttons have an id that starts with 'apexir_dl_' but including the suffix of ASD file extention (so the Download CSV link would be "apexir_dl_CSV").

    The PL/SQL procedure for the actual record is accurately described in the link Tony posted.

    Kind regards

    Vincent

  • Where is the download of forms and reports 11g Release 2 (11.1.2.0.0)?

    Hello

    I managed to download one of the facilities for Forms 11 g from here:

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

    However the readme it says it's a patch 11.1 . for version 2.1.0 11.1.2.0.0

    Now I'm a bit confused when I go on this page that show requirements:

    Oracle Fusion Middleware 11g system requirements

    There is a download tab, but it is not.

    So, where is the download of 11.1.2.0.0?

    Thanks in advance,

    Richard

    If you take a look at the XLS I gave you (http://www.oracle.com/technetwork/developer-tools/forms/oracle-forms-111210certmatrix-1886127.xls) it says:

    Oracle Forms and reports 11.1.2.1.0 is certified with WebLogic Server and 10.3.5 and 10.3.6.

    It is therefore your choice between 10.3.5 and 10.3.6.

    see you soon

Maybe you are looking for