EP - Logoff button in MASTHEAD

Hi,
I have a requirement to close the window when user hits Logoff button. I was able to download masthead.bak file but not able to find a place where should I put my Javascript.
Can any body help me?
Thanks in advance for your help.
Regards
Jitendra

Hi Jitendra,
Please check openLogoffMsg() javascript function in HeaderView.jsp and check LogoffConfirmMsg.jsp file in Masthead par file and update as per you requirement.
Hope it helps
Regards
Arun

Similar Messages

  • How to set different urls for logoff button for different user groups

    HI All,
    We have two different set of users in our company .when one user group clicks on the logoff button in masthead we want to redirect them to for example www.google.com and for the other group we want to redirect to www.gmail.com.
    How can we acheive this particular requirement
    Thanks
    Bala Duvvuri

    hi bala,
    For the  two user groups maintain two different desktops, two/same themes and frame work.change the headeriview jsp in masthead par file to Google and save it as masthead1 and another one with gmail as masthead2 then create iviews with that par file and assign them to different groups and make invisible the default masthead iview.then the users get the logoff based on group you can get some wikis on changing log off or redirecting log off, check these threads
    Portal logoff : Redirection or Close the Entire Window
    Portal Logoff redirection URL
    Regards
    Mahesh

  • Coding a LOGOFF button for a single Webdynpro Application

    Hi Experts,
           Can you please help me with the coding for a LOGOFF button for a standalone Webdyn pro Application.
    I did do the initial research and have the following in place.
            View O/P plug => Calling Window I/P plug => Calling Window O/P plug [Type 1 Exit ].
    Also, have the following coding in the Window I/P Plug.
                       wd_this->fire_op_logoff_plg(
              close_window = ABAP_TRUE  " wdy_boolean
    The Problem  is, When I press the LOGOFF button, a Window pops-up with "Do you want to Close this Window?" and Has 2 buttons YES/NO. If the user clicks YES, the window close and ALL IS WELL! But if the user CLICKs "NO" .  The Brower is still open with the message "Application was terminated; You can close the Window". Not sure how to take it forward. Please advise.
           If am totally fine, if I can close the window w/o any popup or user option.
    Cheers in advance!

    Hi,
    What you enumerated above should be all you need to code logoff:
    View O/P plug => Calling Window I/P plug => Calling Window O/P plug Type 1 Exit .
    Also, have the following coding in the Window I/P Plug.
    wd_this->fire_op_logoff_plg(
    close_window = ABAP_TRUE " wdy_boolean
    Just check your sessions before and after you click the logoff button. You should see the HTTP session only while the WD app is active.
    Are you saying it is not working? Did you setup the navigation link between the I->O plugs?
    Is there a problem?
    Regards,
    George

  • Code for logoff button

    i have to create a logoff button in a web page which will redirect it back to the login page, but it is not redirecting it, instead it remains in the home page of a web page.
    CODE:---
    @if (Request.IsAuthenticated)
        string name = " ";
        if (!String.IsNullOrEmpty(User.Identity.Name))
            name = User.Identity.Name;
        <text>
        Hello, @Html.ActionLink(name, "Manage", "Account", routeValues: null, htmlAttributes: new { @class = "username", title = "Manage" })!
                @using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm" }))
                    @Html.AntiForgeryToken()
                    <a href="javascript:document.getElementById('logoutForm').submit()">Log off</a>
        </text>
    else
        <ul>
            <li>@Html.ActionLink("Register", "Register", "Account", routeValues: null, htmlAttributes: new { id = "registerLink" })</li>
            <li>@Html.ActionLink("Log in", "Login", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" })</li>
        </ul>
    PLEASE PROVIDE ME WITH THE BEST SOLUTIONS.

    Check your route. If you still having problem then post it to http://forums.asp.net.
    chanmm
    chanmm

  • Need to "move" the Help|Personalize|Logoff links below masthead

    I need to move the links Help/Personalize/Logoff from the masthead to below the masthead. This is what I did:
    1. hid the links in the masthead by using the "Show..." properties of the masthead iView
    2. created a new iview with the links Help/Persoanlize/Logoff and add it to the framework page under the masthead. This iView is based on the masthead iView source code where I removed the banner and welcome areas.
    But when I did that, the logoff functionality stopped working. Do you have any other ideas on how to achieve this without impacting the logoff functionality?
    Thanks in advance,
    Tiberiu

    Hi Tiberiu,
    Change the masthed par file for this. It is a simple process deploy the par in to NWDS and change th .jsp file which is structured in HTML table format.
    <table>
         <tr>
                <td> </td>
                <td> </td>
         </tr>
    <table>
    here everything is shown in single row.
    just make a new row <tr> </tr>
    cut the code responsible for logoff/personalize and paste it in the new row.
    (Simply, change it as u like)
    deploy it in portal and create and iview for it add it to the Default FrameWork Page at top and make the old masthead disable/remove it.
    Try it,
    MrChowdary.

  • How to enable logoff button in OBIEE?

    Hi guys,
    We are implementing APCC-ASCP-Demantra which uses OBIEE.
    We are unable to see logoff button inside of the Dashboards page, is there any way to enable it?
    I have added next line inside of my instanceconfig.xml file:
    <LogoffUrl>http://<hostname>:<port>/analytics/saw.dll?Dashboard</LogoffUrl>
    Any advice or help will be really appreciated.
    Thanks in advance.
    Kind regards,
    Francisco Mtz. Oviedo

    Hi,
    Sorry for the late response.. Please add this line in your instanceconfig.xml file.
    <LogoffUrl>http://server:port/analytics/saw.dll?Logoff></LogoffUrl>
    It should point to saw.dll?Logoff not saw.dll?Dashboard.
    ThanQ
    Anand

  • CRM Logo, Personalize, Logoff Button Bar on top is disabled.... ?

    Hi Experts
    We have CRM 7.0 ... and Marketing, Sales, Services are opening with out TOP APPLICATION which includes the Logo, Personalize , logoff button ...ETC...
    SICF Activation i have done for all ... but still it is not visible ... do i required to do any setting ?..
    for top bar we are getting below Error
    Error .....is
    An error occurred during initialization of the application
    An exception occurred during the internal HTTP communicationException Class CX_BSP_WD_HTTP_RESPONSE_ERROR
    Text: 
    Additional Info: Business Server Page (BSP) Error
    Program: CL_BSP_WD_STREAM_LOADER=======CP
    Include: CL_BSP_WD_STREAM_LOADER=======CM002
    Source Text Row: 159
    Regards
    kalyan

    Hi Experts
    Above problem L-SHAPE Horizantal navigation bar is disabled ... and Vertical is activated .....
    Please help me to activate the above options like LOGO, LOG OFF button ...etc..
    Regards
    Kalyan

  • Logoff button in FPM application

    Hi,
    I've created a FPM application, which is accessed directly through IE (as opposed to Portal).  Because of this, the standard Close button is not appearing, so I have added my own logoff button.  When pressed, this raises the event cl_fpm_event=>gc_event_close in the Configuration Controller component, which causes IE to prompt that the window is being closed and the standard logoff page to be displayed.
    My problem is that the authentication data is still existing in IE if the window is not actually closed, so if the user then presses Back or goes to the URL again they can access the application without having to login again.
    The SAP help [http://help.sap.com/saphelp_nw70/helpdata/en/fc/04a5421935c511e10000000a1550b0/content.htm] shows how to create your own logoff page, and also how to clear the authentication cache with
    document.execCommand( 'ClearAuthenticationCache' );
    I've tried to implement this for my FPM application in SICF, but it is being ignored.  I can't even get a simple bit of HTML to be displayed instead of the standard logoff page.  Can anyone help please?
    - How to get your own logoff page working with a FPM application
    - How to run the Javascript to clear the Authentication Cache (I'm assuming that once I can get my own page inserted it will be a case of executing the Javascript in the BODY ONLOAD event).
    Thanks

    hi,
    I am able to use the logoff page with slightly modified java script.
    use the script like this
    http://wiki.sdn.sap.com/wiki/display/BSP/ClosingaBrowserWindowviaaBSP
    clearing the authentication, i havent tried  but i have read in forums that they are not successful to implement that.
    http://wiki.sdn.sap.com/wiki/display/ERPHCM/Sessionnotendingafterlogoff

  • How to remove logoff button from the Portal?

    Could anyone help me to remove the logoff button from the Portal? I am using netweaver portal 7.0 Thanks!

    Hi Michael,
    Thank you for your reply!
    Can I do it through the portal or I have to do customized programming in NWDS? Could you please show me step by step in details?
    In the future the portal will be use SSO with active directory so user does not have to login/logoff. I think the session in the server will be closed after a couple of minutes. What do you think?

  • Destroy Portal Window on click on Logoff button

    Hi Experts,
    My requirement is a simple one. I simply need to destroy the portal window on click of logoff button. Initially i followed a few blogs and did the following.
    Created an HTML KM document and copied its link under the ume.logoff.redirect.url property. But this link is getting appended twice when i click the logoff button.
    Please let me know if there is some other way or if I need to make changes in the current approach. We access the portal within our own network i,e intranet.

    Hi Kaustubh,
    Below is the way we did -
    Create a logoff.html and place it inside km at any folder location. make sure everyuser group has full permission to this km folder. below is the code -
    use html head and start script language then -
    function closeWindow()
            window.opener = top;
            window.close();
    end script language
    call onload closewindow
    end body and end html.
    now, open visual admin and goto propery name - ume.logoff.redirect.url and write property value as -
    Property Value =
    http://<Server hostname:port>/irj/go/km/docs/.../.../logoff.html
    and restart the server.
    hope it helps.
    Regards,
    Sen

  • Logoff button opens a new Window

    Hi gurus,
    we have newly installed EP 6.0 SP20. When we try to logoff the portals with the log off button, a new window is opened and the logoff takes a lot of time to actually logoff. The new window is open even after the delayed logoff. Has any one faced this issue and is it a known issue and does it have a fix or suggest take it up with SAP as i have not found anyrelated notes
    Please Advise
    regards
    raj

    Hi,
    logoff portal issue are also ""common"" in EP7.
    With the EP7 SP6 or 7, sorry I can not exactly remember, we were experiencing log off problem using IE6.
    Mozilla were working.
    With SP 11, log off option works on both Mozilla and IE 6, opening a new window and log off quite quickly.
    Here's my little experience.
    Fabien.

  • Close the Browser which clicking Logoff Button

    Hi,
         I have requirement like this,
                                      I have button Logoff. While clicking this button my webdynpro application must close i.e
    it must close the browser.
    I am using the following code 
    "com.sap.tc.webdynpro.services.sal.um.api.WDClientUser.forceLogoffClientUser("");".
    But this code moves  to some other screen and gives message "Webdtnpro applicaation is closed,bye".
    Please help with the code and procedure to handle the Logoff.
    Thanks,
    Anitha.

    Hi,
    The following steps describe how to terminate the application using an exit plug with a parameter defined for the URL. This procedure is recommended by SAP, because after the termination of a Web Dynpro application the user is not logged off when executing a Web Dynpro application on the NetWeaver Portal.
           1.      Define an exit plug in an interface view of your local component interface which is displayed in the Web Dynpro Explorer view. Either use the default interface view, or create a new one. Open the Controller Editor with its plugs, and create an exit plug within the outbound plug table (via New).
           2.      Follow the wizard, and enter the name Url for the parameter and select string as the type. This parameter is case-sensitive and must be entered exactly this way.
           3.      Go to your view, define an action with name Exit and use the default event handler named onActionExit().
           4.      In the view layout, define a button and bind its onAction event to the Exit action. To do so, start the View Designer on the view unit (Open ® Open View Editor, choose Layout tab).
           5.      Display Properties for the current view unit, and define usage of the Component Controller of your WD Component.
           6.      Switch to the view controller coding: Choose tab Methods, then press F3 on method name to start the editor with the implementation (.java file). Add the following method coding:
    //@@begin onActionExit(ServerEvent)
      String logoffURL = wdComponentAPI.getApplication().getApplicationInfo().findInApplicationProperties("sap.logoffURL").getValue();
    wdThis.wdGetTimeCompInterfaceViewController().wdFirePlugExit(logoffURL);
    //@@end
    Or
    Follow this procedure,
    create a button and create an action exit.
    in exit method write the following code
    public void onActionexit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActionexit(ServerEvent)
    com.sap.tc.webdynpro.services.sal.um.api.WDClientUser.forceLogoffClientUser(null);
    //@@end
    Refer these threads also,
    Regards,
    sunaina Reddy T

  • Logoff back in masthead

    Dear forumpeople,
    Someone in my company changed the masthead of our portal, he thought it would make it look good :o) But now the problem is, the Logoff option disappeared, any clue how to get it back?!
    Is it (easy) possible to add a profile part to your page, so you can see a memberlist and check its profiles?!
    Hans "The Giver of Points" Wassink

    Hi,
    follow the below steps
    1) goto content administration on the portal
    2) then in portal content goto portal users folder
    3) in that goto standard portal users
    4) in that you select default framework page and right click open object
    5)choose masthead iview and press open
    6) in property category select show all
    7)and from their you select the propert
        show link in masthead:log on / log off
    set this property to yes.and save it.
    to do all this steps you need to have system administrator rights or content administrator rights.
    *************please reward points if the information is helpful to you*****************

  • Logoff button is not working for end user application

    Hi Team ,
    Enterprise Portal : SAP Netweaver 7.0 We have updated Support pack from SP11 to SP21.
    and in End user application log-off tab is not working.
    ALthough when we login through Administrator user it is working  fine
    Regards,
    Kamal

    Dear Kamal,
    I can think of 2 reasons:
    1. Java Version
    2. Compatibilty Mode of Internet Explorer. There is a button on the address bar next to the refresh button in IE 9.
    Regards,
    Pranav.

  • Itsmobile - remove send and logoff buttons

    Hi All
    How do I remove the send, logoff and sap image from the itsmobile screens.
    Is there a configuration paramater to do this.
    Many thanks
    Darren

    Hi Edgar,
    I am facing a similar issue.
    We need to remove the end, Log Off, and SAP logo in the upper right of the screen so that we can get rid of the vertical scrollbar that appears on the screen.
    For this, as suggested, when I copy the cuaareainclude file to my service(and republish entire service) and execute it, I get a system error but when I remove the parameter ~ITSMOBILECUAINCLUDE, it works fine.
    Can you please help resolve this.
    PS: I've checked with the basis team that it the system meets the minimum requirements to use the parameters.
    Many thanks in advance!!
    Regards
    KP
    Edited by: kp2 on Apr 21, 2011 12:15 AM

Maybe you are looking for

  • CS4 Master Collection Install

    A little advice here. I would like to install CS4 Master Collection. I have never had any creative suites on my computer but I do have Premier Pro 2.0, Ultra 2, After Effects 6.0, Audition, Photoshop, Visual Communicator, etc. all purchased seperatly

  • Get no. of lines in sap script

    I am using Command  'Address / End address' in sap script for printing address. How do I get the Number of Lines we get from this command.

  • This program for create table

    hai, this is v.chandra sekhar reddy,i do create table program, it is compailing successfully but when the running of program i have got below error message.please considered my problem. Exception in thread "main" java.sql.SQLException: ORA-00907: mis

  • Install CS4 over CS3?

    I have a trouble-free installation of CS3 Web Premium, and have just purchased CS4.  Any thoughts on whether any or all CS3 components should be uninstalled before putting in CS4?  Or should I just do a parallel installation and have both?  I have a

  • Ruined credit by Verizon from a final bill that was NEVER sent

    I have the exact issues as MANY Verizon customers. I was a LOYAL customer for at least 10 years and moved Verizon services with me twice. My last move I wasn't able to use Verizon so I was forced to use another company for internet and cable. Showing