Aex: dynamic url - need to pass corresponding column values to external url

Hi All,
I have created a report in which am trying to click on a column link which is a external url. In the url, part of column value needs to be passed as ID.
Example: Report
Name ID     Dept     Details
King     FIN3413900     Finance     Link
James     ACC3445812     Accounts     Link
So when I click on Link it should take me to the page : (See below example)
Display image for BLOB  Download link in Interactive Report (For King)
Conditional regions (For James)
MessageID is no from the column ID. (FIN3413900). Hence it needs to be passed corresponding to the row clicked.
Common link is http://forums.oracle.com/forums/click.jspa?searchID=-1&messageID= (Only the number is derived directly from column ID).
I hope the requirement is clear. If any clarifications required let me know.
Please help me out with the possible solutions....Thanks in Advance....
Regards,
Vinoth

Hi,
Go to the Report Attributes of your report. The column you have defined for the column link click on the edit icon. In the Column Link section choose target URL and in the URL field enter :-
http://forums.oracle.com/forums/click.jspa?searchID=-1&messageID=#ID# Where ID is the name of the column that holds the FIN3413900.
Hope that makes sense :o)
Regards
Paul

Similar Messages

  • Unable to pass report column value to url in select statement. Please help

    Hi all,
    I am trying to pass the report column value as follows:
    select key, num,
    case when Attachmentcnt(KEY) != 0 then
    'f?p=&APP_ID.:91:&SESSION.:'' '':NO::P91_KEY,P91NUM,P91_PREVPG:'And I am passing values as follows:
    {noformat}
    '#KEY#,'#NUM#','9' ELSE null
    END Attachment
    from tableA
    {noformat}
    But, I am not able to figure out correct sysntax to pass these column values. Can anyone give me some help. I appreciate it.
    rgds,
    Suma.
    Edited by: sumak on Jun 23, 2009 12:11 PM
    Edited by: sumak on Jun 23, 2009 12:22 PM

    Suma,
    If you're trying to generate a column with a URL, try something like the following:
    select key, num,
    case when Attachmentcnt(KEY) != 0 then
    'f?p=&APP_ID.:91:&SESSION.:'' '':NO::P91_KEY,P91NUM,P91_PREVPG:'
    || tableA.key || ',' || tableA.num || ',' || :P91_PREVPG
    else NULL
    end
    FROM tableA;
    But the best way to pass these would include checksum values against the values of your parameters (to make sure a user doesn't hack them). You'll need to check the Apex User manual for details - See "Understanding Session State Protection".
    Good luck,
    Stew

  • How to pass session variable value with GO URL to override session value

    Hi Gurus,
    We have below requirement.Please help us at the earliest.
    How to pass session variable value with GO URL to override session value. ( It is not working after making changes to authentication xml file session init block creation as explained by oracle (Bug No14372679 : which they claim it is fixed in 1.7 version  Ref No :Bug 14372679 : REQUEST VARIABLE NOT OVERRIDING SESSION VARIABLE RUNNING THRU A GO URL )
    Please provide step by step solution.No vague answers.
    I followed below steps mentioned.
    RPD:
    ****-> Created a session variable called STATUS
    -> Create Session Init block called Init_Status with SQL
        select 'ACTIVE' from dual;
    -> Assigned the session variable STATUS to Init block Init_Status
    authenticationschemas.xml:
    Added
    <RequestVariable source="url" type="informational"
    nameInSource="RE_CODE" biVariableName="NQ_SESSION.STATUS"/>
    Report
    Edit column "Contract Status" and added session variable as
    VALUEOF(NQ_SESSION.STATUS)
    URL:
    http://localhost:9704/analytics/saw.dll?PortalGo&Action=prompt&path=%2Fshared%2FQAV%2FTest_Report_By%20Contract%20Status&RE_CODE='EXPIRED'
    Issue:
    When  I run the URL above with parameter EXPIRED, the report still shows for  ACTIVE only. The URL is not making any difference with report.
    Report is picking the default value from RPD session variable init query.
    could you please let me know if I am missing something.

    Hi,
    Check those links might help you.
    Integrating Oracle OBIEE Content using GO URL
    How to set session variables using url variables | OBIEE Blog
    OBIEE 10G - How to set a request/session variable using the Saw Url (Go/Dashboard) | GerardNico.com (BI, OBIEE, O…
    Thanks,
    Satya

  • Can be passed Formula Column value to Procedure/Function?

    Below cf_value is return after some calculation by using main query.
    Can be directly passed formula column value to procedure without assinged to placeorder?
    as below..
    f_convert(:cf_value,new_value);
    My Procedure is...
    PROCEDURE f_convert( val1 in number,val2 in out number) IS
    BEGIN
    val2 := val1 * 100;
    END;
    If anyone knows pls reply me....

    Actually, if there is any other calculations there (In Proceudre)
    Can I used is as below??
    PROCEDURE f_convert( val1 in number,val2 in out number) IS
    BEGIN
    val2 := val1 * 100;
    return (val2);
    END;
    ----A procedure cannot return a value, the return clause in my previous post was part of the function for formula column.
    Suppose you have a formula column say CF_2 then the function for it will be as:
    function cf_2formula return number
    is
    val1 number;
    val2 number;
    begin
    val2 := :cf_1 * 100; -- or val2 := val1 * 100 --parameters not allowed in formula column function
    -- All the other code that you need inclusive of calling function, procedure as in any PL/SQL block can be placed
    return (val2);
    end;So any other calculation can be used in the formula column function

  • Dml error logging: can we pass source column values to ora_err_tag$

    Hi Experts,
    We can set ora_err_tag$ values while implementing dml error logging feature.
    Can we pass source column values to ora_err_tag$ field of error table?
    Thanks,
    Dhiraj

    F5wrong forum
    Philip

  • Dynamically passing the Columns values

    HI all,
    I am trying a pl/sql block which which take a string and execute it dynamically. Suppose below is string
    M_COL := Q'[(P_CODE=> ':DEPTNO',P_CODE_TYPE => 'STATE')]';
    Now trying to execute it. using below
    M_STR := 'SELECT CHK_DEPT' || M_COL || ' FROM EMP WHERE EMPNO=''7499''';
      EXECUTE IMMEDIATE M_STR
        INTO M_DATE;
    Now what i want is M_STR vairable to executed as
    SELECT CHK_DEPT(P_CODE=> DEPTNO,P_CODE_TYPE => 'STATE') FROM EMP WHERE EMPNO='7499'
    instead of
    SELECT CHK_DEPT(P_CODE=> 'DEPTNO',P_CODE_TYPE => 'STATE') FROM EMP WHERE EMPNO='7499'
    other in other way in parameter P_CODE Column value of DEPTNO should be passed.Also note that DEPTNO column in string M_COL is Dynamic.i.e
    M_COL := Q'[(P_CODE=> ':DEPTID',P_CODE_TYPE => 'STATE')]'; OR
    M_COL := Q'[(P_CODE=> ':EMP_ID',P_CODE_TYPE => 'STATE')]';
    Any suggestions, Please share with me.

    ibney 
    Actually you can use it by using the EMP and DEPT Table. If you Require EMP and DEPT tables structure and data, then let me know.
    Function which i created is below.
    CREATE OR REPLACE FUNCTION CHK_DEPT(P_CODE NUMBER,P_CODE_TYPE VARCHAR2) RETURN VARCHAR2 IS
      M_NAME DEPT.DNAME%TYPE;
    BEGIN
      FOR I IN (SELECT DNAME FROM DEPT WHERE DEPTNO = P_CODE) LOOP
        M_NAME := I.DNAME;
      END LOOP;
      RETURN M_NAME;
    END;

  • Passing IR column value to Oracle package

    All,
    I am trying to call an Oracle package from APEX and need to pass value of a IR column in that package. I have tried saying :ADJ_ID but i dont think so its pasing anything to backend.
    Here are steps.
    1. User runs IR
    2. There is a column that I have put as 'ROLLBACK' on that report for each row which has a LINK which calls URL like
    javascript:apex.confirm('Sure to Rollback the adjustment?','SUBMIT');
    3. Once user confirms submit , I need to call package, package gets called but I want to send a value for that row to package, I am doing that by saying :(colon) notation but it does not work.
    Thanks,
    Vishal

    You will have to set you page item (which you are trying to pass using the colon method in PLSQL) first
    You can change your link to
    *javascript:apex.confirm("Sure to Rollback the adjustment?", { request:"SUBMIT", set:{"P1_ROW_VALUE":10}});*
    P1_ROW_VALUE is the Page item to set and 10 here is the value specific to the ROW
    If you are using the Link section in the report attributes
    then something like this would do
    *javascript:apex.confirm('Sure to Rollback the adjustment?', {request:'SUBMIT',   set:{'P1_ROW_VALUE': '#COLUMN_ALIAS#' }});*
    COLUMN_ALIAS is the column name whose value you want to set the item with.
    Edited by: 814948 on Nov 23, 2010 8:46 AM

  • How to pass custom column value that is created in Answers to its detail report

    Hi,
        I have a custom column (in the below ex: 'Aging') which is calculated based on prompt date and arrived at the below aging buckets. I have a drill report from 'Balance' column. When I click on 100/200/125 corresponding 'Aging' value should be passed to the detail report.
    Aging
    Balance
    0-30 days
    100
    31-60 days
    200
    61-90 days
    125
    Tried putting the 'Aging' formula in detail report and make it 'is prompted' - no luck.
    Is creating the logic in RPD with a request variable (to pass prompt date) only option to  solve this? Any suggestions?
    Thanks in advance and a very happy new year.

    Finally, we used a request variable and handled this in RPD.

  • How to pass report column value

    I'm trying to implement a AJAX report pull from one of the response on this forum. The report column calls the following javascript function below. The #COL2# values are dotted values like 10.2.3.5.6. The function passes values correctly passed if the values are without special characters. I tried to put the value 10.2.3.5.6 in escape(10.2.3.5.6), but didn't work. Any ideas to pass this value in javascript encode/decode way is appreciated.
    javascript:GetReport(#COL02#)
    thanks,
    Surya

    Hello Surya,
    >> I have put an example on APEX site …
    This is indeed the best and fastest way to get help.
    >> but the third version value "1.2.3" fails to display …
    String parameters should be encapsulated with single/double quote signs.
    Your first two rows could have been considered as numbers, so the systems let them pass. The third one – 1.2.3 – is not a number, but you didn’t mark it as a string.
    I changed your code to the following:
    javascript:GetReport_r1('#COL01#');And now it’s working as you need.
    General remark: I saw in your report page that you are using the “Generic Column Names”. Just so you know, this not is the optimal choice. If you don't have to use it, you should use the first option of “Query Specific Column name”. If you have to use generic columns, try to minimize the number as close as you can to the real number of columns, and not just to default of 60.
    Regards,
    Arie.

  • Oracle report problem-Passing a column value from a query block to another

    Hi I am facing a problem in oracle reports.
    I have 3 query blocks say Q1,Q2 and Q3.
    From Q1 I get a tblkey coulmn and for each value of tblkey I need to pass it on to Q2 which gives me a status and now finally Q3 will take tblkey and status to give me final output.
    Can somebody please tell me how I can do it?
    Thanks,
    Avin

    Depending on your report requirement, you may do a join of Q1, Q2, and Q3; or keep all Qs and for Q3 use subqueries ...
    Select ... from ... where tblkey, status in (
    select tblkey, status from ... where tblkey in (
    select tblkey from .... where .... ) )
    Good luck.
    DC

  • How to pass a form value  as a url parameter??

    I have following form and I want to pass the selected value of the drop down choice in as one of the parameter in the URL. How can I do that ??
    something like proposalid that I have done in the url, I want to pass the selected value of the variable doc_id, when I click the Link button
    <form name = "link" method="POST" enctype="multipart/form-data" action="<%= request.getScheme() %>://<%= request.getServerName() %>/webAppCore/common/add_doc.jsp">
    <table>
         <tr> <td class="tableContent"> Doc Identifier: </td>
    <td class="tableContent"> <SELECT name="doc_id">
    <%
         Vector v = iddata.getDocumentIdList(tabName);
         //out.println(v);
         if (v != null && v.size() > 0) {
              for (int i = 0; i < v.size(); i++) {
              Hashtable hash = (Hashtable) v.elementAt(i);
    %>
    <OPTION selected name="id " value="<%=(String)hash.get("DOCUMENT_ID")%>"> <%=(String)hash.get("DOCUMENT_NAME")%></OPTION>
    <% } } else {%>
         <OPTION selected name="id " value="test"> No DocIDs</OPTION>
    <%}%>
    <tr> <td colspan = "2">
         <table border="1" width="200">
              <tr> <td> <input type="text" name="link_file" size="30" value=""/></td><td> <INPUT TYPE=button VALUE="Link..." onClick="window.open('<%= request.getScheme() %>://<%= request.getServerName() %>/webAppCore/common/link.jsp?proposalid=<%=proposalID>','mywindow','toolbar=no,location=no,directories=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=400,height=300,left=20,top=20');"></td> </tr>
              <tr> <td colspan = "2">
                   To Create Links: <br>
                   * Select Doc Identifier
                   * Click on Link...to select file within eFile. <br>
                   * Click Add to create the Link <br>
              </td> </tr>
         </table>
         </tr>

    if - in your form declaration - you change your method to GET from POST, it will append the form data onto the URL string instead of putting it in the request header. For instance, if you have a form with an input called THE_INPUT, and you submit to a servlet (or script of some kind or whatever) when the value of that text box is "foo", the URL will be:
    http://www.yourdomain.com/yourservlet?THE_INPUT=foo
    But, if you use the POST method, the URL will just be:
    http://www.yourdomain.com/yourservlet
    Is that what you meant?

  • How i pass table column  value to string variable or return to java applete

    Hi Master,
    How do I pass a table column value into string variable. See my code below:
    import java.sql.*;
    public class Waheed {
    public Waheed() {
    public static void main (String args [])
    String s = "9 23 45.4 56.7";
    System.out.println ("going for connection");
    // DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
    try{
    Class.forName("oracle.jdbc.driver.OracleDriver");
    Connection conn =
    DriverManager.getConnection("jdbc:oracle:thin:@fahim:1521:aamir","muhammad","mfa786");
    Statement stmt = conn.createStatement();
    ResultSet rset = stmt.executeQuery("select accid from accbal");
    System.out.println ("going for connection");
    while (rset.next())
    s= rset.getString("accid"); this line give me error
    System.out.println (rset.getString("accid"));
    System.out.println (s);
    catch(Exception e){
    e.printStackTrace();
    This line give me an error:
    s= rset.getString("accid");
    s is string variable
    Plese give me an idea how I can pass accid in s variable.
    Thanks.
    Aamir

    See the code sample in the following thread (try using upeercase).
    JDBC  connection
    Kuassi

  • Need to update corresponding columns in details table

    Hi,
    I have a header and lines table.
    In header table we have a comments field, requirement is whenever someone is updating comments in header it should update lines comment column as well.
    I tried using fire action on Comments field like as soon as user is entering something in Comments field I am capturing that event and firing and update statement for lines table
    but the problem here is, if user enters the comments and doesn't save it at header level it stills fire an update statement in lines and updating the comment field of lines table.
    I need to update header comments in lines level at Apply button.
    Please someone suggest something.
    Best Regards
    Ragni Gupta

    Hi Gurus/Expert,
    Please suggest something, its really urgent!!
    Thanks
    Ragni Gupta

  • Unable to pass  presentation variable value to Go url with narrative view

    I am trying to use navigate option of Go URL. I have Dashboard prompt with presentation variable (pv)defined. I am able to see the pv value in compund view but unable to see in Narrative view. Any thoughts?

    Check my blog entry here http://oraclebizint.wordpress.com/2007/11/26/oracle-bi-ee-101332-same-page-navigation-drills-and-passing-parameters/. It has an example.
    Thanks,
    Venkat
    http://oraclebizint.wordpress.com

  • Report columns not exported to excel if the column values are links(URLs)

    Hi Friends,
    I am facing this weird situation in my development environment at work using Apex 3.1.2.00.02.
    There is this report where I am using this huge query below to show the statistics of various file loads.
    SELECT f.load_date "Load Date",
           c.cust_name "Customer",
           a.file_id "File ID",
           f.rec_count "Total Records Processed",
           a.success "Successful Records",
           a.file_translation_errors "Customer Validation Errors",
           a.data_referential_errors "CS Validation Errors",
           a.no_activity_type_assigned "No Activity Type Assigned"
      FROM (SELECT   file_id,
                     NVL (MAX (success), 0) success,
                     NVL (MAX (file_translation_errors), 0) file_translation_errors,
                     NVL (MAX (data_referential_errors), 0) data_referential_errors,
                     NVL (MAX (no_activity_type_assigned), 0) no_activity_type_assigned
                FROM ((SELECT   file_id,
                                COUNT (*) success,
                                NULL file_translation_errors,
                                NULL data_referential_errors,
                                NULL no_activity_type_assigned
                           FROM ah_activity_external
                          WHERE status_id IN (43, 53)
                       GROUP BY file_id)
                      UNION
                      (SELECT   file_id,
                                NULL success,
                                COUNT (*) file_translation_errors,
                                NULL data_referential_errors,
                                NULL no_activity_type_assigned
                           FROM ah_cust_gis_arch
                          WHERE status_id IN (1, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 22, 23)
                       GROUP BY file_id)
                      UNION
                      (SELECT   file_id,
                                NULL success,
                                NULL file_translation_errors,
                                COUNT (*) data_referential_errors,
                                NULL no_activity_type_assigned
                           FROM ah_cust_gis_arch
                          WHERE status_id IN (24, 15, 16, 17, 18)
                       GROUP BY file_id)
                      UNION
                      (SELECT   file_id,
                                NULL success,
                                NULL file_translation_errors,
                                NULL data_referential_errors,
                                COUNT (*) no_activity_type_assigned
                           FROM ah_activity_internal
                          WHERE status_id IN (26, 31)
                       GROUP BY file_id))
               WHERE file_id IN (
                        SELECT file_id
                          FROM ah_chain_file
                         WHERE chain_id = :p2_customer
                           AND load_date BETWEEN :p2_load_start_date AND :p2_load_end_date)
            GROUP BY file_id) a JOIN ah_chain_file f ON (    a.file_id = f.file_id
                                                         AND f.file_default = 'N')
           JOIN ah_chain c ON (f.chain_id = c.chain_id)In the above query I have made the following columns as links which would redirect to other pages showing the respective records.
    1) "Successful Records"
    2) "Customer Validation Errors"
    3) "CS Validation Errors"
    4) "No Activity Type Assigned"
    Also I have enabled CSV output under "Report Export"
    Now the issue is when I downloaded this entire report into spreadsheet, only the non-url columns are being exported.
    I have even made sure that "Include In Export" under Column Attributes is set to YES.
    I tried to reproduce this issue using Dept & Emp tables but it seems to be working there.
    I don't know if it is the query which is causing this issue or a genuine Apex bug.
    Hope someone might have faced some thing like this earlier.
    Appreciate your thoughts on this.
    Thanks,
    Raj.

    Raj,
    see if this helps you:
    http://apex.oracle.com/pls/otn/f?p=31517:22
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

Maybe you are looking for

  • Runtime exception for configurable products

    Hi Gurus, I am getting a runtime exception for configurable products on clicking the link You can select more product options in CRM 7 b2c application . But when i login with a registered user and click the same link , it opens up and takes to the pa

  • Call Adapter Error

    Hello everybody, I have a synchronous scenario ABAP Proxy->XI->RFC, the reason why we used XI it's beacuse by company politics any systems integration needs to go by SAP XI, and the reason why we used RFC in the receiver system it's because by compan

  • Movies stop playing

    This is only my second project using Director (MX2004) - and I am having a problem with AVI Video playback. Normally I create some buttons and when a user selects a button I jump to a marker and play a video. So I dont have to account for all of the

  • MSI H97 GAMING 3 Intel H97 With 2GB Asus GTX 760 DirectCU

    ust built my pc got it working with onboard grapics when i plug the dvi into the graphics card i get no display the HDD has a fresh install of windows 7 i haven't installed any drivers for the mobo or the GPU, im also using a fairly old VGA monitor a

  • Can I change the Power button to turn on the screen

    Is there anyway you can re-assign the power button to something else like touching the screen to turn it on when the screen is off.  I have mu Z2 in a leather case and I have to use my fingernail to push the button as the case makes it very hard to p