Portal logoff should Close or Exit from  the window

Hi Friends,
Please help me here, When user click on logoff or Exit from the portal the Window should be closed. (I disabled the popup message box , now I am trying to figured it out how to close the window)
Please help me.
Peter

Hi Peter,
If you try to write JavaScript  in par file to close window, i think portal will not properly logoff from portal.
Better to create a seperate html page which contain script to close the window on load. Also include script to remove cookies created by portal (not mandatory). Save the html page in server..
You can redirect portal after logoff to this page by setting ume logoff url in visual administrator.
We implemented this in portal and working fine in IE. For Firefox it will prompt a message, since it will not allow close window from script due to security reasons.
If you need html code and script let me know i will send it.
Regards
Baby

Similar Messages

  • Conditional Exit from the script

    Hi,
    I have to code the script like the below
    --Step 1
    begin
    If <Table1 doesnot exist> then
    Display "User Defined Error Message: Table1 doesnot exit"
    EXIT FROM THE SCRIPT(Below sql should not run)
    endif
    end
    --Step 2
    spool abc.txt;
    select "should not run" from Table1;
    spool off;Step 2 should not run if table1 doesnot exist.
    Can someone please tell how to conditionally exit the script.
    Thanks & Regards,C
    CDPrasad
    Edited by: cdprasad on Aug 12, 2010 1:35 PM
    Edited by: cdprasad on Aug 12, 2010 1:36 PM
    Edited by: cdprasad on Aug 12, 2010 1:38 PM
    Edited by: cdprasad on Aug 12, 2010 1:38 PM

    Hi,
    David is right; SQL*Plus is the wrong tool for this job.
    If you really want to to this in SQL*Plus, you can achieve a crude type of branching by using sub-sripts. Instead of an IF statement, you use START or @ to run one or another of those sub-scripts, based on a substitution variable, which in turn is set by a query.
    For example:
    --     abc.sql - Test if table1 exists, and
    --                     (1) if it exists, run abc_query.sql to do a query
    --                     (2) if it does not exist, run abc_error.sql to display an error message
    --     Preliminary query, to define next_script:
    COLUMN     next_script_col        NEW_VALUE next_script
    SELECT     CASE      COUNT (*)
             WHEN  0  THEN  'abc_error'
                       ELSE  'abc_query'
         END     AS next_script_col
    FROM     all_tables
    WHERE     table_name     = 'TABLE1'
    AND     owner          = 'SCOTT'
    --     Now that we know what to do, do it:
    @&next_scriptYou would run the above script (abc.sql) and it would decide whether to run the script containing you query, or the script that prints an error message.
    Why does table1 sometimes disappear? In a good database design, tables are permanent structures, and get dropped only when they are obsolete. Perhaps you should be TRUNCATing the table, not dropping it.

  • How to track exit from the PageFragment Lifecycle

    Hi,
    I have a requirement of keeping track of exit from a pageFragment.
    My structure contains: a TaskFlow which contains a train . This train node contains the page Fragments. Now when i navigate from one PageFrag to another ie. when i exit the currently selected node having a page Fragment, i need to fire a logic.
    I tried using creating a bean which implements RegionController interface which has refreshRegion(RegionContext ) method.I got hold of RegionBinding interface which has only one of the following values: Entry, Execute_Model, Prepare_Model, Refresh_Unknown, Render_Model and Type_executable_region.
    Also in this case i am not exiting the TaskFlow during the navigation.
    My doubt is how do i or can i use RegionController to keep track of exit from the currently rendered PageFragment's  Lifecycle.
    Also , can i use PagePhaseListener to keep track of the PageFragment lifecycle stage. (My understanding is PagePhaseListener is to be used for Jspx not Jsff). Plz do correct me if i am wrong.
    Thanks,
    Prasenjit
    Edited by: user586616 on Aug 31, 2009 3:54 AM
    Edited by: user586616 on Aug 31, 2009 3:57 AM

    Hi Frank,
    I have created a ControllerClass which implements RegionController. I have registered the same as controller class in my pageFragments PageDef.
    So, on navigation from one train node to another. due to post back call to leaving node and freshcall to the arriving node in the train flow. i am able to get the leaving as well approaching node.
    My doubt is can i get similar or better control over the nodes traversed using trainModel or anyother adfinternal controller class? Kindly suggest any better way of getting handle to the navigating train nodes.
    Sample Code which i have implemented:
    public class RegionControllerBean implements RegionController {
    public boolean refreshRegion(RegionContext regionContext) {
    System.out.println("**********************************");
    System.out.println("inside refreshRegion method call");
    String selectedView = ControllerContext.getInstance().getCurrentViewPort().getViewId(); ------> this gives me the handle to the viewId of the curently selected pageFragment
    System.out.println(ControllerContext.getInstance().getCurrentViewPort().getViewId().toString());
    String pageName = selectedView.split("/")[2];
    System.out.println("Current PageName:"+pageName);
    System.out.println("name: "+regionContext.getRegionBinding().getName());
    int refreshFlag = regionContext.getRefreshFlag();
    if(refreshFlag == RegionBinding.PREPARE_MODEL){
    System.out.println("Inside prepare Model phase"); ------> on entering of that node i need to call some logic before prepare_model phase
    if(refreshFlag == RegionBinding.EXECUTE_MODEL){
    System.out.println("Inside execute model phase");
    if(refreshFlag == RegionBinding.RENDER_MODEL){
    System.out.println("Inside render model phase");
    // propagate refresh to inner binding container
    regionContext.getRegionBinding().refresh(refreshFlag);
    return false;
    public boolean validateRegion(RegionContext regionContext) {
    // propagate the validate to inner binding container
    System.out.println("inside validate region method");
    regionContext.getRegionBinding().validate();
    return false;
    thanks,
    Prasenjit

  • Regarding exit from the module pool screen

    h experts,
    i have developed a module pool report in which in the selection screen i have four fields which are mandatory ,when i execute the program without entering in the selection screen it do not allow to come out of the module pool screen ...what i want that without entering any input in the selection screen if i press exit button push button it will allow to come out of the screen for this what sud i do plz help me....

    Hi
    keep a button called <b>EXIT</b> on the screen
    Make the function type of that field as <b>E</b>
    in Flow logic write
    PROCESS AFTER INPUT.
    Forced Exit from the transaction from screen
      MODULE exit AT EXIT-COMMAND.
    double click on exit module and
    then in PAI write
    *&      Module  exit  INPUT
    Exit from the Transaction
    MODULE exit INPUT.
      CASE okcode.
        WHEN 'EXIT' OR 'CANCEL'.
          CLEAR okcode.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                 " exit  INPUT
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Accessing the Logon User Exit from the Internet using an ITS Service

    I can access the Logon User Exit (EXIT_SAPLSUSF_001) from R/3, but not from the Web using an ITS service. What am I missing in order to access the Logon User Exit from the Web. The ITS service was created from an ABAP screen program.
    Thanks
    david yee

    The SAPGui logon exit is called after successfull authentication has been completed and after a SAPGui session has been attached.
    If you logon via RFC, WebGui, ICM or the Wgate then this exit does not trigger.
    What are you wanting to add to your code after the logon ?
    An solution I have used is to create a wrapper RFC for a BAPI and create a webservice for the wrapper. Before calling the BAPI you can do whatever you want to from a security perspective.
    But for that you need to have an appropriate BAPI...
    Please explain what you want to do and what you would have wanted in the exit. Often there is a better way.
    Cheers,
    Julius
    ps: I moved this to the security forum.

  • How to exit from the class execution process?

    I am invoking an exe from my Java application using the Runtime.getRuntime().exec() method.
    though the process is completed, the class is still running.
    how do i exit from the class execution, but with the process still running??

    To sabre150 :
    I am directly executing the command through the exec() method:
    Runtime.getRuntime().exec("...../iexplore.exe");This way, the control is going to the opened IE window and only on closing it, my class is exiting.
    Is there any other way where I can come out of the class, but ensure that the process which i run through the exec() method, is still running?

  • Can`t exit from the app corner mode in windows phone 10 technical preview at Nokia Lumia 520

    After upgrading to windows phone 10, I just face several bugs as expected, including screen unlock bug. I just try app corner feature on my phone. That`s led to a big mistake. I can`t exit from the app corner mode. While pressing the power off
    button and swap right, nothing happens. (In lock screen, it doesn`t show that swap right to exist. I think this problem also related to locks screen bug.  Even I try  to remove the battery. But, still I struck at app corner. Please
    help me come out this problem!!!
    Thanks in advance
    Mohamed Usman
    www.neotech4u.weebly.com

    Very very disappointed. Sorry about windows phone. I have argued quit a lot with friends. Trying to convince them that WP are extremely good and nice to work with. Unfortunately they keep telling me about the poor apps of WP. Unfortunately I can now start seeing the problem. Guess what, I wasconsidering of buying my father a WP. Guess what. I will probably stick to android. Badly played about that. Farewell. Disappointed 7.8 WP customer from Athens Greece.

  • Can you help me EXIT  from the itunes store back to my play list?

    can you help me EXIT  from the itunes store back to my play list?

    If you're using iTunes 11, click on "Library" on the top right, then clck on "Playlists" on the top.

  • How long should does it take from  the time you turn it on till you can use it

    how long should does it take from  the time you turn it on till you can use it...is 35 seconds normal

    kevinfromrome wrote:
    how long should does it take from  the time you turn it on till you can use it...is 35 seconds normal
    Yes.

  • How to exit from the button test in diagnostic mode

    Hi,
    I am having some trouble with my ipod 7th gen.
    First my lightning cable wont be recognize. show the error Accesory incompatible.
    I try to solve the problem cleaning the golden pins in the cable and in the ipod. Don't work
    I enter in diagnostic mode in my ipod and I get stucked in the button counter test..
    In the screen appear a mesage 'Please reset the unit to end'. I don't know how to reset the unit
    I press any button and only increase the counter for every button.
    First how acan exit from the button counter test and how can fix the issue with the lightning cable

    Your problem is that you are trapped inside an event case. It is not a good idea to run extended code inside event cases, else the event structure cannot service other events.
    Why don't you use the outer loop for everything? Now things don't step on each others toes. What good is an event structure if it cannot react at all times???
    Message Edited by altenbach on 07-25-2008 12:26 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    event_problemMOD.vi ‏17 KB

  • My libraries panel is missing from the window dropdown. Where else can I access it? Is that normal?

    My libraries panel is missing from the window dropdown. Where else can I access it? Is that normal?

    Lisa,
    You may try the list (or go straight to 6) if you have updated to Yosemite without reinstalling).
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    If possible/applicable, you should save curent artwork first, of course.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • I can't boot from the windows cd with boot camp

    I got Vista up and running via boot camp but now I have a problem that could cause some issues. How the **** do you boot from a windows cd with boot camp!?!? When I stick in the windows based CD (could be the vista install CD -after vista's been installed of course- or a Windows home server restore cd) and hold down the option key I chose to boot from the CD in the menu then the screen goes black as it should and then it says press any key to boot from cd or dvd..... It gives me 5 seconds to press a key and then it conintues to boot into Vista. The thing is when it asks me to press any key I press any and all keys on the keyboard and I get no response and it just boots into vista. This can be quite a problem, what if I need to restore vista via the install CD? I can't chose to boot from it cause everytime it asks me to none of my key presses register. So everytime I have a problem I won't be able to restore or even diagnose it, I'll just have to reinstall vista? I don't think I can even bring up the safe mode or anything like this. The keyboard won't work until I reach the password screen of Vista. I've also tried plugging in a USB keyboard to it and it still doesn't work. So basically I need to know how to make the keyboard work before Vista loads.

    Ok, well I just tried booting from the windows cd and it seems that I lied to ya It seems that you can boot from it. Although I only took it to the point I was comfortable with. The boot resulted in it asking me to install windows and I didn't see any partitions listed or anything, so I chickened out (so to speak) not wanting to take the chance of my Leopard installation getting screwed up.
    It's been a quite some time since I used the Vista boot disc and can't really remember how it went when I used it in conjunction with boot camp beta. Sorry can't give you anymore information.

  • How to Invoke tasks created in FrameMaker Publishing Server from the Windows command line

    Hi All ,
    i would like to know how can we Invoke tasks and schedules created in FrameMaker Publishing Server from the Windows command line.
    we used publishing server mainly to convert Frame maker files into PDF and that should be do progarmatically without manual intervention on Demand.
    so could you please let us know how can i invoke rthe task creted to convert FM file to PDF in FrameMaker Publishing Server from the Windows command line.
    please let me know the command to execute .
    thank you and waiting for valuable response.
    best regards
    Ramesh babu

    Please see http://blogs.adobe.com/techcomm/2011/03/adobe-framemaker-server-10-and-its-command-line-ca pability.html for the same.
    Harish Dhawan

  • I want to clone an internal windows disk to a larger disk in my G5 Pro. Would I have to do it from the Windows side and what software is needed?

    I want to clone an internal windows 7 disk to a larger disk in my G5 Pro (2009) 2.93. Would I have to do it from the Windows side or can I do it from the mac side, and what software works for cloning if anyone knows.
    thorpug

    We don't mix names G5 (IBM, PowerMac) and Mac Pro (Intel)
    Depends what you actually are doing.
    Do both Mac and Windows reside on same or separate drives?
    For running a Mac utility, then WinClone 4 $39
    Review was on http://www.macwindows.com two weeks ago
    For Windows on its own drive and disk to disk, then Paragon HDM 12 is best.
    You should visit Paragon, for imaging and cloning Windows as well as HFS+ drivers.
    http://www.paragon-software.com/products/home/for_mac.html

  • How to delete the items in the recycle bin permanently from the windows using Diruse command

    How to delete the items in the recycle bin permanently from the windows  using Diruse command.
    Because most of the time we get out of disk space issues.
    Can somebody help me in giving with an example

    You can right-click Recycle Bin|Properties and choose radio button for
    Don't move files ....
     This one may also help.
    http://technet.microsoft.com/en-us/library/cc784980(v=ws.10).aspx
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

Maybe you are looking for