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.
;-)

Similar Messages

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

  • How to Hide Site/Domain for some users

    Hi,
    I need to know how to achieve following. Our default site is "xr-world" under this site all the containers,libraries , folders are created.
    Now when users login in they are seeing this site as top level folder. Please are really confused about this and some prefer not to see this.
    so if the current folder sturucture is
    - xr-world
    -container1
    -library1
    ---file1
    --file2
    +container2
    +container3
    intended structure is below. Hide the side folder xr-world
    -container1
    -library1
    ---file1
    --file2
    +container2
    +container3
    please advise

    see these..
    http://obiee-blog.info/answers/removing-my-dashboard/
    http://siebel.ittoolbox.com/groups/technical-functional/siebel-analytics-l/removing-my-dashboard-access-1950336

  • How can I hide my cam for some applications like messenger, skype, etc.

    Hi,
    How could I hide my cam for some applications?
    Thanks in advance!

    There's a support file in the System/Library/QuickTime folder that you can move elsewhere temporarily: QuickTimeUSBVDCDigitizer.component. Don't delete it, just move it. Any apps you open from that point will not have access to the camera. Move the file back to re-activate it (you may need to reboot).
    There is also an AppleScript to do the same thing, but I can't guarantee it works for 10.8.
    http://techslaves.org/isight-disabler/
    Matt

  • How to hide or filter out the row at break subtotal level

    Hi All,
    Need to know how to hide or filter out a row at break subtotal level.
    My Requirement is to sum up the first 20 business days total as Month total.
    This is a cross tab report, with Dates going from top to bottom, Securities going from left to right and Amount as the intersection of this two dimensions.
    So I have created a variables like this below
    RunningCount of Mtr Dt=ToNumber(RunningCount([Query 1].[Intrader Acct Mtrty Dt]))
    and
    MonthBreak=If [RunningCount of Mtr Dt] Between (1;20) Then 1 else 2
    Inserted this "MonthBreak" variable into the crosstab so it will give me each rowcount, then applied the break on this variable, so it split the first 20 rows and the rest of the remaining rows.
    Then applied Sum on the Amount column so it will add up the first 20 rows and then the remaining rows. Now I want to display only the subtotal row of the first 20rows and hide/filter the row subtotal line for remaining row numbers greater than 21.
    Did tried to do some thing using the alterers but no luck.
    Please help me fix this

    Hi Mathangi,
    When I apply
    =If ([MonthBreak] = 1) then Sum(Amount) else 0
    in the subtotal row, then nothing is changed.
    And one other thing I noticed is when we apply break on a column it footer should be same as the break value right. But here in my report the break footer is displaying 1 for both the cases for first 20 rows break and the rest from 21st rows.
    That is when I place  MonthBreak variable in the table.. which has values 1(for row 1 through 20) and 2 (for rows 21 to end of the report) then apply break on this MonthBreak column, its footer value are same for both the cases which is displaying as 1
    Do you know why this happens and to your information this is a cross tab report I am working on....

  • Enable hide/show only for selected rows for table in table

    I have an advanced table with a detail table connected by a view link. This adds a "Details" column of Hide/Show links on the left of the table to expand the inner-table for each row of the outer-table. The goal is to have the hide/show in the outer table, only when there is data for the outer row in the detail region.
    Normally, hide/show appears for all rows in the outer table.
    Thanks!

    In the processRequest method of the controller execute the query of the Outer table region and check is there any row or not.
    If yes then do nothing else hide the bean i.e. hide/show bean. You need to do PPR for this.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to change a color for a row in ALV grid display

    Hi,
       how to change a color for a row in ALV grid display based on a condition.Any sample code plz

    Hello Ramya,
    Did you check in [SCN|How to color a row of  alv grid]
    Thanks!

  • I have a new email and am trying to change it in icloud. but it has locked me out and won't send my email a reset password link for some reason. even though it says its sent, it doesnt come to the email address

    i have a new email so have a new apple ID now and am trying to change it in icloud. but it has locked me out and won't send my email a reset password link for some reason. even though it says its sent, it doesnt come to the email address. help!

    Welcome to the Apple community.
    If you are unable to remember your password, security questions, don’t have access to your rescue address or are unable to reset your password for whatever reason, your only option is to contact Apple ID Support, upon speaking to an operator you should explain that your problem is related to your Apple ID, this way you will not be charged for assistance, even if you don’t have an AppleCare plan.
    You will need to show patience with the procedure and be prepared to demonstrate without question that the account belongs to you. Don’t expect access to be restored immediately and if you aren’t the owner of the Apple ID registered to the device the account won’t be reset.
    This is answer is provided from my own database of boilerplate responses and the content was last reviewed and/or tested on: 2014/12/18

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

  • How do you edit photos for extravert 2

    how do you edit photos for extravert 2? I had extravert 1 and it had edit icon.

        fairiemonkey,
    Sorry to see you've had trouble editing your photos! Each phone has there own unique features. The original Extravert had photo edit features including drawing and changing contrast, sharpness, blur and brightness. The Extravert 2 does not have those same features. You can still change things such as camera options for white balance and resolution but do not have those same photo editing options available.
    You can transfer pictures to a desktop computer and then use photo editing software on your computer for more advanced photo editing. Here are instruction on how to tranfer the pictures: http://vz.to/1z1nB6H . Just scroll down to where it says, From the Device to the Computer.
    BrianP_VZW
    Follow Us on Twitter @VZWSupport

  • Hello. I'd like to get learning and become certified. What should I do and how to find the link for staring education?

    Hello. I'd like to get learning and become certified. What should I do and how to find the link for staring education?

    Hello there, g0ddess.
    The following link proves to be a great resource to get started with Apple  Training and Certification:
    Training and Certification
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

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

  • 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

  • To Hide Native Link for Images

    Hi,
    Whenever i check-in a content as image in content server,i get the rendition information for the same.That rendition information contains the native link option ,which i want to hide.How can i hide that link or the rendition information tab itself.If you have the answer please let me know.

    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.
    ;-)

  • How to add a comment for each row on the output of a report?

    I would like to add a comment (field) for each row on the output of report? This comment should to be saved as well. Is there a way i can do that?
    Regards,
    Ram

    Hi Dimitri,
    through the instead of trigger functionality i am able to update the view. This is view is based on different views which should be linked to a table (as you suggested) in which comments can be stored. Hower this table is empty and how to link this table with the view now? I face the following challenge.
    View consists the following columns, for example
    select name, sex, age from test_view
    name sex age
    John M 20
    Anton M 30
    Willy M 40
    shirley F 38
    sharon F 37
    The report has the following output, for example
    name     sex age
    John     M 20
    Anton     M 30
    Willy M 40
    Shirley F 38
    Sharon F 37
    Now i would like to add comment through a button.
    The report layout looks like
    name sex age
    John M 20 <add comment button>
    After submitting the <add comment button> you can enter text which deals with John
    text='John doesnot like me'
    Finally the report display the comment as well
    name sex age
    John M 20 'John doesnot like me' <update/delete comment button>
    Anton M 30 <add comment button>
    Willy M 40 <add comment button>
    Shirley F 38 <add comment button>
    Sharon F 37 <add comment button>
    After submitting the <update/delete button> you can change or delete the entered text.
    I hope this example clears things up.
    Regards,
    Ram

Maybe you are looking for

  • Toshiba Qosmio x505-q870 Issues

    Hi, i'm a proud owner of this laptop and its served me very well for the past 3 years.  Recently i'm having some heat issues where i think the computer is starting to hang/freeze around 75c.  I've checked some other forums and folks say thermal shutd

  • IBook can no longer connect to wireless network

    I have a wireless network set up in my home using a Linksys wireless router. While it has worked fine in the past, I can no longer connect to it with my G4 iBook running 10.3.9. It shows up in my network connections with a strong signal but when I op

  • Cannot create TransactionParams of ConnectionFactory with WLST Offline

    Hello dear WL users and geeks, I'm trying to automate the creation of a weblogic domain using WLST Offline but I've got some problem with the configuration of a JMS ConnectionFactory : I don't know how to activate the XA-Connection factory setting. O

  • CFDOCUMENT PDF generation peformance on Linux running CF server 8 or 9 is horrible

    Can anyone help me understand how I can get the <cfdocument> tag to generate PDFs in reasonable time (and without throwing timeout errors) when running on CF 8 on Linux? Running on CF 9 doesn't make a difference, either. I can run the same code that

  • I cant even uninstall EA 2014

    I cant even uninstalle ED 2014 CC with AdobeCreativeCloudCleanerTool. When...is...this...software...going...to...be...fixed? When?