Interactive report Link Text

Apex 4.2

Theme 21

I'm trying to add text to an infrared link

I currently use:

title = "click here to update the Configuration.

I would also add a column value.

I tried to use #MY_COL #, ' #MY_COL # ' and | ' #MY_COL #' |

but the test is displayed as click here to update the Configuration MY_COL

It works using #MY_COL # in a standard report, but not IR

Thank you

Gus

COPY THE CODE FOLLOWING IN THE COLUMN FORMATTING

use a dynamic action report after refresh

In real action

The action is

ToolTip plugin

-Action Dynamics Plugin - ToolTip

and code like this plsql

declare

v_ID VARCHAR2 (10);

v_ID2 VARCHAR2 (12);

v_INFO VARCHAR2 (100);

Start

v_ID: = apex_application.g_x01;

Select ID2 in v_ID2 from TABLE where ID = V_ID;

for rec in (select ID1 separate from TABLENAME where ID2 = V_ID2)

loop

Select INFO from v_INFO from TABLENAME where ID1 = V_ID1;

sys. HTP.p (v_INFO);

sys. HTP.p (')
');

end loop;

end;

Demo can be seen at: -.

https://Apex.Oracle.com/pls/Apex/f?p=44321:410:

Tags: Database

Similar Questions

  • Interactive report link column OF GURUS HELP requested

    Hello

    I have an interactive report data that return a name of an image file. I would use the link column (link to the custom target) option. My underlying query column has the name of the file image #ILINK #.

    The target URL is properly trained using the variable http://myserver.mycompany.com/cgi-bin/oracle/img.cgi?img_file=#ILINK#;size=full #ILINK # bind

    However, for the link icon (which is what I wanted to be a miniature dynamic of the linked image). The variable binding #ILINK # is not read. Is it because the link icon can be determined dynamically and must always be the same image?

    I can get this to work as a regular report using HTML expression, but I really want to harness the power of an interactive report.

    Thank you

    Hello

    in this case, you could build the necessary html tags in your SELECT statement, like this:

    SELECT EMPNO
         , ENAME
         , ''||ENAME||'' AS ENAME_LINK
      FROM EMP
    ;
    

    brgds,
    Peter

    Blog: http://www.oracle-and-apex.com

  • Export report interactive report link

    I understand it, normally, export reports to. CSV files & takes the name of the report area.

    I can't see where, in the section of report export - attributes report - interactive report, you can specify a fixed name for the report.

    MY QUESTION:



    Since my report of Nomenclature is based on a reference variable, can get to the variable becomes the name of my export.

    Example I run a query for a 1234 p/n, my report is then available for download as 1234_BOM.csv

    Thank you
    Bob

    Hello

    What is your version of the Apex.
    When you set the name of the application, include not .csv to the name.
    And use the format

    &P1_SEARCH.
    

    Kind regards
    Jari

  • Create null values in the database for interactive report link column values

    Hello

    I'm pretty new to APEX and tries to create an interactive report with the form. This report examines essentially for more information for a particular employee. If the employee has any information in the table, the report presents information with a button change beside him. If there is no record in the table for this employee, a create button appears. Now when you click create, a new creation page. This page contains the employee number as a single display field with the value from the previous page. This value is displayed in the page, but it is not in the database. Create the page has view-only number and a couple of other columns. The other columns get inserted into the table with an empty number!

    Can someone please? Looks like the page keeps the value zero for the number of the employee who came during the search of the interactive report. Hope I made myself clear, being the newbie hope I haven't used any incorrect terminology.

    Thank you!
    Robet

    Without the DB column, apex will not determine which DB column the data in this field are mapped to (it would be quite impossible to guess the destination since the name of the element column).

    If you want to assign to the previous element of the page, use the default section

    return: P1_EMP_NUM

    By default the value Type: body of the PLSQL function

    and configure the attributes of source as I said before

  • How to create a custom interactive report link?

    Hello
    I would like to add a personal link in a view of an interactive link details. But the build-in method of creation of link doesn't work in the detail view. So I tried:
    ------------------------------------------------------
    Select
    THREAD_ID,
    colume2,
    colume3,
    +....,+
    +'a href = "f? p = 103:118: & APP_SESSION.:NO:P118_THREAD_ID: #THREAD_ID #"" > < img src = "" | ('P111_PHOTO', g.PHOTO_ID) apex_util.get_blob_file_src |' "height ="75"/ > < / has > '"LINK_IMG"+ (I relish the first symbol on this line, because it can not display properly)
    Of...
    where the...
    ---------------------------------------------
    It can be linked to the Page 118, but cannot pass the colume THREAD_ID value to P118_THREAD... So I try to instand ' #THREAD_ID # ' with ' & THREAD_ID. ' or 'THREAD_ID', each of them may not pass the value

    Who can help me?

    Published by: Wei Geng on July 7, 2010 18:06

    Published by: Wei Geng on July 7, 2010 18:08

    Published by: Wei Geng on July 7, 2010 18:11

    Wei,

    If you look at how we have implemented this feature in the sample Application - products {Page 3}, you will see that the SQL query is:
    ' f ? p ='|| : app_id | » : 6 :'|| : app_session |': P6_PRODUCT_ID :'|| p.product_id icon_link,

    We use that in the detail view:
    {a href = "#ICON_LINK #"} #PRODUCT_NAME # {a}

    You just add to the underlying value of the table directly (using 'f? p = 103:118: & APP_SESSION. : NO::P118_THREAD_ID :'|| thread_id |' ") don't try and refer to the value of the report (using #THREAD_ID #)

    Kind regards
    David

    Published by: dpeake on July 7, 2010 20:55

    Published by: dpeake on July 7, 2010 20:56

    Published by: dpeake on July 7, 2010 20:58

  • Interactive reports link doesn't seem to work in my environment

    I tried to use the link to IR in my requests based on the following documentation

    http://download.Oracle.com/docs/CD/E14373_01/AppDev.32/e11838/app_comp.htm#BABDHIDJ

    Whatever I do (even manually change URL adding Anthony < columnname >: value (for example, IR_SEQID:10)) there any effect on the page.) There is no independently of the effect of the visibility of the column.

    I don't think he's working and I appriciate to help (for example a working application to download).
    Thank you.

    PS: I use APEX 3.1 with Oracle 10 g and 11.

    Edited by: user6479800 the 15.04.2009 02:06

    Hello

    I don't know exactly how your link is defined. I tested here: [http://htmldb.oracle.com/pls/otn/f?p=267:87] and it seems to work ok.

    The link on the EMPNO column in the second report is defined in the HTML Expression for the column as:

    <a href="f?p=&APP_ID.:87:&APP_SESSION.:::CIR:IR_EMPNO:#EMPNO#">#EMPNO#</a>
    

    Andy

  • Apex 5 - where can I configure the link column for interactive report?

    Using APEX 5 on apexea.oracle.com

    I can't work where the attributes of column layout link for an interactive report using the interface of the designer of the Page?

    Thanks in advance

    PaulP

    Paul,

    the customer_id column is defined as a hidden at the Start column, and then there is no attribute of link for this column type. You must define the type 'Link' to get the attributes. There is no attribute of link on "Plain text" either.

  • Interactive report performance with conditional link

    Apex 3.2

    I have an interactive report.

    The underlying sql return 127000 lines

    The sql is

    Select

    LDE.ods_system,

    LDE.ldekey,

    Msg.sendersystem,

    Msg. MessageType,

    Msg. MessageVersion,

    Msg.msgseqnumber,

    Msg. AlternateKey,

    Msg.crudmarker,

    Msg.clrbookdate,

    Msg.clrbookresult,

    lower ('udf_' | MSG button.) MessageType),

    LDE.ldekey |'. ' | Msg. AlternateKey |'. ' | Msg.msgseqnumber udm_key

    Of

    clr_esbmessageheader msg,

    clr_adm_systemmessage SMA,

    lde udm_lde

    where

    ADM.ldeid = lde.ldeid and

    Msg.sendersystem = adm.system and

    Msg. MessageType = adm.messagetype and

    Msg. MessageVersion = adm.messageversion and

    Msg.receiversystem = "SCIPS.

    msg.clrbookdate desc order

    This report takes a second to display.

    I need to add a conditional link to another page, so I used

    case

    When lower ('udf_' | msg.) MessageType) = "udf_distreceipt" then

    "' < a class ="type"href =" "|" apex_util.prepare_url ('f? p ='|: APP_ID |) » : 52 :'|| : APP_SESSION |': ' | : D EBUG |': RIR' | ': I R_MSG_KEY, P52_PG :'|| LDE.ldekey |'. ' | Msg. AlternateKey |'. ' || Msg.msgseqnumber | «, » || 50, null, 'SESSION') | «"title ="Go α report udf_distreceipt"> udf_distreceipt < /a > '»»

    Another 'no link' don't end table_link

    The sql seems to be ok, because the report was accepted, but by selecting the new column and save the report back for always (2 min)

    Now, the report takes more than 2 minutes to run and I still need to add more conditions.

    I coded the link incorrectly?

    Gus

    Well either force them to filter everything first or actually withdraw the appeal prepare_url of your sql. Can you not just use the link of apex column feature? All your links seem to differ in is in the display text for the anchor and not the actual url. If your link is perhaps not as accurate, but at least going to session state protection and be fast and everything will be pretty standard. You could delete SSP of course, but who are better than a more generic link text? The call is of course to you.

  • Colon in link with the interactive report

    Hello

    I have two interactive reports which are connected by link column on one of the columns, the problem is that some of the values contains a colon

    for example, the value is ABC: 123 , but the linked report a value = 'ABC' is generated in the filter

    So I can see there are many sons and based on those I can escape the string using APEX_UTIL. URL_ENCODE so now I get Value = 'ABC % 3 A 123' in the filter that is still nothing.

    So I think on the interactive report, I need to somehow convert the return value on the page so the interactive report can deal with it, but I don't see how to do this and I can not find all threads that deal with these.

    I don't want to use an element on the page to filter the report the report is sometimes access directly and it would act/look different to other pages where we have it but don't have the problem that these values have no settlers. I can't remove the colon as they come from an external source.

    We use the apex 4.1

    Any ideas?

    WOWL wrote:

    This isn't the real value, but I think that its close enough for users, if I were to create a dynamic of any idea action that she could do as my knowledge of dynamic action is limited.

    Create dynamic Action to replace "_" with ":" when the IR is updated:

    When

    Event: After refresh
    Selection type: Region
    Region: IR / / whatever your area

    Real Actions

    Action: Run the JavaScript Code
    Fire on Page load: Yes

    // Change 'Colon Val' in selector to heading of colon-containing column
    $("#apexir_CONTROL_PANEL_COMPLETE .fielddata a:contains('Colon Val like')")
      .each(function () {
        $(this).text($(this).text().replace('_', ':'));
      }
    );
    
  • Interactive report with 2 links

    I have an interactive report that was built of the application wizard when I import an excel spreadsheet.
    The report has a link change already who works. The information for this link seem to be in the attributes tab of report under the link column section. I need to add another link and found the code on the forum that I put below.
    The problem is the new column of link watch, but does not show the button, just all the code seen starting with the a href. Is there a syntax problem that anyone can see? Any contribution is appreciated. Thanks - Shelly.

    SELECT CASE WHEN (: A_ROLE = 'MASTER') THEN
    "" < a href = ""
    || ' f ? p = & APP_ID.:3: & SESSION. : & DEBUG. ::'
    || "P3_ID:
    ||  ID
    || ' > '.
    || "" "< img src =" #IMAGE_PREFIX #show.gif ' border = '0' > "
    || "< /a >."
    OF OTHER LINK_COL OF NULL TERMINATOR.
    "ID."
    "REFERENCE."
    "DESCRIPTION."
    "SPI"
    "HTS"
    "ECCN"
    "GRI"
    "SOURCEOTHER_INFORMATION,"
    'COUNTRY ', HE SAID.
    "INITIALS."
    'CHANGE_DATE '.
    of 'PARTS_CLASSIFICATION '.
    where
    NVL(PARTNUMBER,'@') AS (: P10_PARTNUMBER |) '%') escape ' @'
    and NVL(DESCRIPTION,'@') (: P10_DESCRIPTION |) '%') escape ' @'
    and NVL(SPI,'@') (: P10_SPI |) '%') escape ' @'
    and NVL(HTS,'@') (: P10_HTS |) '%') escape ' @'
    and NVL(ECCN,'@') (: P10_ECCN |) '%') escape ' @'
    and NVL(GRI,'@') (: P10_GRI |) '%') escape ' @'
    and NVL(SOURCEOTHER_INFORMATION,'@') (: P10_SOURCEOTHER_INFORMATION |) '%') escape ' @'
    and NVL(COUNTRY,'@') (: P10_COUNTRY |) '%') escape ' @'
    and NVL(INITIALS,'@') (: P10_INITIALS |) '%') escape ' @'

    Hello Shelly,

    The post does not show the code you used, so I can't say if there is a syntax error.

    However, you must first check on report of the attributes, the LINK column shows like the "Standard report column" instead of "show as text (escape special characters).

    Andy

  • Clickable links in interactive reports

    Hello

    I have problems trying to show clickable links in an interactive report.

    For example, if the display text is something like: https://mymachine.abc.com:1158 / em.

    How the hell can I do that clickable in the report?

    When I say 'on Earth', it might suggest that I tried a lot of different things - and I! including copy exactly the formats of the different links of the Oracle document management example - but who don't use regions containing interactive reports.

    Thank you!

    Indeed, it is the other option.
    If you get the HTML tags in your IR columns, check the "display text like" in this column. Must be set to "Column in report Standard" and not "display text (escape...". »

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

  • How to add the link change in the detail view of the interactive report?

    Hello

    I use APEX 5.0 on 11g XE.

    I have an interactive report displaying multiple records with a column of link which is one of to an edition for the registration page. All the standard stuff 'wizard generated. I have also created a layout of the detail view. It all works very well.

    However. I want IR to show detail discovers all the time and hide all Toolbar IR. How can I show the link change in the detail for each record view?

    Y at - it an easy way to do this by adding a column reference (something like: #LINKCOLUMN #?) or do I need to create it manually with an < a href... > tag. I guess that this method would require me to generate a checksum with apex_util.prepare_url?

    Nick

    Nick4 wrote:

    Good point. I agree, however, I want to keep it as an interactive report that I must keep my options open as showing the data... every customer is different, I can change my mind.

    Other options are available for this. Compilation options to be exact... create IR and parts of standard report and determine who gets deployed by setting the build on the export options.

    I was hoping there was an easy way to display the IR link column in the detail view, but looks like I need to create one manually in the HTML "for each line" in the detail view section.

    It works, but no checksum complains...

    EDIT

    So have added as a column in the query:

    APEX_UTIL. URL PREPARE_URL('f?p=&APP_ID.:14:&session.::no::P14_CONTACT_ID:#CONTACT_ID#:', NULL, 'SESSION')

    and this for the HTML:

    But the URL is always wrong... #CONTACT_ID # always ends after the checksum...?

    You are mixing HTML/model and SQL syntax. #CONTACT_ID # does not substitute for CONTACT_ID value in the query. The column value should be included in the URL before calculating the checksum:

    ...
    apex_util.prepare_url('f?p=' || :app_id || ':14:' || :app_session || '::NO::P14_CONTACT_ID:' || contact_id, NULL, 'SESSION') url
    ...
    

    Note that substitution integrated always strings need to be referenced as bind variables in SQL to avoid unnecessary analysis.

  • Interactive report conditional forwarding using the link in the column?

    Hi all

    I use APEX 4.2. We have an interactive report as an overview, we are the column standard link (with the pencil symbol) to go to a form of details.

    Currently, we introduce the user permissions to our application. In accordance with these permissions, not all objects contained in the report can be changed by a user. I made a copy of the form that is set to read-only and eliminated all the buttons.

    My question is: is it possible to redirect conditionally to the form (page 301) or reading one page (10301) according to the permissions of the user? And if I can change the symbol in the column link depending on the permissions this way? Any help would be appreciated. Thank you!

    Birgitt

    I got it! With 2 hidden columns and a column containing the link and icon. First, I created a table where I store my frm pages - and unalterable (afp and arp) according to the dev_class. PERM is the colum where I get 1 (authorized) or null. This column contains the link and the icon later in my report. Then I built columns hidden in my opinion like this:

      CASES WHERE the afp IS NOT NULL THEN
         -CASE perm WHEN = 1 THEN ' f? p ='|| v ('APP_ID') | ': 301 :'|| v ('SESSION'): ':YES:301:P301_DT_ID, P301_DT_ID_4_HIST, P301_DEV_CLASS, P301_DEV_SUBCLASS :'|| v.dt_id | ',' | v.dt_id | ',' | v.DC_ID | ',' | v.DSC_ID
         -ELSE ' f? p ='|| v ('APP_ID') | ': 10301 :'|| v ('SESSION'): ':YES:10301:P10301_DT_ID, P10301_DT_ID_4_HIST, P10301_DEV_CLASS, P10301_DEV_SUBCLASS :'|| v.dt_id | ',' | v.dt_id | ',' | v.DC_ID | ',' | v.DSC_ID
         CASE perm WHEN = 1 THEN ' f? p ='|| v ('APP_ID') |': ' | AFP: ': ' | v ('SESSION') |': YES :'|| AFP |': P' | AFP | "_DT_ID, P' | AFP | "_DT_ID_4_HIST, P' | AFP | "_DEV_CLASS, P' | AFP | ' _DEV_SUBCLASS :'|| v.dt_id | ',' | v.dt_id | ',' | v.DC_ID | ',' | v.DSC_ID
           ELSE ' f? p ='|| v ('APP_ID') |': ' | ARP: ': ' | v ('SESSION') |': YES :'|| ARP |': P' | ARP | "_DT_ID, P' | ARP | "_DT_ID_4_HIST, P' | ARP | "_DEV_CLASS, P' | ARP | ' _DEV_SUBCLASS :'|| v.dt_id | ',' | v.dt_id | ',' | v.DC_ID | ',' | v.DSC_ID
         END
       ANOTHER NULL
      END show_link
      CASES WHERE the afp IS NOT NULL THEN
         CASE perm WHEN = 1 THEN ' menu/pencil2_16x16.gif.
            ELSE 'calmag.gif '.
         END
       "1px_trans.gif" - NOTHING ELSE
      END show_icon

    To the link column, I added the following HTML Expression:

    Thanks for your help!

    Birgitt

  • Using a variable db link for interactive report

    I have a requirement where users select an instance a LOV apex (link db) and data in an interactive report query based on the selected db link.

    I use a db link in a report query interactive but only if I provide the exact name of the binding. If I'm doing something link select * from foo@:P12_DBLINK it does not work.

    It seems that my only option is to use something like apex_collection.create_collection_from_query and then I can build my dynamic SQL query and use a variable for the name of dblink. Then I create just a from IRR of my collection.

    This sound correct approach like that or am I missing something?

    Any suggestions are most appreciated,

    John

    Hi John,.

    Why not create a classic report based on a function of PL/SQL returns a query.

    André

Maybe you are looking for