Dynamic hide edit link in report, how?

regarding apex 3.2
in a standard report i use the first column to provide an edit link (url redirecting to another page), this far nothing mind-boggling.
but the edit link should only be available if the actual row meets special creteria, e.g. if the value of a colum equals 'S'.
how can this be solved?
any help is very welcome
peter

ok, now i understand.
i never thought of replacing the '#' by the real url to the page, because it worked without any change. maybe becaus of the report column defined like this: [http://yfrog.com/cbsnag0077j]
now as the case statement looks like this
case when ADRTYP ='M' then '<a href=f?p=&APP_ID.:25:&SESSION.:EDIT:&DEBUG.::P25_BELEGDID,P25_LFDNR,P25_ADRTYP_EDIT:#BELEGDID#,#LFDNR#,#ADRTYP#>Edit</a>' else ' ' end
LFDNR_DISPLAY,even ie displays the cell correct.
now a, final, problem:
to build a secure app, i need to generate a checksum for this url. do you know how to append that to the url?

Similar Messages

  • How to hide edit link for  some rows in report? (according to value of col)

    Helo,
    How to hide edit link for some rows in report? (according to value of column)
    regards
    siyavuş

    Hi siyavuş
    You can do this by taking the edit link off the report and putting it into your report SQL.
    Use something like Select CASE WHEN (condition)  THEN
    'Put your edit link in here as an html Anchor like<a href="(target)">Edit</a>'
    ELSE
    tt.value
    END edit_link
    FROM test_table tthope it helps,
    Gus..
    You can reward this reply (and those of other helpers) by marking it as either Helpful or Correct.
    This allows forum users to quickly find the correct answer.
    ;-)

  • Hide Edit links not displayed in IE8 with Theme 2

    Hi All,
    when i use theme 2 from APEX and i am building an application, i can click on the "Show Edit links" button and normally the "Hide Edit Links" button is then displayed, but in this case no button "Hide Edit links" is displayed.
    When i switch the theme to Theme 1 then the button is displayed correctly, Swithing back to theme 2 then the button is again not displayed.
    When using FireFox the button is normally displayed. in both Themes.
    Is this a bug ?
    Regards,
    Marco

    Hi,
    I think it is a IE behavior about jQuery :visible selector.
    I resolved by replacing in $x_toggle function from apex_4_0.js (from images/javascript) :
    if (apex.jQuery(c).filter(':visible').length === 0)
    with
    if ($.trim(apex.jQuery(c).css('display')).toLowerCase() == 'none')
    I use OHS to access APEX . If you use embeded gateway you need to update the resource from XML DB repository .

  • Edit link for Report with form

    Hi, I create report on Page1 with form on Page2 using Wizard. For this reports select always returns me only one record. On my report I see edit image, it has records 'id' value and branching me to Page2.
    I need edit link on another region in Page1. But I can't to assign for this link the same 'id' value for editing my record in Page2. How can I do it?
    Thanks!
    Kira.

    Kira,
    You are right, doing things this way is messy. One approach is to write APIs to support your data model. All queries/DML against tables should be done with these APIs. Having two levels of APIs has worked well for many applications: a transaction-level API (modules like fetch_empl_vacation_history, update_org_roles_master, create_incident_report) and a table-level API (modules like fetch_emp_rec, update_emp_rec, create_emp_rec). Transaction APIs call table APIs and table APIs do queries and DML against base tables. A typical page like the one you described might have one transaction-level API call to do the fetch from all the tables and populate all the page items in session state and one transaction-level API call after submit to perform the logical transaction that updates all the affected tables. APIs like these must also handle concurrency using an optimistic locking model. To repeat, the automatic row fetch and DML processing processes built into HTML DB are not intended to manage complex, multi-table transactions.
    You can create table-level APIs using SQL Workshop->Tasks Menu(Create Database Object)->Package->Build a package with methods on database table(s). If you experiment with that, some of this should make more sense.
    Scott

  • "edit" link from report to form does not show values

    I created a report and an attached form on two different pages. The report is a query combining two tables with outer joins. When I click on the "edit" button on the report, I get forwarded to the form page.
    My problem: When I get forwarded to the forms page, I get an empty form, and not the data from the column as expected. The "edit" button behaves more like the "create" button. Anybody an idea what I could change to be able to edit the column data?
    Thank you.

    I've met the similar problem with previous releases (1.5.0 and 1.5.1) without any objective reason.
    As I suggests, sometimes HTMLDB lost current session state. When this occurs, ALL links from reports to it's forms does not transit primary keys. I've just completed application development and I've met this behaviour every months.
    As a workaround I found folowwjing process:
    Come into administration tab, selet "Report with option to purge current session state". When I purge current session state and re-login to application, all report-form links will start to work.
    I don't know, what is the issue, but I met it so soon on my local HTMLDB environment.

  • Hide Edit link conditionally in a classic report

    Hi,
    I am using Apex 4.1 and Theme 2.
    I need help in hiding the Edit button for all those rows that has the "Active" field value set to 'N' in Classic Reports.
    By the above means, i dont want users to be able to edit inactive records.
    Each table and each report, I have the Active field but i dont know how to set this condition for the rows.
    This field is there in many reports and many pages in the application and i need some solution to do this for all reports.
    Thanks in advance.
    DS

    There are several examples in my demo application:
    http://apex.oracle.com/pls/otn/f?p=31517:23
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Disable or Hide "View" Link in Reports

    Hello,
    Is it possible to disable or hide the "View" link from the Reports listing?
    I will schedule the reports and the users should only be able to login, go to the History and download the report and not login and click "View" from the Reports listing page.
    Thank you.
    rkingmdu

    Tim,
    I read through your blog. It talks about "run report online" option. But, I still can't seem to find it. My BIP version is 10.1.3.3.1.
    Is it under Runtime Configuration-->Properties link? I do not see any "run report online" property under that. Also, the delivery options I have are
    Printer, FAX, Email, WebDav, FTP and CUPS server. Where is the HTTP option?
    Thanks
    rkingmdu

  • How to disable edit link in interactive report

    Hi,
    How to disable edit(e3.gif image) link interactive report.
    Thanks,
    nr

    Hi Jari,
    Apex Version:3.2
    I created on Interactive report on emp table I have created edit link on empno using Icon5 image.
    Report Attributes>Column Attributes>Column Link.
    I can Hide the Icon5 using following script but I need to disable only. I did not get any disable() method in Jquery.
    Region Id:R812581842900385833
    $(document).ready(function() {
    var viewOnly=document.getElementById('P1_ITEM1').value;
    if(viewOnly == "0")
    $("#R812581842900385833 img").hide();
    thanks,
    Nr
    Edited by: pnr on Mar 13, 2012 6:09 AM

  • How to show/hide a link column in a report, depending on another column?

    Sorry, thread duplicated.
    Edited by: Andres Vilallave on 14-may-2010 15:31

    Hello,
    I had a situation similar to this. I had NULL selected in the column when I wanted to hide the link. Please find below more explenation:-
    <b>example report </b>
    Interactive Report
    Col1     col2     col3
    1          a1       a2
    2          b1       b2
    -           c1       c2
    -           d1       d2
    -------------------------------------------In the above Report <b><i>col1</i></b> is a link . Upon clicking this, user should will be directed to Page XX
    so, when data in col2 of report is c1 or d1[can be a different display condition, you may want to implement this with CASE or anyother SQL construct] , I selected NULL which will not show the link.
    so, my point is, if the SQL you have in the INTERACTIVE REPORT is creative enough to have NULL in the column, Link is not enabled.
    Hope I got your problem correct.
    Thanks,
    Chaitu.

  • How to create a dynamic action from link column in classic report

    I Have an apex page that display a modal window utilizing jquery. In the modal window I have a classic report with a link column that I want to capture its click event.
    I was thinking I could create a dynamic action with selection type=jquery selector. Not for sure if I need to do anything on link column and do not know the syntax
    for jquery selector. Would appreciate any help or direction???

    Thank you for your response. I am very new to Jquery so don't understand all that well.
    What I did:
    I created a dynamic action
    Event: Click
    Selection Type: jQuery Selector
    jQuery Selector: tdheaders
    Created True Actions
    I created an alert to see if this is being executed.
    Alert 'I made it here'
    What I have:
    I created a report region with the following query:
    Select empno, ename, 'SELECT' from emp
    where (ename like '%'||ltrim(rtrim(:P2_SEARCHPU))||'%'
    or :P2_SEARCHPU is null)
    I created 'SELECT' column as Link Column
    Report Attributes
    Link Text Select
    Target Page in this Application
    Page 2
    Region Header
    <div id="ModalForm2" title="Employee List" style="display:none">
    Region Footer
    </div>
    This report is displayed in a modal form when a button is clicked.
    Code for modal window in Page Header
    <script type="text/javascript">
    $( function() {
    $('#ModalForm2').dialog(
    { modal : true ,
    autoOpen : false ,
    buttons : {
    Cancel : function() {
    closeForm2();
    function openForm2()
    $('#ModalForm2').dialog('open');
    function closeForm2()
    $('#ModalForm2 input[type="text"]').val('');
    $('#ModalForm2').dialog('close');
    </script>
    I am trying to capture the click event on the link column of the report in the modal form. I want to pass a couple of column values
    back to the main form and close the modal window. I do not want to do the submit that happens if I click on the link column and link back to the main page(2)
    If I let the submit to happen, all other entered fields are cleared on my main form.
    Just don't understand the jQuery selector. I have no problem catching the button clicks on the modal form.

  • Dynamic edit on a Report.

    Hi,
    I have a report where I am giving edit link for each record. By clicking this user can go to another page where they can edit this record. But, the requirement is that this button should apprear only for those records where its status is of certain value. How can I make this dynamic ? Any suggestions are appreciated.
    Thanks
    Naresh

    You'll need to set up the link in your query:
    SELECT
      col1 pk,
      col2,
      col3,
      ( CASE
          WHEN col2 = 'OK_TO_EDIT' THEN
            '[a href="f?p=&APP_ID.:YOUR_PAGE:&SESSION.:::YOUR_PAGE:P2_PK:' || col1 || '"][img src="#IMAGE_PREFIX#edit.gif" alt="Edit Record"][/a]'
          ELSE ' '
        END ) edit_link
    FROM your_table<BR><BR>
    chet

  • Hide logout link in interactive report

    Hi,
    Can anyone tell how to hide logout link in interactive report?
    Thanks,

    Hi,
    Sorry, I do not understand question.
    How you did get logout link to interactive report ?
    I have never seen that logout link is generated to report automatically.
    But id you go
    Home>Application Builder>Application xxx>Shared Components>Navigation Bar Entries
    and edit your logout link, you can set condition witch page you like it to be displayed or not to be.
    I think you mean that one
    Br, Jari

  • Show / Hide DOWMLOAD link in classical report based on user rights

    Hi,
    using apex 4.1.
    How i can display or hide download link in classical report based on user rights .
    The User who has download rights ,can download the data from classical report Otherwise it should hide.
    I have passed the code in authorization scheme in shared component as named "VIEW"
    DECLARE
    VNAME VARCHAR2(1000);
    BEGIN
    SELECT PAGE_NAME INTO VNAME FROM APEX_APPLICATION_PAGES WHERE PAGE_ID = :APP_PAGE_ID AND APPLICATION_ID = :APP_ID;
    return GET_ADMIN_STATUS_VIEW_NEW(:APP_USER,VNAME);
    END;How i can call "VIEW'' name in download link.

    Right click on the export link, select copy url. Create a button with redirect to URL. Use that URL (or at least everything with and after f?p). Bind rights to the button.
    Or create a second identical report with different rights, give one export enabled and one disabled. The first is better, the second is easier :)
    Edited by: Joni Vandenberghe on 8-feb-2013 5:08

  • How to link child report in same reprot but in different tab

    Hi all i nXIR2
    iam able to pass parameters to child report in different report how to pass parameters and open it in same report in different tab?
    below link iam able to open in another report
    ="<a href=\"<Servername>:8080/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?&stype=wid&Refresh=N&sWindow=New&sDocName=Details3&lsS2)Month:="If(DrillFilters([Month])="";"All Month";DrillFilters([Month]))"&lsS1)Year:="If(DrillFilters([Year])="";"All Year";DrillFilters([Year]))"&lsS4)Account:="If(DrillFilters([Cd])="";"All Codes";DrillFilters([Cd]))+"\">List</a>"
    any ideas please
    Thanks

    Hi Arjun,
    There is no hiding or conditional hiding tab functionality in DeskI, which would serve the purpose of your need.
    One option could be to open up the child report in the same window rather a new window.
    Thanks for the reply
    I dont want to hide any tab..
    i want to open a child report in same report in another tab... in web i
    i can use in same window but..... child report i needed have different columns...

  • How can we hide the link "Attachment" in the preview of a Task??

    Hi all
    I have requirement in portal CE 7.1 as follows.
    all GP tasks are getting displayed in UWL that is fine.
    i want to hide the link "Attachment" in the preview of a Task??
    once i open the task from UWL then that task item opens in new window where i am getting the "Attachment" link that i wanted to hide or remove.
    Cab you provide ur inputs then it would be great help to me
    Thanks
    Sunil

    There are Subject, From, Send Date, Attachment .... columns.
    Do you want to hide Attachment column?
    Please refer wiki link :
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl%252bfaq
    How can I have the attachments options be hidden? Our users do not want to add attachments.
    In the UWL iview properties update the proprety "List of preview sections to hide (SUBJECT, ATTRIBUTES, DESCRIPTION, ATTACHMENTS, NOTES, USERDECISION, and/or ACTIONS)." Enter ATTACHMENTS as a value.
    Edited by: shrikant kamble on Feb 27, 2009 12:41 PM

Maybe you are looking for

  • What is the relation between photoshop cs4 and atkogl32.dll?

    Hi. Some times -not always- my photoshop cs4 Extended Edition, crash. However, if I disable OpenGl function, photoshop works perfectly. Of course: I have up to date the graphic card drives. Every crash, appears a magic word:atkogl32.dll. Uncle google

  • Table name for background job with report, variant and step user id list.

    Hello All, I need to generate the list of scheduled backgroung job with the list of Report Name, Variant, Step User Id called. Please any one tell the SAP Table name from which I can get these data. Thanks in Advance, Amit

  • My ActiveX Controls that i downloaded (APTLaser Control and APTTEC Control) are not showing up

    I got a new computer and im trying to bring over all of my files from my previous computer, however after downloading everything i was unable to use my ActiveX controls for the above objects. When i try to reinsert the object, they are not there, how

  • DEP error when opening quicktime and itunes

    I've installed the latest version of both quicktime and itunes on my new laptop but neither of them open as they are prevented by DEP on windows vista, does anyone have any idea how to get around this or help me. It's fustrating as i can't update the

  • Install applet without admin rights

    Hi, Apologies for my complete lack of knowledge here, but I'm wondering if there's a way of installing java applets on users profiles who don't have local admin rights on their machine. Basically, I work for a company with a lot of users who access v