In custom Masthead logoff functionality is not working properly

Hi ,
We have customized Masthead based on standard SAP par  “com.freescale.navigation.masthead"
I am explaining issue with example.
1)     User logon to Portal.
2)     He is under “System Administrator -> Support” page.
3)     He press “Sign Out” link which is provided in custom masthead.
4)     User log off from the portal.
5)     But Address bar is showing following URL
6)     “https://(portal-server) /irj/portal?NavigationTarget=ROLES://portal_content/administrator/system_admin/system_admin_role/com.sap.portal.system_admin_ws/com.sap.portal.support/com.sap.portal.support_desk ”
7) Ie. When user again Log on he directly jumps to the
“System Administrator -> Support” page.
I want to remove the NavigationTarget part from the address bar when user Log Off. So that when user logon again he should able to see the default role after log on.
HeaderView.jsp is having following code :
For “Sign Out” link , I am calling Javascript function. openLogoffMsg()
function openLogoffMsg()
<%if (!isPreview){%>
    if (EPCM.getUAType() == EPCM.MSIE)
        var val = window.showModalDialog('<%=GetLogoffConfirmMsgURL(componentRequest)%>', '', '<%=LOGOFF_CONFIRM_MSG_ARGS_IE%>');
        if (val == 'logoff')
           logoff();
    else
        window.open('<%=GetLogoffConfirmMsgURL(componentRequest)%>', '<%=LOGOFF_CONFIRM_WINDOW_NAME%>', '<%=LOGOFF_CONFIRM_MSG_ARGS_NS%>');
<%}%>
function logoff()
    EPCM.raiseEvent("urn:com.sapportals.portal:user", "logoff", "");
    document.forms["logoffForm"].submit();
<form name="logoffForm" style="display:none" action="<%=GetLogoffURL(componentRequest)%>" method="POST">
     <input type="hidden" name="logout_submit" value="true"></input>
</form>
private String GetLogoffURL(IPortalComponentRequest request)
    IPortalComponentURI logoffURI = request.createPortalComponentURI();
    return logoffURI.toString();
Thanks in Advance.
Thanks and Regards,
Shrikant

Hi Shrikant,
In masthead par file there is LogInRedirect.jsp which is responsible for getting logon URL and display logon page back in browser after logoff is done. This jsp inturn calls getPortalURL function. This function is present in logon par file (umLogoffPage.jsp). If you have made changes in logon par file make sure that this jsp has that function.
Have a look at these two par files and make sure these functions are these.
Regards,
Vishal
PS: Reward points if answer is helpful

Similar Messages

  • Copy Function is Not Working properly In Order Management

    Hi,
    Description-
    When an order with remnant model is copied, it copied only the topple model line and they include items attached to the top model line. It doesn’t copy the
    option class lines and the option item lines (unshipped and shipped).
    Example-
    Enter an order with for pd-pto-model. See order#21231.The ordered quantities and structure of the model is shown below:
    pd-pto-model 5 qty
    pd-std-item1 (included item) 5 qty
    pd-pto-oc (option class) 5 qty
    pd-std-item1 (included item with rfr checked) 5 qty
    pd-std-item2 (option item with rfr checked) 5 qty
    pd-std-item3 (option item) 5 qty
    Booked the order and pick relased the order. While shipconfirming only shipped 5 qty of pd-std-item3 and staged the rest. On querying the sales order, the line status is seen correctly as follows:
    pd-pto-model Closed
    pd-std-item1 (included item) Picked
    pd-pto-oc (option class) Closed
    pd-std-item1 (included item with rfr checked) Picked
    pd-std-item2 (option item with rfr checked) Picked
    pd-std-item3 (option item) Partially Interfaced to receivables
    Copied this order from the order header. The new order# is 21232.On querying the order, I see only 2 lines as follows:pd-pto-model.
    Anyone can help me on this issue.
    Thanks,
    Chinna

    haisrig wrote:
    Hi ,
    We are facing an issue with select() in Solaris 10. we had written a sample program to this issue.
    Program name :- sel.cpp
    int main()
    struct timeval sleeptime;
    sleeptime.tv_sec = 60;
    printf("1\n");
    select(0,NULL,NULL,NULL,&sleeptime);
    printf("2");
    return 0;
    When i run this program in Solaris 9, its printing 1 and after one minute its printing 2.
    When i run this program on Solaris 10, its printing 1 and 2 without waiting for 60 seconds.
    When i tried to print tv_usec, its printing as 0 in solaris 9 and some garbage values in solaris 10.
    I think because of that the above select function is not working properly in solaris 10.
    Why the tv_usec is not taking 0 as default values in Solaris 10?
    We are using our legacy code for past 20 years. So, before going to do any changes we are trying to find why this happenig like this.Hi
    It sounds to me that you've been lucky for 20 years then.
    Local POD variables on the stack that aren't explicitly initialized can contain any value. Here's what I see in your app with dbx
    (dbx) run
    Running: sel
    stopped in main at line 9 in file "sel.cpp"
        9      sleeptime.tv_sec = 60;
    (dbx) print sleeptime
    sleeptime = {
        tv_sec  = -4198732
        tv_usec = 0
    }That's on a Solaris 10 SPARC machine. If I try it on a Solaris 10 x86 box then I get
    (dbx) print sleeptime
    sleeptime = {
    tv_sec = -830490588
    tv_usec = 134510556
    and I see the behaviour that you describe.
    Paul

  • Select() function is not working properly in solaris 10.

    Hi ,
    We are facing an issue with select() in Solaris 10. we had written a sample program to this issue.
    Program name :- sel.cpp
    int main()
    struct timeval sleeptime;
    sleeptime.tv_sec = 60;
    printf("1\n");
    select(0,NULL,NULL,NULL,&sleeptime);
    printf("2");
    return 0;
    When i run this program in Solaris 9, its printing 1 and after one minute its printing 2.
    When i run this program on Solaris 10, its printing 1 and 2 without waiting for 60 seconds.
    When i tried to print tv_usec, its printing as 0 in solaris 9 and some garbage values in solaris 10.
    I think because of that the above select function is not working properly in solaris 10.
    Why the tv_usec is not taking 0 as default values in Solaris 10?
    We are using our legacy code for past 20 years. So, before going to do any changes we are trying to find why this happenig like this.
    Thanks a lot.
    Regards,
    Srikanth.

    haisrig wrote:
    Hi ,
    We are facing an issue with select() in Solaris 10. we had written a sample program to this issue.
    Program name :- sel.cpp
    int main()
    struct timeval sleeptime;
    sleeptime.tv_sec = 60;
    printf("1\n");
    select(0,NULL,NULL,NULL,&sleeptime);
    printf("2");
    return 0;
    When i run this program in Solaris 9, its printing 1 and after one minute its printing 2.
    When i run this program on Solaris 10, its printing 1 and 2 without waiting for 60 seconds.
    When i tried to print tv_usec, its printing as 0 in solaris 9 and some garbage values in solaris 10.
    I think because of that the above select function is not working properly in solaris 10.
    Why the tv_usec is not taking 0 as default values in Solaris 10?
    We are using our legacy code for past 20 years. So, before going to do any changes we are trying to find why this happenig like this.Hi
    It sounds to me that you've been lucky for 20 years then.
    Local POD variables on the stack that aren't explicitly initialized can contain any value. Here's what I see in your app with dbx
    (dbx) run
    Running: sel
    stopped in main at line 9 in file "sel.cpp"
        9      sleeptime.tv_sec = 60;
    (dbx) print sleeptime
    sleeptime = {
        tv_sec  = -4198732
        tv_usec = 0
    }That's on a Solaris 10 SPARC machine. If I try it on a Solaris 10 x86 box then I get
    (dbx) print sleeptime
    sleeptime = {
    tv_sec = -830490588
    tv_usec = 134510556
    and I see the behaviour that you describe.
    Paul

  • Windows 7 Brightness and Function key not Working Properly

    i have HP 15-af024AU APU Quad Core A8-7410 - (4 GB DDR3,1 TB HDD) Noteboook and it  came with windows 8.1 preinstalled than i installed windows 7 ultimate.
    i have problem in Display Brightness i am not able to change Brightness by function key or by manually from windows settings.
    2. my Function key are not working properly . all key are fliped whiout holding function key it work as function key. 3. bluetooth is not working when i search for new device not able to find any available discouable bluetooth device. 4. wireless button software is not wokring in windows 7 i already updated my bios that available in drivers support and install alll drivers too properly so please give proper drivers for windows 7 for this product that works perfect.

    Sorry that driver didn't work. You can try this graphics driver and if that doesn't work, unfortunately, I won't be able to help you with that issue. This package provides the AMD High-Definition (HD) Graphics Driver and Catalyst Control Center for supported notebook models that are running a supported operating system. For notebooks with switchable graphics modes, this package includes drivers for both graphics processing units (GPUs). Switchable graphics enable users to switch between a power-saving graphics mode (normally used under battery power) and a high-performance graphics mode. If high-definition multimedia interface (HDMI) video output is supported, this package also installs the HDMI Audio Driver. File name: sp71253.exe As far as the Fn keys being 'flipped,' I have no idea what you mean by that, or what to do about it. Did you install the software that controls the funtion keys? This package contains the HP System Event Utility, which enables special function keys on supported notebook models to be programmed. For example, HP System Event Utility enables users to press the Fn+ESC keys to view system information. This software works with the supported operating systems. File name: sp71156.exe

  • Display has white and grey lines and blocks crisscrossing it and touch functions are not working properly on half the screen.

    I dropped my iPhone 5S and it landed flat on it's face (it was in a protective case).  Since then my touch screen display is not working properly. I have white and grey lines and/or blocks crisscrossing the screen both horizontally and vertically.  Screen responds to touch in odd random ways, but rarely does what I am trying to do.  Can't call or receive calls because can't dial or answer phone via swipe. Can't text or read incoming texts. All functions seem to be working except that I can't access them because the touch screen is acting up. If I move the phone around it randomly accesses different apps or functions, but I have no control over them once the appear on the screen.  Touching screen just causes phone to randomly choose something else to open.  What have I damaged?

    Shanegang77 wrote:
    What have I damaged?
    We cannot possibly tell. Obviously some hardware inside. Take it in to an Apple Store. They will offer you the opportunity to swap the phone for $269 in the US. Prices vary by country.

  • Satellite L850 - Special function key not working properly

    Hi Everyone,
    I had Satellite L850 (pskg8a-07f001) running windows 8 64 bite for just 2 months.
    Just within this week, the special function key not working, each time I start the pc, i have to go into toshiba desktop assist then function key then click ok, it will working.
    But the touch pad has been set as enabled, also under keyboard setting has been set as special function mode. But don't know why each time start the pc have to go into function key box then click ok.
    When I bought it everything is ok, i can use the special function key to turn up and down the volume and disable wireless...etc
    Please advise. Thks a lot!

    Take a look here:
    Function key changes in Satellite and Qosmio 800 series
    http://aps2.toshiba-tro.de/kb0/TSB2903E00000R01.htm
    You can use the traditional FN + F key mode or just an F key mode.
    This can be enabled and disabled in BIOS or the HWSetup
    In BIOS go to Advanced -> System configuration -> Function key mode
    This mode can be changed
    Also be sure that Function Button option is enabled too

  • G510 installed Windows 8.1 Function keys not working properly

    Hi 
    I am Bharath
    last week i have puchased lenovo g510 laptop and installed windows 8.1 and later on automatically function keys and all the keys were not working properly. if i press key to increase brightness and some other operation is performing by its own. What's wrong with this LENOVO brand is this the way you take lots of money from people. I need an immediate solution from basic support to my home. If at all it is not resolved i will file a case on consumer court that LENOVO was chaeten me and what ever it may be i will go for end.
    Give me a clear answer with out any stupidity
    Moderator Note; subject edited; post moved here to start new thread

    hi bharath666,
    Welcome to Lenovo Community Forums!
    Were you able to install all the drivers and Software After the New installation of Win 8.1?
       Get the drivers here
     http://mobilesupport.lenovo.com/us/en/products/laptops-and-netbooks/lenovo-g-series-laptops/lenovo-...
    Start with the Chipset installation first then whatever comes next.
    Make sure you select the proper version for your Windows type and version.
    Regards
    Solid Cruver
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • RH9 Webhelp Search function is not working properly

    Hi,
    My organization is using RH9 for a Webhelp project.  My company and our client are restricted to using IE9 for the online help I have created for this project, and our OS environment is Windows 7.  When I generate using the Webhelp layout, with the TOC, Index and Search options chosen, my resulting browser window shows two frames.  Left for the Contents/Index/Search and right for the content.  In the left panel, there are three links at the top for Contents, Index and Search.  When I click on the Search link, the only thing I see is the alphabet A-Z (which are links to filter items beginning with these letters (much like the index link) and a list of what I would say is garbage.  For example, if I click on H, I see items like "half 1 2 3" or "held" or "honor # 1 2 3 4 5 6 7 8", etc.  If I run my cursor down this list, I notice that maybe the word honor is a link.  If clicked it brings up one of my topic pages.  I can also click on the random numbers that appear, like clicking on 3 it brings up another topic page.  The search function does not allow me to type in a search criteria, since there is no search field as well.
    Do you have any suggestions for this issue?  Is this a bug, or do I need to change settings somewhere within RH9?  The same thing is happening when using this help project that is running on our clients server.  Is there any suggestion you can give to try and make this work properly?

    Rick,  Thanks for stepping in.    I assumed that was the reason why I was not receiving the search field, and that is fine for now.  We have discussed with our client the possibility of having two different help projects one for each, but that decision was kind of put on the back burner.
    However, the other issue I am having is still there and I don't quite understand why.  Since I only have clickable A-Zs for the search, and it lists links much like the Index section, I'm still seeing lists of just numbers and characters (i.e., "# 1 2 3 4 5", or "%" or "& 1 2 3 4 5" sometimes all the way up to 18 or so).  And each of these characters or numbers are clickable links as well to either page that doesn't contain that number or to nothing.
    Doing a bit more research, I have noticed that a lot of these links are being picked up by the PDF file we have as part of the project.  Our help project has a link to the documented version of the help in the form of a User Guide.pdf file.  So the search is listing items from that guide like the heading numbers 1.0, 1.0.1, etc.  Also each of these are clickable links that go nowhere.  But then there is still the numbers 1, 2, etc that go to pages that don't have this anywhere on the page.
    Do you have any insight as to why these types of things are being listed under Search at all?  They make that selection look very messy and unorganized.  Not professional at all.  I have checked and tested the properties settings and can't seem to find what is causing this to happen.  Any idea would be most appreciated!!

  • In Logic account the operator function is not working properly

    Hi all ,
    When am defiining the logic accounts using a operator as Function ,it is not working at all showing a red border in the cell and not able to update the grid .
    InValue/Exp-> am using a function -> CurVal > 0 then Result=CurVal else Result ="skip" endif
    Please suggest me if there is some workaround available for this ?

    Thanks for the Link!!
    We are using the FDM version 11.1.1.3 and Target as HFM .
    Now i am creating a logic account say Item - L1100 ,Type-IN, Criteria value-1100,Operator-Function(Not working),
    Value/Exp->If CURVAL > 0 Then      RESULT = CURVAL Else Result=”Skip” End If.
    As soon as i select the operator(Function) ,it shows a red border on the operator cell and couldn't able to update the grid .
    Have searched the OTN discussion forumns and find no answer for this !! Could you please sugesst me if any workaround available for this piece ?
    Thanks
    Kenny

  • Function Keys not working properly after recent update today.

    Sat C855 - today I downloaded the 2 recent updates & now my function keys aren't working properly. Anyone one else have that problem? What can I do?

    Hi! Night shift here! You can find the full model number on the bottom of your laptop. Jerry might not log on again tonight!
    Dokie!
    I Love my Satellite L775D-S7222 Laptop. Some days you're the windshield, Some days you're the bug. The Computer world is crazy. If you have answers to computer problems, pass them forward.
    Attachments:
    Capture40.JPG ‏366 KB

  • Several Standard functions are not working properly in CRM Web

    We are working on different ABAP developments embedded on a Web environment, and we are facing some issues with different standard functions. This functions such as GUI_DOWNLOAD, GUI_UPLOAD, MS_EXCEL_OLE_STANDARD_DAT, POPUP_TO_CONFIRM which are used in the ABAP developments work fine on the GUI environment while in the WEB environment they do not work.
    This functions allow us to perform files uploads and downloads in .txt format as well as in .xls format.
    Some of the suggested solutions were to solve this by using BSP application or Web Dynpros.
    Does this WEB tool contain any update, SAP note or any function which may replace the 4 functions mentioned above is order to solve this issue?
    Thanks in advance
    Best Regards,
    Alexis Chavero.

    There are no standard functions in Web UI  that replicate what these functions do in GUI. This was discussed before [here|Read file from presentation server (like GUI_UPLOAD);. As far as I know, we have to code ourselves. One way to try is published [here|http://wiki.sdn.sap.com/wiki/display/CRM/CRMWebUI-UploadingdatafromExcelfiles].

  • My Open 'New Document' function is not working properly on Illustrator CS5

    When I open a 'New Document' a message pops up saying 'Print.ai' is not working, I wanted to open a custom 'New Document Profile' not print.  The custom option is grayed out and I cannot select it.  What do I do?

    If you can create a new document by any means, then set up the document the way you want the preset to be, and save the file here:
    ~/Library/Application Support/Adobe/Adobe Illustrator CS5/en_US/New Document Profiles
    You might need to delete/replace the faulty Print.ai file.

  • My copy and paste functions are not working properly since iOS 8 update

    Ever since I updated to iOS 8 on my iPhone 4s the copy and paste function isn't working. It'll work the first time but any time I copy something else it pastes the first thing I copy. The only fix I've found is rebooting the phone but that is a pain to do every time I want to copy something and should be very unnecessary. I updated to 8.0.2 but that didn't fix it.

    Have you tried rebooting?

  • Search function does not work properly

    when trying the search function in the new forum design, i'm not able to restrict the search to a specific community.
    typing in my search words an then clicking the option button i can select a community, but when i then click "search" again, i only get this comment:
    'It appears you're not allowed to view what you requested. You might contact your administrator if you think this is a mistake."

    Just tested that in a couple of communities, and it worked as expected.
    For example, I entered the term 'search' here in this community, and a popup with ten results appeared.
    All looks like this:
    Only for ... Communities looks like this:
    View All Results takes me to a search page with at least two pages of results from this forum:
    Pretty sure that's all the search function can be expected to do ... when it's working.

  • Function key not Working Properly

    function key fliped mean ,when i press F6 only this will mute my volume. and when i press FN+F6 it work as F6 when i Press FN+F5 it refresh , when i press F5 only nothing happenplease give solution .

    Hi
    Disable Action Key in BIOS:
    support.hp.com/in-en/document/c02035108
    Regards
    Visruth

Maybe you are looking for

  • Left Outer Join not working in Infoset.

    Hello Friends, I have two ODSes , one for planned data (zplan) and other is billing z ods (zsd_o03). now the situation is such that in my planned ODS  for one sold to party . SOLD TO        MATERRIAL CALMONT     PLANNED QUANTIY 14315            100  

  • URGENT: REGARDING ROUTING REPORT(plzz help me out)

    Hi, I am making a report in which i have to display the stock during the routing i.e. in CA03 we get to know which are the operations are implemented on a material. the requirement is if there are 50 pcs of material are in 1st operation and only 10 m

  • Parse SQL

    I'm trying to create a simple user reporting package for use on the web using pl/sql. The concept is simple, allow the user to type in a SQL statement into a web form. When it is submitted, I need to parse the SELECT in order to create a table with c

  • In segment IDOC attribute I occurred instead of SEGMENT

    Hi I am trying to post an IDOC thru XI, using XSLT(ABAP Engine) to convert an incoming message to IDOC format. Though the IDOC output is well formed, the message fails with an error message(see below). Has anyone experienced this problem before? I am

  • Surround panning and automation

    I thought I posted this already, but I'm not seeing it. In the automation windows for channels, the surround paramaters that show up are radius, angle, and center. The manual makes a tiny mention of surround values in XY, but that's only mentioned un