Help on Delete Link

Help on Link
I have report with following query
select htf.anchor('DELETE_empno?p_id='||id,empno) delete,
id download ,
from emp
I get Link for Delete on empno
when i press the Link My procedure is executing but page is not refreshing
The page is shwoing the procedure name
What i need is page refresh and execute the procedure and display the report
Any help is appreciated

when you click on your link, the procedure DELETE_empno is firing but because Apex has not submitted the page (you just execute the PL/SQL procedure from a url call), you will have to redirect the URL to the page you want to go to.
This can be done using the OWA_UTIL.redirect_url api after your pl/sql successfully executes.
owa_util.redirect_url ('f?p=&APP_PAGE_ID.:PAGE_NO:&SESSION.:::CC');
where:
PAGE_ID = the page number you want to redirect to
CC = the page number to clear the cache of (if requierd)
An alternative approach may be to change your anchor link to submit the page with a delete request and fire your process that way. By doing this, you could then assign it a page branch, cache clear etc in the normale way

Similar Messages

  • Change delete link href for each row of table

    Hi,
    I am using Struts/JSP to do the following..
    iterate through a list of bean objects and show them as table rows. I can do this successfully. I'm using logic:iterate tags to iterate and bean:write tags to write to table columns.
    I have a delete link added to each row.. which is configured as follows..
    <logic:iterate..... >
    <tr>
    <bean:define  id="rowId" name="form" property="bean"/>
    <td><a href="order.do?action=delete&orderid=<%=rowId%>">Delete</a></td>
    </tr>
    </logic:iterate>I'm trying to investigate if there are other ways to do this instead of using
    "<%=rowId%>"...
    Any suggestions?
    Thanks

    Hi,
    Check the event "EH_ONONE_CLICK_ACTION " line 58/59 it calls 'Relationships' window's outbound plug 'ToAccountRelationshipsEF'
    lr_window = me->view_manager->get_window_controller( ).
       lr_window->call_outbound_plug( 'ToAccountRelationshipsEF' ).
    keep breakpoint in the outbound plug, you can see the navigation details it could be done using nblinks/tlinks or by calling the navigation link of parent component bp_head/overview..
    Similarly EH_ONNEW event will get trigger when you click on new button and it allows to open the view in editable mode, again this is calling the same outbound plug ToAccountRelationshipsEF'.. looks like there could be dynamic navigation happening with the same outbound plug, please debug and see.
    To achieve your requirement you have to change the navigation to edit page instead of display page..please debug see how navigations are implemented.
    If by default navigation to relationship view is implemented in editable mode then it could be achieved via creating a read only config and switch between editable configuration and read only config. based on the source..
    Hope this helps..
    Cheers,
    Sumit Mittal

  • Using Update and Delete Links in QBE Reports with a Template

    QBE Reports in Portal allow Update and Delete links against Report output rows.
    When run, if I press the Update link it displays a simple form and utilises the Template I specified for the Report (as expected).
    If I press the Delete link it displays a page with a default Oracle template (including Navigator, Home and Help buttons I wish to suppress)
    How can I get the Delete to use the specified Template?
    Any simple fix appreciated.

    QBE Reports in Portal allow Update and Delete links against Report output rows.
    When run, if I press the Update link it displays a simple form and utilises the Template I specified for the Report (as expected).
    If I press the Delete link it displays a page with a default Oracle template (including Navigator, Home and Help buttons I wish to suppress)
    How can I get the Delete to use the specified Template?
    Any simple fix appreciated.

  • Delete link in displaytag

    Hello,
    i get some inputs, stores in DB and displays it in Displaytag like grid view..and then the display table has modify field like Delete link..
    When i will click Delete link, it displays one alert box.. then i click ok means, that row will be delete and also SQL..
    Pls help me..
    Thank u...
    Regards,
    Suresh.M

    SureshAlmighty_85 wrote:
    Hello,
    i get some inputs, stores in DB and displays it in Displaytag like grid view..and then the display table has modify field like Delete link..
    When i will click Delete link, it displays one alert box.. then i click ok means, that row will be delete and also SQL..
    Pls help me..
    Thank u...
    Regards,
    Suresh.MHelp with what? Do you want somebody to write all the code for you, or do you have something done already and you need help to finish it?

  • Unable to delete links: "XML structure element, not in layout"

    Hello all,
    I'm having an issue in InDesign where I'm unable to delete links appearing in multiple files that have even made their way into one of our templates. They do not list a page number where the object appears and clicking on the "< >" does nothing.
    A cursory search of the InDesign forum yielded two results, both of which were answered by having the OP go into the document structure and delete stories from the Root (see below). In my document, however, there is NOTHING listed under Root in the structure. Where are these files and how do I get rid of them?
    I'd really like to eliminate this problem before it spreads further. Any help?
    Matthew
    http://forums.adobe.com/message/2641501#2641501
    http://forums.adobe.com/message/2450330#2450330

    Slight update: In another document the page number is listed as "DT." When I click on it I get this this message:
    Links panel:
    This document *does* contain elements in the structure but even when removed from the structure the items stay in the links panel. So my questions are:
    1) Am I removing items from the structure incorrectly?
    2) If I've already removed items from the structure, how do I remove the links that were associated with that content?

  • Skype is deleting links in chat

    Suddenly today, when talking with a friend, I tried to link to http://www.wowhead.com.  Any messages containing a link to this site was instantly removed from her side of the conversation.  We then found that if she tried to send me the same links, they were deleted on my end.
    This is completely unacceptable, that Skype can even delete links sent between friended contacts (please delete links from people not on your contact list if you aren't already), let alone non-suspicious links.

    Hi and welcome to the Skype Community,
    Skype uses automated scanning within Instant Messages to identify website addresses that have been previously flagged as spam, fraud, or phishing links. For more information about Skype’s privacy policy, please visit: http://www.skype.com/privacy/
    If you can share examples of links that don't work in Skype we can have a look. E.g. flightrising.com links seem to work fine.
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • Can anyone help me deleted this existing photos in my photo library.i already did to sync it up on itunes ang remove all photos ang sync.but still there is 5 photos in my general about eventhough my camera roll is empty.plsss help.thanks.

    can anyone help me deleted this existing photos in my photo library.i already did to sync it up on itunes ang remove all photos ang sync.but still there is 5 photos in my general about eventhough my camera roll is empty.PLEASE HELP!Thanks.

    i mean "and" not "ang" btw.

  • EMail on my iPhone 4s is no longer synching right with my Mac. Things I delete on my Mac are still on my iPhone. HELP!  Deleting in both places is so time consuming. It has worked until recently...not sure what changed!

    Things I delete on my Mac are still on my iPhone. HELP!  Deleting in both places is so time consuming. It has worked until recently...not sure what changed!

    Your email provider may have changed certain settings to do with deleting from server when deleting from client so that it no longer works. Are you using pop or imap? If pop then recreate the account using imap.

  • Can you help me delete photo library & duplicate photo library

    Hi,
    I don't know what I did, but I somehow copied 44 of my daughter's music images into my photo library and then created a duplicate with 43 images.  These 87 images are taking up room and there is no obvious way to delete them. 
    Here's what happens when I touch camera roll it brings me to the photo library -- where 43 out of 44 images are hers:
    I click edit and the only options are share via email, faceboook, twitter, etc. or add to which leads to create a new album.  I don't want to do any of this.  I just want to delete them to make room.
    The same options apply for the Duplicate album as well.
    Can you help me delete the photo library and the duplicate library on my phone?  I only want to keep one video in the camera roll and all of the rest of the images can go.
    Thanks!

    Thanks for your response.  I think you just isolated my issue -- I was trying to upload music and somehow wound up syncing my daughter's photos to my iphone.  I don't know how to delete them because not all of the album/folders are appearing there.  Do you have any suggestions on how to find them?

  • HELP - I deleted an adobe file that I saved to a memory stick and I need it back really badly :(

    HELP - I deleted an adobe file that I saved to a memory stick and I need it back really badly

    Try this Google search:
    http://www.google.cl/#hl=es&tbo=d&sclient=psy-ab&q=free+data+recovery+software+for+flash+d rives&oq=recovery+software+for+flash+drives&gs_l=hp.1.3.0i30j0i5i30l3.9708.24161.0.34539.3 4.26.0.8.8.0.378.7320.2-21j5.26.0...0.0...1c.1.lb0o4diaEEU&pbx=1&bav=on.2,or.r_gc.r_pw.r_q f.&bvm=bv.1355534169,d.eWU&fp=ff7a879957bf69ba&bpcl=40096503&biw=1112&bih=865
    It gave me plenty of hits, but be a little careful. I would suggest using the free trial of one of the paid products. As I have never used one, I cnnot recommand any.
    And remeber: every time you write something on that flash drive, you risk overwriting your lost file, thus decreasing your chances of recovering it.

  • Help! deleted file on dropbox can i recover it on time machine?

    Help I deleted my senior project! So i was responsible and synced my project with drobox and "regularly' backed up my computer. Well, after I turned it in I needed some space in my drobox and deleted my synced folder which deleted it off my computer. I backed up my computer the day after and I guess I didnt realize that I had deleted this IMPORTANT folder for awhile... So its 3 months from when I did that so too late to recover the lost files from dropbox. Is there a way I can recover the folder from time machine? The last backup was way too old before I deleted the file and I only have a backup from the day AFTER I deleted it. Please help!

    Read https://discussions.apple.com/thread/3822378?start=0&tstart=0
    Allan

  • Network Magic v 5.5 I cannot access the online help from the links within NM

    When I try to access the online help from any link button in NM V5.5 including the main help > Help center > Network magic help, the browser will open and resolve address ,  Status bar will state done but I have a blank page.
    The URL in the address bar is
    http://go.purenetworks.com/redir/webhelp/nm/_cover.htm?pn=nm&a=5.5.9195.0&as=0&ad=2&bt=shp&b=Pure&dc=Pure0.LinksysRouterSetup&dt=OLN&k=1611759616&ct=cisco&ag=d9429c0fe2fd40b9&g=d04c74e28eb95300%2Cb2610a4f03b2f988&lcid=1033&ulcid=2057&am=99&it=upgrade
    I am running windows 7 Ultimate,  have tried 
    Firefox  3.6 and
    IE 8.0  -- I have put the Url into the trusted zone  and the web page will again show up as done and status bar shows trusted zone
    I have tried all this with my Firewall & AV (Kaspersky Internet Security 2010) both on and disabled
     NB  The "ask linskys link works" as does the "community forums"
    The Main help > Help center >Getting Started also works.
    ( I am running the WRT610N Router set up by Network Magic)
    Many Thanks

    I've seen this too use http://support.networkmagic.com
    Mikro the Owner of the Linksys BEFCMU10_V4-UG Modem & The BEFSR41v4 Router.

  • How can i delete Record when i click on Delete Link in a report

    hi,
    i have to create report
    select S_NO,BILL_NO,LED_NAME,PUR_LED,VAT,BILL_DATE,ST_GRP_UND,GODOWN_NAME,
    ITEM_NAME,UNIT,QTY,RATE,PER,DIS,AMOUNT,'Delete' from DUMY_AC_LED_PURASEI want to delete corressponding record when i click on Delete Link.
    Here S_NO is P.k.
    How can i delete Record when i click on Delete Link.

    Manoj,
    If something does not work then you should report back on the same thread so that there is continuity to the whole episode. Be as lucid as you can be so that people know whats the scenario. E.g. is not working is not enough. What happens? Does is show error , go blank, goes to another page... all that is important.
    Its for posterity, down the line others will also visit the thread (may be).
    Regards,

  • Need help on deleting after exporting to IDML

    Hi Forum,
    I have a script to export all the "indesign files" found inside the folder... and then remove all the indesign files...
    Instead, Can i have a help to delete....
    the indesign file after exporting to IDML and then
    continue opening the next indesign file, exporting to IDML and deleting it...
    then continue file3....
    The below is the script open indesign files and export to idml and then remove all the files inside the folder Desktop/GENERAL_CS6-IDML/IN_CS6
    var mySourceFolder = Folder("Desktop/GENERAL_CS6-IDML/IN_CS6");
    var myOutFolder = Folder("Desktop/Completed");
    //var Indd_files = get_Files(mySourceFolder,[], ".indd");
    var Indd_files = mySourceFolder.getFiles (/\.indd|\.INDD/i);
    //var Indd_files = get_Files(mySourceFolder,[], ".indd");
    if(Indd_files.length>0)
        for(var w=0;w<Indd_files.length;w++)
            try{
                 app.scriptPreferences.userInteractionLevel = UserInteractionLevels.neverInteract;
                myDoc = app.open(File(Indd_files[w]));
                 app.scriptPreferences.userInteractionLevel = UserInteractionLevels.neverInteract;
                 var myDocNam = stripExt((Indd_files[w].name).replace(/%20/g," "))+"idml";
                 myDoc.exportFile(ExportFormat.INDESIGN_MARKUP, (File(myOutFolder+"/"+myDocNam)));           
    //          myDoc.save(File(myOutFolder+"/"+myDocNam));
                app.activeDocument.close(SaveOptions.no);
            }catch(E){}
    try {
    var copyFolder1 = Folder("Desktop/GENERAL_CS6-IDML/IN_CS6");
    var myFiles2 = copyFolder1.getFiles(/\.indd|\.INDD/i);
    for ( i = myFiles2.length-1; i >= 0 ; i-- ){
    myFiles2[i].remove();
    } catch (e) {}
    Many thanks for the support..

    I hope this is what you expected.
    You can try the following code:
    var mySourceFolder = Folder("Desktop/GENERAL_CS6-IDML/IN_CS6");
    var myOutFolder = Folder("Desktop/Completed");
    //var Indd_files = get_Files(mySourceFolder,[], ".indd");
    var Indd_files = mySourceFolder.getFiles (/\.indd|\.INDD/i);
    //var Indd_files = get_Files(mySourceFolder,[], ".indd");
    if(Indd_files.length>0)
        for(var w=0;w<Indd_files.length;w++)
            try{
                 app.scriptPreferences.userInteractionLevel = UserInteractionLevels.neverInteract;
                 var myFile = File(Indd_files[w]);
                myDoc = app.open(myFile);
                 app.scriptPreferences.userInteractionLevel = UserInteractionLevels.neverInteract;
                 var myDocNam = stripExt((Indd_files[w].name).replace(/%20/g," "))+"idml";
                 myDoc.exportFile(ExportFormat.INDESIGN_MARKUP, (File(myOutFolder+"/"+myDocNam)));          
                app.activeDocument.close(SaveOptions.no);
                myFile.remove();
            }catch(E){}
    Green4ever

  • BAPI_DOCUMENT_CHANGE2 and delete link

    Hi,
    I am trying to delete the document's link. But I can not do this operation. My code is;
      ls_doc-documenttype = 'VD2'.
      ls_doc-documentnumber = '0000000100000000000000344'.
      ls_doc-documentversion = '00'.
      ls_doc-documentpart = '000'.
      ls_doc-description = 'try'.
      ls_doc-laboratory = ''.
      ls_docx-description = 'X'.
      ls_docx-laboratory = 'X'.
      CALL FUNCTION 'BAPI_DOCUMENT_CHANGE2'
        EXPORTING
          DOCUMENTTYPE               = ls_doc-documenttype
          DOCUMENTNUMBER             = ls_doc-documentnumber
          DOCUMENTPART               = ls_doc-documentpart
          DOCUMENTVERSION            = ls_doc-documentversion
          DOCUMENTDATA               = ls_doc
          DOCUMENTDATAX              = ls_docx
         IMPORTING
       RETURN                        = return.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
       EXPORTING
         WAIT          = 'X'.
    This code can change the description to 'try'. But It does not delete this document's link. I also check the return. But there is no error or warning. Why this is so? How can I delete link using BAPI?
    Thanks.

    Are you trying to delete object links or original files?
    If it is object links see the fm documentation.
    Your code is not setting the object links.
    You need the values for the link structure as shown;
    lt_drad-objecttype = 'MARA'.
    lt_drad-objectkey = 'M0815'.
    APPEND lt_drad
    You need to add to pass lt_drad to table objct links in the fm.
    CALL FUNCTION 'BAPI_DOCUMENT_CHANGE2'
    EXPORTING: documenttype = ls_doc-documenttype
    documentnumber = ls_doc-documentnumber
    documentpart = ls_doc-documentpart
    documentversion = ls_doc-documentversion
    documentdata = ls_doc
    documentdatax = ls_docx
    IMPORTING: return = ls_return
    <b>TABLES: objectlinks = lt_drad.</b>
    Regards
    RM

Maybe you are looking for

  • Can't get past PMU, can't even get to a grey screen

    I have a Power Mac G4 Sawtooth. I recently upgraded to a Mac Pro and transferred all my data from the G4. Have 2 drives in the G4 and had some problems using Migration Assistant (wouldn't see primary drive, only secondary drive.) I read that having t

  • AC power cord for Mac Classic

    i have an opportunity to get an old mac classic but the seller says it has not AC cord. is that easy to get somewhere or not worth the bother? thanks!

  • @ key assignment on UK keyboard

    I have installed Windows 8 on my iMac using Bootcamp 5.  I was perplexed to find that my Microsoft log on kept throwing up an "incorrect password" error until I worked out that the @ sign on my UK apple keyboard was coming up as a ".  Once logged on

  • Cfspreadsheet and reading the xlsx files issue

    I am trying to process large excel files (65,000 rows) into the DB.  So I try to use the new cfspreadsheet tag to read in the files by 5000 rows at a time and then process the query into the tables.  The process is working fine when reading the (pre

  • Fan controll in windows 7

    hello I am wondering if anyone has found a fan control program for windows 7 that is like smcfancontrol i already know about restarting with smc still running and two other programs that i forget the names of that dont work. it would be greatly appre