Linking report column to open a webpage

Hi All,
Need a sincere help. I have a table TAB_ARC. In which i have columns
ID
PART_NUM
LINK_TO_PART_NUM (Its a hyperlink)
I have made report and form on same. I am inserting PART_NUM and LINK_TO_PART_NUM (which is a web link respective to the PART_NUM) in the from which is updating my TAB_ARC table.
In the report i am having ID and PART_NUM displaying. I want to link the PART_NUM with my LINK_TO_PART_NUM so that whenever i click the any PART_NUM it opens a new page with the link of LINK_TO_PART_NUM
Hope to get reply from you all as it is urgent.
Regards
Edited by: User_Apex on Apr 26, 2011 2:23 AM

As discussed in +{message:id=9543583}+, use column substitutions in the Link Text and URL properties. In the column attributes for PART_NUM, use <tt>#PART_NUM#</tt> as the Link Text and <tt>#LINK_TO_PART_NUM#</tt> as the URL. Set the LINK_TO_PART_NUM column definition Display Type to "Hidden".
Haven't you completed the <i>2 Day + Application Express Developer's Guide</i>?

Similar Messages

  • Display the second report as modalform and filter with primary key value of first report when you click on first report column link

    Hi All,
    I have two reports.
    1. order report
    2. order detail report
    when you click on the order report column it display the order detail report as a modal form.
    i was done below steps.
    1. In page header i was written the below code
    <link rel="stylesheet" href = "http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/
    redmond/jquery-ui.css" type="text/css" />
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"> </script>
    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js"> </script>
    <script type="text/javascript">
    $( function() {
    $('#ModalForm1').dialog(
    autoOpen : false ,
    width :470,
    height: 500,
    resize :false,
    function openForm1()
    $('#ModalForm1').dialog('open');
    function closeForm()
    $('#ModalForm1 input[type="text"]').val('');
    $('#ModalForm1').dialog('close');
    </script>
    2. order report.
    3. order detail report
       select * from order_details where order_id = p_order_id;
    region header
    <div id="ModalForm1" title="Ordered Items" style="display:none">
    <p class="msg"></p>
    footer
    </div>
    4. created the hidden item in order detail report.
    5. in order report column attributes i was given link like below.
    javascript:$s('p_order_id','#order_id#');openForm1();
    when i click on the order report column link it passing the row primary key value to hiddent and open the report as modal form. however it is not filter the report with hidden item. it showing the no data found.
    problem is hidden item value is not submitting. once we submit that value it showing the 2nd report with filter data.
    can any help me to achieve above requirement.
    apex: 4.2
    oracle 11g
    Regards,
    Vijay.

    Vijay,
    Issue 1: Your usage of $s() JavaScript API seems to be wrong. For the first parameter, you need to use the name of the hidden page item and not p_order_id.
    javascript:$s('P1_ORDER_ID','#ORDER_ID#');openForm1();
    Issue 2: Seems like you are not setting the hidden page item's value in session state. Assuming your hidden page item is called P1_ORDER_ID, Under "Region Definition" tab of your "Order Detail Report" under "Source" tab, for page items to submit, enter the name of the hidden page item P1_ORDER_ID.
    Thanks!
    JMcG

  • Passing parameter from interactive report column link to new page

    I'm very simply trying to pass the value of the column link to the where clause on the next page.
    Interactive Report on P2 has column link fid alias in sql query.
    I read somewhere to refer prefix the interactive report column with IR ??
    So I have item name P2_FID, value #FID#. Anyway, I've tried a kazillion things.
    Created a hidden item with same source value... sigh.
    Is there a syntax to refer to a report column link, rather than an item_id in a region where clause?
    Is there a simple direct way to do this?
    Thanks,
    Pamela
    -----pls/apex/f?p=163:1:2746459963336955::NO::P2_FID:119

    Thank you Varad...
    Unfortunately, I am still getting no data found. (and there IS data).
    a) Do you mean in the link column section of the report attributes? that is done: item 1 name= IR_P2_FID, value = #FID#
    b) Do you mean my changing my hidden page item to ir_p2_fid with its source value as #FID# ? also done.
    Do I need this hidden item?, and if not how do I refer to link in the where clause of the called page's sql region?
    3) Where Fishery_id = :IR_P2_FID
    Where Fishery_id = &IR_P2_FID
    Thanks again!
    Pamela

  • Column link - call java script & assign current report column value to item

    Hi,
    How to call java script and assing current report column value to item?
    I have a button column in the report to 'delete' the selected row.
    I want to first show dialog box with message 'Are you sure?'. If yes, process to delete
    will be executed, else no action.
    In order to fire JS, I used Column Link ->Target=URL.
    Problem: The alert is showing but I don't know how to pass selected row's primary
    key value to process (to delete selected row).
    I have a item which can be used to store selected primary key value but don't know how to assign the value
    when button pressed.
    Thanks in advance
    Dip

    Ok. The issue has been resolved by following way.
    PAGE PROCESS: delete_request
    begin
    delete xyz
    where id = :P8_id;
    commit;
    end;BUTTON URL:
    javascript: DelRec(null,'CREATE', 'f?p=&APP_ID.:8:&SESSION.:delete_request:NO::P8_id:#id#');Java Script:
    <script language="JavaScript1.1" type="text/javascript">
    function DelRec(msg, req, url){
    var confDel = msg;
    if(confDel ==null){
    confDel= confirm("Are you sure?");
    }else{
    confDel= confirm(msg);}
    if (confDel== true){
    redirect(url);           }
    </script>

  • How to hide or add columns to a linked report in SSRS 2014

    Hai All,
    I have a report deployed on a server. And I created a linked report to it into another folder. Now I can actually manipulate on parameters of the linked report through Report manager but I have to hide some columns when displaying the linked report. Is there
    a way to show or hide the columns on the Linked report.
    Regards,
    Rajesh

    Hi,
    This is a  SQL report designing issue, with report builder we should be able to change the visibility of a column. Reports that deployed to
    report manager can be edit by report builder, we may save it after edited.
    Please check the article below:
    Column Visibility Dialog Box (Report Builder)
    https://msdn.microsoft.com/en-us/library/dd207071.aspx
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Referencing report columns in the BLOB download link format mask

    Hi there,
    In a basic report (Apex 4) I have a link to download a BLOB stored in the table. However to save space, instead of using 2 columns, one for the file name and one for the download link, I want to use only one column where the file name is the download link itself.
    To do this, I tried using this download link format mask (ATTACH_FILENAME is the report column that contains the file name):
    DOWNLOAD:ATTACHMENTS:ATTACH_BLOB:ATTACHMENT_ID::ATTACH_MIME_TYPE:ATTACH_FILENAME:::attachment:#ATTACH_FILENAME#
    However it shows #ATTACH_FILENAME# in all rows instead of the actual file name!
    I know that using substitution strings (&) works, so is there a way to also reference report columns in this format mask?
    Thanks
    Luis

    Luis, did you finally resolve this? I have the same question.

  • How to add a "custom" link to a report column

    I have a "Tasks" report that is based on a view. the view is a union of 2 tables: "Project tasks" and "Non-project tasks", each one of them has its own form to enter the data.
    I need to add a link from my report to to either form of the mentioned tables. So, if the task is project related, it should go to the "Projects Task" form, but if the task is no related to projects, the link should point to the second form.
    How can I accomplish that in Apex 4.0 ?
    Thanks

    The view has a column for project name, if it was a non-project task, the column is defaulted to "Non-Project"Add another column to the report query (or to the view if it's a Wizard report), based on that column:
    case project_name
      when 'Non-Project' then '201' /* Page ID of non-project task form */
      else '202' /* Page ID of project task form */
    end form_page
    ...Then add a link to the required report column as described above by Alan, setting the target Page attribute to <tt>#FORM_PAGE#</tt>, the Name attribute of the task ID parameter to <tt>P#FORM_PAGE#_TASK_ID</tt> (the form pages will need to take task ID parameters following this naming convention), and the Value attribute to the task ID column from the view.

  • Calling a .rdf report from a link on a apex report column

    Hi,
    I want to call a xxx.rdf report from a link on a apex report column.
    Can anyone help me on this ?
    Best regards,
    JCN

    Hi,
    Sorry - I should have read a bit further in your last post!
    The url variable that you're defining should just be the URL string that you want to create, so you only need the "http://........" part. There's also a + missing after the "&TODT..." string.
    The "DEA_PERMIT_ID=&G_PERMIT_ID." part at the end should have an & at the start to indicate a new parameter in the URL. Otherwise, &G_PERMIT_ID. would be replaced by the value stored in the session for the G_PERMIT_ID item (presumably that is an Application Item?).
    So:
    function callPopup()
    var url = "'http://snapper.accsp.org/reports/rwservlet?destype=cache&desformat=PDF&report=edr_landings_dollars_by_vessel.rdf&userid=evtr_report/chicken99@safis&FROMDT=" + $v("P810_FROM") + "&TODT=" + $v("P810_TO") + "&DEA_PERMIT_ID=&G_PERMIT_ID.";
    popupURL(url);
    }Andy

  • Call Javascript function to pass a id  from APEX report column link

    Hi,
    Can anyone help me, in a report column link i'm calling a function to pass an id and i want to onclick change a icon on that column based on the value on the column status of this table.
    Is this possible?

    Hi Ron,
    I am doing exaclty what you have suggested me but no luck. I started changing the DEMO_CUSTOMERS application to my requirements.The report is working fine and on the report I have created a page attribute to the Hyper linked column and linked that to the page 2 and assign that attribute with #JOBNUM#.
    I am able to pass that value on to form when I click on the JOBNUM. But the problem is I am not able to pass that value into the SQL query so that my query pulls 20+ columns on to the Form ( which is second page ).
    Small clarification... On the form region it is said FORM NAME and type is HTML is that is the way the APEX was designed or does it need to say region type as FORM.
    Thanks for your help in advance.
    Cheers,
    Krishna.

  • How to - link from HTML Region to Report Column?

    Dear Apex gurus,
    Ok, I'll go straight to my question. I have a file upload page with Report Region (conditional) which comes up after file uploading process. Under Report I have a column to delete uploaded file (column has an image in link, target in application, item name: P2_DELETE_ID and value: #DOC_ID#). Basically the Report picks up just uploaded file ID and allows me to delete the file by having Hiden Page Item (P2_DELETE_ID) and Before Header Process:
    BEGIN
    DELETE FROM EBA_ASSET_ORDER_TEMP_DOCS
    WHERE doc_id = :P2_DELETE_ID;
    END;with condition: Value in Expression 1 is Not Null, and Expression 1 set to:
    P2_DELETE_IDI have and another conditional Region (which is HTML) and it comes up after file uploading process as well. The region Source is:
    &lt;div id="FinalMessage">&lt;/div>
    &lt;br />
    &lt;div >&lt;a href="javascript:confirmFileDelete(htmldb_delete_message,'f?p=&APP_ID.:2:&SESSION.:REMOVE_ID:::P2_DELETE_ID:#DOC_ID#');">&lt;img >src="/i/delete.gif" style="position: relative; top: 1px;"/>Remove Uploaded File&lt;/a>
    &lt;/div>where id="FinalMessage" - is the Sucess/Error message from JS
    and .....href="javascript:confirmFileDelete....... - is my actual question. So, I am trying to hide my Report Region and show only my HTML region where I will be able using this (.....href....) link delete file from my table. I am able to dele file using report colum link but my .....href.... link dosnt want to delete my file, doen't even want to pick up file ID. Is there a way where I can link my .....href.... link to pull from Report Column????
    Thanks

    I am getting crazy now:
    It gives me an error message whan I am trying to add RETURN to my process, here is my process, seems to be fine and I can fined what is going on, may be I am blind:
    DECLARE
    n_size NUMBER;
    v_filename VARCHAR2(500);
    P2_FILE_INPUT VARCHAR2(1000) := v('P2_FILE_INPUT');
    BEGIN
    INSERT INTO EBA_ASSET_ORDER_TEMP_DOCS (DOC_ID, NAME, CONTENTS, mime_type, CREATED_ON, DOC_SIZE, FILENAME)
    SELECT ID, P2_FILE_INPUT, BLOB_CONTENT, mime_type, CREATED_ON, DOC_SIZE, FILENAME
    FROM apex_application_files
    WHERE NAME = P2_FILE_INPUT
    RETURNING DOC_ID INTO :P2_DELETE_ID;
    DELETE apex_application_files
    WHERE NAME = P2_FILE_INPUT;
    END;error:
    1 error has occurred
    ORA-06550: line 13, column 38: PL/SQL: ORA-00933: SQL command not properly ended ORA-06550: line 10, column 4: PL/SQL: SQL Statement ignored
    Edited by: Yasen® on Oct 5, 2009 3:28 PM

  • I just to open every Google searched link in ( new tab ) in same webpage , when i click the link

    hello sir/mam
    i just to open every Google searched link in ( new tab ) in same webpage , when i click the link
    what to do
    please replay
    thank you

    I am not sure what you want. Do you want to open links in a new
    tab / window, or the same window you are in?
    Type '''about:preferences#general'''<Enter> in the address bar.
    Check the settings under''' Tabs'''

  • SSRS 2008 : Open a linked report in a new window.

    Hi,
    How can I open a linked report, specified in the Action property, in a new explorer window?
    Thanks,
    Anurag

    Hi Anurag,
    If I understand correctly, you have used the "Jump to report" function to open a sub reoprt(linked report in your question). Now, you want to open the report in a new windows.
    By default, if using "Jump to report" function, the sub report will be opened in itself. That menas, it won't be opened in a new window.
    To open the sub report in a new windows, we can use the "Jump to url". Use JavaScript function "window.open" in the URL to open the reoprt in a new window:
    ="javascript:void(window.open('subreport name'))"
    Please feel free to ask, if you have any more questions.
    Thanks,
    Jin ChenJin Chen - MSFT

  • Since downloading Maverick, I cannot click to open new webpages from links in emails.I am not sure if there is a setting to change since the update

    When I am looking over an email and want to open a webpage, nothing happens when I click the link

    Select a default web browser in the General tab of the Safari preferences window.

  • Opening a webpage in a new TAB in OBIEE 11G

    I am working on Action Links in OBIEE11g where I am supposed to open a webpage in a new TAB from a report using Action Links. I am able to open the link in a new window but not in new tab. Is there any solution for this? Any help would really be appreciated!

    CSS will not help you at all (style sheet can make your link nice and colorful, but will not any impact on what the link does).
    JS is the same, it will not help you because tab/windows is subject to the user settings (JS works into the webpage, but has no control, luckily for all of us, on the browser itself).
    Srini VEERAVALLI gave you the answer, the same (just different place) is valid for FF or Chrome.

  • Link Report - Report with condition

    Hi,
    I want to create a link in a report row that opens some page if the column has a determined value and other page if the value has another value. In other words, depending on a column value the link should open page1 or page2 or page3.
    Is this possible to do?
    Thanks

    what url should I use, considering that I plan to
    deploy my application to other systems? Use whatever URL you were planning to use when you were going to do it declaratively in the Column Link section?
    If I use absolute url
    (http://myserver.com/pls/htmldb/f?p=102:1) it makes
    me change the code each instalation I do. Can I use aWhere is the URL coming from? From some data in that row? Then construct it accordingly. I really can't say much without seeing your full situation.
    relative path like f?p=102:1 ?Sure, all that has nothing to do with HTML DB. Relative URLs, as you know, will use the server/port from the currently loaded document.
    Another question: it seem that when using a link like
    http://myserver.com/pls/htmldb/f?p=102:1 the login
    session is lost, it presented me the login screen. Do
    know something about this?Quick suggestion: Try passing the &SESSION. also in the URL above because unlike v1.6, HTML DB 2.0 needs a session in every link otherwise it redirects to the login page.

Maybe you are looking for

  • My home share is not working i have tried everything it works on one computer but not the other help!

    I have tried uninstalling and reinstalling itunes i have tried messing with my avast and I cant get anything to work please help me! it works on another computer in the house but everytime i try to click on his library it says it loading his library

  • ZEN V.. A pain in the but

    Hey y'all,I just purchased a ZEN V mp3 player. I installed all the necessary programs to my computer, but when I go to ZEN V Series Media Explorer it tells me my device isn't connected to the computer, and it definitely is. Can anyone please help me?

  • Clone from standby  ended in ARC: Cannot archive online log based on backup

    Hi I m into scenario where my prod db is in one data center and standby is in other data center. Both are geographically separated. I have to get a copy of prod on to standby data center side. Sending data over the network is taking long time either

  • Modify Query with POR1

    I have a query that works fine......but i need add by item the sum of purcharse order (PO) in a same query....another column. I try for a while but i can not make it work..... The query give me sum per month of sales (in queantity) by item, then sum

  • Can I Create A B-Spline Curve and a NURBS Curve?

    Can I create A B-Spline curve and a NURBS curve in the Adobe Illustrator? If yes, how to do it? Also, how to create a breakpoint, that will add a new control point, on a curve, in Adobe Illustrator? Many thanks