Link in report region

Hi,
I have report region(type=sql query). In that report region i want to add a hyperlink(View all). When user clicks on the hyperlink it should bring them to another page. Can anyone help me in this issue. i am using apex4.0.

Where can i find button classIn the button template
Usually(depend's on the theme) redirect buttons template are link tags with some class that styles them like a button. Else you can create such a button template(by copying it from another theme) without any styling
For example a button template like
<a #BUTTON_ATTRIBUTES# class="" href="#LINK#">#LABEL#</a>would render the button like a plain link

Similar Messages

  • Cannot create link in report region!

    Hello Everyone,
    I have developed a region in Page 0 which holds the page items of a JQuery Dialog Box and javascript fuctions( dispAudit_p(), dispAudit_r()) to pass value between the page and the dialog box.
    Now! In my actual page i have a master detail page regions.
    I created a button in the master region which calls the dispAudit_p() function and works perfectly.
    In the detail region i modified the query to have a dummy column - i want this field as a link or an image which calls the function dispAudit_r().
    I tried the display element as Text Field for the dummy column and in the Element Attribute i called the js using onfocus, it just worked fine.
    But when i tried link column option it shows the dialog box but the values are "undefined".
    Please let me know hoe to solve this. The following is the JavaScript:
    <script type="text/javascript">
    $( function() { 
    $('#ModalForm').dialog(
    modal : true ,
    autoOpen : false ,
    buttons : { 
    Close : function() { 
    closeForm();
    function dispAudit_p (formItem1,formItem2,formItem3,formItem4)
    $('#ModalForm').dialog('open');
         document.getElementById("P0_CREATEDBY").value = document.getElementById(formItem1).value;
    document.getElementById("P0_CREATEDBY").disabled = 'true';
         document.getElementById("P0_CREATIONDATE").value = document.getElementById(formItem2).value;
    document.getElementById("P0_CREATIONDATE").disabled = 'true';
         document.getElementById("P0_LASTUPDATEDBY").value = document.getElementById(formItem3).value;
    document.getElementById("P0_LASTUPDATEDBY").disabled = 'true';
         document.getElementById("P0_LASTUPDATEDDATE").value = document.getElementById(formItem4).value;
    document.getElementById("P0_LASTUPDATEDDATE").disabled = 'true';
    function dispAudit_r(formItem1,formItem2,formItem3,formItem4,pThis)
    $('#ModalForm').dialog('open');
    var vRow = pThis.id.substr(pThis.id.indexOf('_')+1);
    document.getElementById("P0_CREATEDBY").value = html_GetElement(formItem1+'_'+vRow).value;
    document.getElementById("P0_CREATIONDATE").value = html_GetElement(formItem2+'_'+vRow).value;
    document.getElementById("P0_LASTUPDATEDBY").value = html_GetElement(formItem3+'_'+vRow).value;
    document.getElementById("P0_LASTUPDATEDDATE").value= html_GetElement(formItem4+'_'+vRow).value;
    function closeForm()
    $('#ModalForm input[type="text"]').val('');
    $('#ModalForm').dialog('close');
    </script>
    Edited by: John on Oct 17, 2011 3:26 PM
    Edited by: John on Oct 17, 2011 4:33 PM

    Where can i find button classIn the button template
    Usually(depend's on the theme) redirect buttons template are link tags with some class that styles them like a button. Else you can create such a button template(by copying it from another theme) without any styling
    For example a button template like
    &lt;a #BUTTON_ATTRIBUTES# class=&quot;&quot; href=&quot;#LINK#&quot;&gt;#LABEL#&lt;/a&gt;would render the button like a plain link

  • Adding and linking report region to a page with an existing report region

    I have page that has a report region. It is based on a master table.
    I want to add another report region to the same page for the detail.
    I have added the region of tpye HTML and entered the query in the source section.
    How do link this detail region with the master region. That is join the detail to query after the master based on the master row selected.

    This tutorial should help you:
    http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10497/rprt_drill.htm#CIHGBADI
    It shows how to do it using two pages, but putting both reports on one page is pretty much the same.

  • Show a report region only when link in other report is clicked

    Hi Friends,
    I am having 2 report regions.In my first report region i am having a column as a link. I want to show the 2nd report
    region only when the link in the 1st report region is clicked. There is a button in the 2nd report region i want to show
    that button only when the link in the first report is clicked.
    The code for my first report is
    select * from tasks;i have a link column task_id as
    f?p=&APP_ID.:10:&SESSION.::&DEBUG.::P10_TASK_ID:#TASK_ID#My 2nd report code is
    select * from task_details where task_id=:P10_TASK_ID;Plz help,
    Thanks,
    TJ

    Hi Andy,
    I tried this but having one problem. When i press a link the vaule of P10_TASK_ID is set and the 2nd report is shown.
    When i go to other page and come back to this page the 2nd report is showing even with out pressing the link this is
    because the value set for :P10_TASK_ID is still there. Where can i put the value back to null so that the 2nd report is
    not shown with our pressing the link in the 1st one.
    Thanks
    TJ

  • Make header links in PPR report region

    I have a tabular form, and for several headers, I created a popup help page, and call the popup with a javascript function in the header. The html for my headers in the Report Attributes is as follows: <p>
    &#60;a title="Click for RAC Explanation" href="javascript:RAChelp();"&#62;RAC&#60;/a&#62;<p>
    However, when I hover over the link, the following shows up on the info bar at the bottom of the browser:<p>
    javascript:html_PPR_Report_page(this,'R3784527397717439',javascript:RAChelp();')<p>
    So when I click the header, I get this error message:<p>
    Your browser sent a request that this server could not understand.
    mod_plsql: /pls/htmldb/f HTTP-400 Missing '=' in query string or post form<p>
    What the heck is going on? Is there a way to get around this or do I need to abandon using a PPR Report region for this tabular form?<p>
    thanks!

    PPR or not, the standard UI convention for clicking on a report heading is to sort by that column!
    Besides, unless you have enabled column header sorting by checking the Sort checkbox under Report Attributes, the column header is not even a clickable link, so I dont see how it would show that html_PPR... link.
    If you have enabled column header sorting, the #COLUMN_HEADER# substitution string in the report template automatically embeds the sorting link markup around the column header you specify. So, you cannot specify a A tag as your column header since that would nest A tags (not allowed)
    Note this has nothing to do with PPR, it is a (undesirable) interaction between column header sorting and your wanting to have column headers show your own help window.
    Simple solution: Just turn off column header sorting for those columns and you should be fine.
    Hope this helps.

  • 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

  • Classic report regions not executing queries after clicking in a chart link

    I have a chart region with a link to page passing values to select list items, but report regions are not loading.
    This is the link generated at chart series:
    f?p=106:32:1310398926027:::RP:P32_DATE_SELECT,P32_SERVICE,P32_RESOURCE,P32_ROLE_ID:09%2F02%2F2013,1,EDER%20ZAVALA,1
    All page items passed are filled correctly, but report regions don't show any data.
    Please notice I am using two LOV where second one is showing values according the first one selected and doing the submit event where report regions are showing the result of the queries executed.
    Report regions shows data when I do the select of page items manually, but not when I pass those values thru link url
    I am using Oracle APEX 4.2.2.00.11
    Please advise
    Thanks,
    Cesar

    hi Vishal,
    Due to our client policies; I can not upload data. are you able to join to a webex meeting? so I can share you my screen and see the current problem I am having
    Here for your comments
    Thanks,
    Cesar

  • SQL Report Region

    Hi,
    I am using apex 4.0.1 and I have a page with several SQL Report regions. The user can edit the data in the report regions by clicking a column that uses a href link to open a DML page in a modal window. The user can then amend some data in the modal window, press save which closes the modal window and uses the partial page refresh process to refresh the SQL report region. (Using apex.event.trigger('#SOME_REGION'),'apexrefresh')).
    If I navigate through the report to show rows 31-45 and then click on a href to edit a record. On pressing save, the report is refreshed but the rows displayed goes back to 1-15.
    How can I get the report to stay showing the rows 31-45?
    Cheers
    Paul.

    I believe this answers my question
    http://monkeyonoracle.blogspot.com/2010/11/refresh-report-region-and-pagination.html
    Edited by: pjturley on Jan 10, 2012 1:14 PM

  • Link in report with SSP enabled

    Hey everyone, I have a question here involving programatically generated links in reports from the sql query behind them. How do I make a link to the page (from the report's sql query) that will allow me to change the value of a hidden and protected item (P16_PERSON_CONTACT_ID) without having APEX Session State Protection get angry at me and still protect me from having the user muck with the URL?

    David,
    Well bind variables are more performant and safer to use in queries. It shouldn't really be a debate on when to use them, you always use them when you can. Here's a quick break down (not a complete list, and should probably be expanded, but should get you going)...
    Use bind variable syntax when you're referencing an item:
    1. In a report query
    2. In PL/SQL code that is stored in the application (as a page level process for example)
    Use substitution variable syntax when you're referencing an item:
    1. Outside of SQL and PL/SQL but still need the value - this is not always an option (in the HTML Header region of a page or title of a region for example)
    Use V and NV functions when you're referencing an item:
    1. In PL/SQL code stored outside the application (in a package for example)
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur
    Edited by: Dan McGhan on Apr 29, 2009 11:01 AM
    Replaced "database" with "application"

  • How to create a report region which the first colomn is row selector column

    I want to create a report region and its first column is a row selector column. I have used select sentence to select some columns. But I do not know how set the first column to row selector column. I mean I want to do as follow. When a radio which is first column is chosen, it will return it's value of the column in the chosen row. Please help me! Thanks

    Hi unnamed,
    Suppose you have an id that identifies your record.
    Go to Report definiton, tab report attirbutes.
    Select the id of your record.
    Create a link to the page you want to go to.
    Hope this helps.
    If not, I suggest you to create a from with report, and analyze the way the wizard has generated it.
    Leo

  • How to display the items in a Report Region

    Is it possiable to have the fields in a report region based on an sql query be display in somthing other than a row? For example if I have a Report Region with four columns it will look something like:
    <Field 1, row 1 value> <Field 2, row 1 value> <Field 3, row 1 value> <Field 4, row 1 value>
    <Field 1, row 2 value> <Field 2, row 2 value> <Field 3, row 2 value> <Field 4, row 2 value>
    <Field 1, row 3 value> <Field 2, row 3 value> <Field 3, row 3 value> <Field 4, row 3 value>
    etc
    Is it possiable to tell ApEx to display the Report Region like:
    <Field 1, row 1 value> <Field 2, row 1 value>
    <Field 3, row 1 value> <Field 4, row 1 value>
    <Field 1, row 2 value> <Field 2, row 2 value>
    <Field 3, row 2 value> <Field 4, row 2 value>
    <Field 1, row 3 value> <Field 2, row 3 value>
    <Field 3, row 3 value> <Field 4, row 3 value>
    etc
    Maybe there is a nother way to do this that uses somthing other than an sql based report region. Thanks very much for the help.

    This can be done using a SQL query report region with a [custom report template|http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/themes.htm#sthref1744].
    Unfortunately the documentation is not particularly helpful on this topic, and as use cases tend to be very specific, reusable solutions are rarely shared in the community ("custom" reports after all...) See [this thread|http://forums.oracle.com/forums/thread.jspa?messageID=1569996] for a good discussion of the technique, with a link to an example on apex.oracle.com.
    A response to [another recent thread|http://forums.oracle.com/forums/thread.jspa?threadID=1012690] showed another example on page 1 of the [Online Store demo app|http://www.oracle.com/technology/products/database/application_express/packaged_apps/packaged_apps.html#STORE], which you can download, install and examine. This uses a custom report template in conjunction with the report HTML Expression feature.
    (I'm not totally clear on the display you're after: it might help to repost it using some example data rather than the abstract <Field 2, row 1 value> approach. Wrap the sample in \...\ tags to get fixed width characters that can be made to align, if that will help.)

  • Current value of a column.row in a Report region

    Hi
    I have a report that I want to display a single row per page. No problem there. I also want to show, in a separate region below the value of two specific columns for that row (they are large text items that I want to show as text areas).
    My problem is how to have the source of the text area data items match the current report row above. What I want is sort of;
    SELECT TEXTFIELDNAME FROM TABLE WHERE KEY = value from column1 in the report above above (like the #EMPNO# notation when linking a report column to another page)
    Or maybe there is a better way ?
    Any pointers much appreciated.
    Jules

    Hi Jules,
    As always you've some options to achieve what you would like to do.
    If you know AJAX, you could do it that why, if not an "easier" why of doing it:
    1) Create an hidden item
    2) In your report make a link to the same page, but give as parameter the hidden item with the pk as value
    3) In your where clause of your select to fill in the text area, you search for the hidden item (WHERE key = :HIDDEN_ITEM)
    Hope that helps,
    Dimitri
    -- http://dgielis.blogspot.com

  • How to remove hyperlink in Reports Region

    How to remove hyperlink in a Report region (Based on some filter condition)
    Example : In Report Region, I am getting value as 10, 20, 30, 0, 44, 55, 0
    In the above value, I need to remove the hyperlink for 0 values.
    Can anyone help me to resolve this issue.
    Thanks in advance.
    Regards
    Balaji S

    If you want a link column for values other than 0 and a blank for those with 0 then the best way to do this is to use a case or a decode to return a LINK image or text to a hidden column; I usually return the Edit icon only. You can then use the 'column link' region on a different column to create a link in the usual way and set the Link Text to the hidden column (e.g. #EDIT# in the example below). If you have set the target page to require a Checksum this will then be added without having to code it into your sql. E.g.
    SELECT some_columns, 
      CASE WHEN numcol != 0 THEN '<img src="#IMAGE_PREFIX#e2.gif" alt="">'
      ELSE null
      END "EDIT"
    FROM your_tableIf you want the same column value, but those of 0 to not have a link and those other than 0 to have a link then you need to code the link into your sql. e.g.
    SELECT some_columns, 
      DECODE (numcol,0,numcol,'<a href="f?p=&APP_ID.:11:&SESSION.::&DEBUG.:11::">'||numcol||'</a>') "EDIT"
    FROM your_table# = your URL e.g f?p=&APP_ID.:11:&SESSION.::&DEBUG.:11::
    If you require a checksum on the link you need to add the apex_util.prepare_url function to the URL.
    Cheers
    Shunt

  • How to create a inline message for report region...

    Hi,
    Can any one pls tell me the document link for to create a inline error message for report region?
    im trying to do a dynamic validation for report region.i've manually created a report region with apex item.
    im searching it for long time, im cant able to find any demos or example.
    Pls help.....
    Thanks in advance...

    Any help???

  • Delete buttons in report region & javascript

    I managed to add a delete button on each line of my report region using 'Column link' with
    text <img src="#IMAGE_PREFIX#delete.gif" border="0" alt="Verwijderen Icon">
    url f?p=&APP_ID.:504:#APP_SESSION#:TEST:::P504_DELETE_ID_LCNT:#ID#
    and some extra coding.
    problem is : i'd like to add a javascript:confirmDelete function
    In a 'Normal' button you can add it via URL Target.
    Can anyone help me ?

    This seems to be the way to add javascript to the url-code
    f?p=&APP_ID.:504:#APP_SESSION#:TEST:::P504_DELETE_ID_LCNT:#ID#" onClick="javascript:confirmDelete('Are you sure....')
    The only problem now is to add some kind of code to javascript to cancel further processing??????
    return true or false has no effect.
    I tried to set the REQUEST-value but i can't find the solution.
    Please help.

Maybe you are looking for

  • How do I add a close command to multiscreen layouts?

    I need to add a close command multiscreen HTML5 screen layouts that will work on multiple platforms and browsers. I have 3 screen layouts defined: Desktop, Tablet, Mobile. These are called by a responsive design web application and display based on t

  • Error while connecting HCM with IDM

    HI SDN, I am now working on connecting HCM (source system) with IDM by referring the document u201C [IDM for SAP System Landscape u2013 Configuration Guide|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/706065c4-3564-2a10-2382-a5

  • Bug in iPhoto ´08 7.1.1(354)  German Version

    Edit a photo, choose "freistellen" (don´t know the english pendant, maybe "cut-off") then you will find the help text in the hovering yellow window to be the same over "Anwenden (Apply)" and "Abbrechen (Abort)"

  • How can i read client IP address

    Hello, I try to read the user IP address using Request.UserHostAddres and this is always 127.0.0.1 (=localhost) This is happens (i think..) because the request is not submitted directly to my .net portal application . What is the solution on this iss

  • The camera raw filter does not show up on the filter drop list on Photoshop CC

    I am trying to determine why this is the case.  If anyone knows I would appreciate you help.  So far everything else seems to work.