Language dropdown in Masthead iView

Hello All,
Fllowing is the weblog which has described about how to show language dropdown for anonymous users.
SP12/SP20: Portal Localization for Anonymous Users
My requirement is:
Even though user is authenticated user, we want to show the language dropdown to change the user language.
I know we can change this user language from personalization link if user is authenticated. But, we want dropdown to be shown on the masthead iView.
I have changed masthead iView JSP application and i was able to display the dropdown even though user is authenticated.
On dorpdown element, we have onSelect event and on this event, I am calling one Javascript function called, "onSelect_Language". Somehow this function is not being called.
For testing, I have written code to show alert only.
So, it should show the alert and i can confirm whether function is being called.
But, i am not getting any alert.
Can you please help me?

Hi,
The same type of drop down we can set it in the logon page easily.
Make it available in logon page and try to change it to masthead using the same code.
I never tried.
We created the below fuction for different reason check it once may be usefull
     Create a javascript/ directory in the par structure
     Add the file customBranches.js in this directory      
Edit the file PORTAL-INF/jsp/HeaderiView.jsp in order to call the Branch Dropdown.
EPCM.subscribeEvent("urn:com.sapportals:navigation", "Navigate", pop);
Check this sample refresh function with alert.
                       _refreshPage: function() {
           try {
             frameworkSupport.refreshContentArea();
           } catch(e) {
             document.location.reload()
Thanks and Regards,
gopal.sattiraju.

Similar Messages

  • Language dropdown in Portal Masthead

    Is it possible to add a language dropdown in the masthead of the portal, wiht predetermined languages?
    This would be for existing users to change language on the fly.
    If possible, will it change the language in the user's profile?
    On the same note, is it possible to verify on language in the MasterRule of the Portal?
    I'm on EP7 SP09 ...

    Hi Maurice,
    yes it is, and it's very easy... well, almost.
    You will need to modify an SAP component named
    com.sap.portal.navigation.masthead.par
    ... and there you will create your new object (the dropdown).
    Of course you will need to code:
    - the events
    - how to render the dropdown (HTMLB for example)
    - user validation and updating the user setting
    This is a good link that gives you a brief intro on how to start developing your solution:
    http://keelypavan.blogspot.com/2007/01/customizing-sap-portal-master-header_12.html
    You can also check more on SDN, try searching for
    com.sap.portal.navigation.masthead.par
    Good Luck!
    Kindest Regards
    /Ricardo Quintas

  • How to edit a copy of the masthead iView

    Hi,
    I downloaded a copy of the masthead iView (com.sap.portal.masthead) in NW studio and I want to change the .jsp files by swapping the logo and the welcome text (shoud go to the right instead of left).
    This is very easy to change in the JSP file, but somehow my NW studio doesn't allow me to make changes to the file.
    How can I edit the import (from par) project?
    rgds
    -Daniel

    Hi Daniel
    Did you download the com.sap.portal.masthead.par.bak file from this location.
    System Administration >Support>Portal Runtime-->Browse deployment >WEB-INF>deployment>temp>com.sap.portal.navigation.masthead.par.bak
    Import this file into NDS and it is advisable to change the sap to your company.
    Hope this is clear.
    Regards
    Senthil

  • Problem in creating New masthead iView

    Hi,
      I am trying to create a new Masthead iView from the par "<b>com.sap.portal.navigation.masthead</b>". I have opened the PAR in Developer studio with different name say "NewMasthead". I didnt change anything in the PAR and deployed the "NewMasthead" PAR.
    Then i have created a new iView from the deployed PAR .I have selected the "default" component present it.
    The problem is when i preview the iView it shows the Portal runtime error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    com.sapportals.portal.navigation.HeaderiView.
    Exception id: 05:32_24/05/06_0179_38431050
    See the details for the exception ID in the log file
    Can anyone help me to solve this run time problem. Thanks in advance.
    Rgd,
    Saravanan

    Hi,
    I have downloaded com.sap.portal.navigation.masthead. i renamed project as MyMasthead.par after importing it in NWDS and the deployed the .par file. Now I want to create a masthead iview for this newly deployed .par file.
    What type of iview should I select and how will I select MyMasthead.par for this Iview. I mean should I go for a iview template or webdynpro iview or portal component iview and then where will I select the Mymasthead.par .
    Please give me the detailed steps for creating the iview for masthead from newly deployed par file..

  • WebUI Logon language Dropdown  shows junk values

    Hi
    While Internet explorer language is set as Chinese , I am trying to logon into webUI  with Chinese its showing a junk values in language dropdown list on logon page.
    While IE with English, Its showing proper list in language dropdown.
    Do I need to setup anything from CRM backend or internet explorer?
    Regards,
    DN

    The problem is in detail here
    1. The users are setup IE with Language-Chinese ( through IE--> Internet options > General> Languages --> Chinese)
    2. When they opens with CRM_UI or WebUI  URL, It shows the Junk values in language dropdown list.
    If users are setup IE with Language-English( through IE--> Internet options > General> Languages --> English), Its working fine...Means open with CRM_UI or WebUI  URL its shows proper language dropdown list.
    what could be the problem?
    Regards,
    DN

  • Adding a new masthead iView

    Hi,
    I want to add another masthead iView to EP, mantaining the actual masthead iView.
    The porpouse is define 2 masthead iViews on Portal, assing the new iView to a new framework, and assing this new framework to a new Desktop. This way, all users continue with the same masthead iView but the users that have the new Desktop could have the new masthead iView.
    I've followed the SAP instructions, an I've downloaded the com.sap.portal.navigation.masthead.par.bak, renamed it to com.sap.portal.navigation.masthead.par and imported it to Developer Studio. Now, my question is:
    How can I define the new iVew?
    I must to define it in the same par? In this case, how can I do it? It's enough  creating another HeaderiView.jsp?
    I must to create a new par for this?
    Thanks in advance to all,
    Arnau Rovira

    Hi Arnau,
    Please try this,
    Themes :
    SysAdmin 
                  -->
             Portal Display
                            -->
                        ThemeEditor 
                                  -->
                              Choose a Theme
                                          -->
                                          Make Changes
                                            If Any
                                                     --> Save It
                                                                -->
                                                                Desktop and
                                                                 Display Rules
                                                                          -->
                                                                          Portal Content                                                                               
    --->
                                                                          Portal Users
                                                                          <--
                                                                 Standard Portal
                                                                       Users
                                                                 <--
                                                            Copy [Default Frame
                                                             Work Page & Desktop]
                                                        <--
                                              Paste it In a New Folder
                                            Rename The Desktop
                                           <--
                                             1).OPen The Renamed Desktop
                                             2). Open Folder Themes(sys) and R.C
                                             3).Add theme to DESKTOP.
                                             4)Save it.
                                             <--
                                     Open ->portal Admin -> SuperADmin
                                  <--
                          open -> Master Role Collection
                          <--
                    Select a Role/user/group . From Master Role Collection
                 <--
              R.c On Renamed Desktop and "  add Portal Desktop To Expression".
            <--
       Open Renamed Dektop,Select the theme,
        <--
      Hit The Button "Set Default" (save)
       <--
    Logoff and Logon The Portal Page.
    Regards,
    Ramganesan K.

  • How i will add new link in masthead iview

    Hi,
    i want to add  a new link in masthead iview,
    e.g. i want to add aboutus link .
    so what could be the code/procedure for header.jsp.
    Please help .
    Thanks
    Sanjay

    Hi Sanjay,
    -The three main files in the masthead are HeaderiView.jsp,LogInRedirect.jsp and LogOffConfirmMsg.jsp
    -The HeaderiView contains the masthead users see when they are in the portal.
    -Once you added your link to the HeaderiView.jsp,upload the par file.
    -Once the par file is uploaded to the portal,you need to create a masthead iview based on this par file.
    -Then this iView will be used for masthead on the framework page.
    -create a folder in portal catalog-right click the folder->create a iView from par->select your own masthead iView->choose next->choose default component  and click next->Enter the properties like-iView name,iView ID,prefix,Save as -iView and click next>save.
    Here is the important step :
    Add the iView to the framework page,then only it will be visible to the end users.
    Browse the ramework page being used by the portal in the portal catalog
    Right click on he page->edit->Page Layout->Select masthead iView on the framework page and click remove.
    now iViews(Right click)->Widgets_masthead->Add iView to page->Delta Link->Position the masthead.->Logoff and logon to the portal.
    It should work fine for you now I guess.
    Thank you.
    Regards,
    Karthick

  • Creating  a new Portal Masthead iView..

    Hi,
    I would like to create a new Portal Masthead iView for my portal application which should contain the logoff and help option. From which iView, I can create it?
    Thankyou,
    Sudheesh...

    Hi Sudheesh,
    Masthead: contains branding elements, user identification, and the appropriate (based on the portal configuration) function links from among Help, Personalize, New Session, Log Off and Log On.
    In the Portal Catalog, go to Portal Users --> Standard Portal Users --> Default Framework Page --> Masthead iView, and in the Help Link URL property, enter the URL of the site you want launched when the user clicks the Help link.
    Also check on to this link,
    http://help.sap.com/saphelp_erp2005/helpdata/en/97/d4ee3d6434445ae10000000a11405a/frameset.htm
    Hope it helps,
    Regards,
    Nagarajan.

  • Collapse the Masthead iview - recalculation innerpage frame

    Dear all
    we implemented an coding to collapse the Masthead iview by clicking a icon in the page toolbar iview. The remove of the masthead iview works as expected.
    Now , the innerpage will be enlarged, but a recalculation of the frame on the bottom seems to be needed. The bottom half of an report will be cut off. We tried to adapt the height setting of the iview and the inneriview (FIX, Fullpage, automatic). Unfortunately, without successes.
    Can someone provide an suitable how to guide or only the java script function?
    Thanks in advanced!
    Best regards
    BR

    hi,
    I dont know why you miss the toolarea iview. But to bring it back, you can upload com.sap.portal.navigation.toolarea.par which is found under
    \usr\sap\<SID>\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.navigation.toolarea\private\lib.
    You can upload from sap ide and create a iview out of it and finally add it to the default framework page. This should work fine.
    Regards,
    Ganesh N

  • How to force english language for VC BI Iview

    Hi,
    All developments in BI system are english so when users launch VC BI Iview from the portal what ever the logon language in the portal we would like that users get results in english.
    In the VC iview, for parameter Forced Request Language we select value English but it doesn't work.
    We don't find other iview parameter which allows to do that.
    With BEX WEB template iview, we can do that by setting LANGUAGE=EN for parameter Application Parameters in the
    iview.
    Do you know how to force English language for VCBI Iview ?
    Thanks in advance for your help.
    Mai

    Hello,
    If you use Delta Links between your portal objects (role, workset, page, iview), make sure that the Forced Request Language is set to "English" on the linked iView (which is only accessible from the page, from the workset, from the role...)
    Regards
    Arnaud

  • Logon Language in Java WebDynpro iViews

    Hello,
    I do not see the Logon Language or Forced Language parameters on the standard delivered Java WebDynpro iViews at all. I want an iView to always open in EN regalrdless of the Browser language. I can do that in ABAP WebDynpro and URL iViews; any idea how the same can be done on the JWD iViews?
    Thanks,
    Nakul

    Selecting English locale in IE is the only easy way to ensure the langugage is always English
    There may be ways to try to set the language to english for
    I have seen some situations where the JCO is defined in language English
    - however if the user can still change IE locale - this might supercede any default languages
    set in SAP or produce mixed results
    Best wishes
    Stuart

  • Urgent : How to manage language translation in BSP iViews

    Hi All,
    I am required to maintain my Poratl in bi-lingual ie (German and English) language.
    Now my Portal has got BSP  iViews.
    Through OTR I can maintain both English and German texts for translation in the BSP application.
    When one logs in through R/3 system and executes the BSP application then depending on the sy-langu value the text is dispalyed in EN or DE.
    But if I log in through the portal how do I get the User language maintained in UME and depending on that do the translation of the BSP iViews.
    Please guide me through this.
    Waiting for your reply,
    Thanks & regards,
    Sweta

    You can modify the default portal language or even force a language for all users by modifying the following file :
    <J2EE root>\WEB-INF\portal\system\properties\prtDefault.properties
    Look at the following lines :
    This is the default language to be used when none is specified
    request.defaultlanguage=en
    request.defaultcountry=us
    If you prefer to have the same language for all users no matter their user locale, change the lines to this :
    This is the default language to be used when none is specified
    request.mandatorylanguage=en
    request.mandatorycountry=us

  • Language dropdown on logon screen in EP7.0

    Hi
    I want to display a dropdown containing languages on the logon screen in EP7.0.
    In EP6.0, it can be done by going to system admin -> system config -> UME config -> direct editing and setting ume.logon.locale to TRUE.
    But i'm unable to find the 'direct editing link' in EP7.0
    Kindly tell me from where can i modify ume.logon.locale in EP7.0?
    Thanks in advance..

    Hi,
    I wanted to do the same in EP7.. How did u do this??
    Warm Regards
    Siva

  • Forced request language property of Webdynpro iview

    Hi All,
    I've a situation with inhibiting translations of a webdynpro iview even though the property "Forced request Language" is set to English.
    Scenario:
    1)Two DCs DC1 has language translation files. DC2 does not have any language translations (not needed)
    2)DC2 displays views of DC1
    An iview is created out of DC2 and the Forced request language is set to English.
    User logs on (his language set to English). Everything is fine.
    User logs on (language set to non-english). The problem is, the views of DC1 in DC2 still pickup the translations according to user's language settings where as the views of DC2 appear in english (no translations in the first place).
    Meaning, the property Forced request language of the iview is not effective.
    Anyone has come across this before? I'm glad for any solution.
    Regards (ofcourse, along with points),
    Rajit Srinivas

    Hi Nagarajan,
    How did u achieve this??
    Regards,
    Anupama

  • Changing the masthead iview

    Hi there,
    How do I change the image in the masthead to a custom image?
    thanks

    Hi I m,
    you can simply use the Theme Editor for that. Just go to System Administration -> Portal Display -> Theme Editor.
    In your own Theme, section Portal Masthead, you will find "URL to Branding Image".
    Hope this helps,
    Robert
    PS: You can also check those links for more info:
    http://help.sap.com/saphelp_ep60sp2/helpdata/en/f4/bb7a3b688d3c1de10000000a11402f/frameset.htm
    and
    Changing the look and feel of the portal

Maybe you are looking for

  • How can I tell if someone copied files off of my G4?

    I left my G4 unlocked because itunes was running for the stereo, I walked in to my office on someone acting funny. How can I determine if he copied files off of my Dual G4 onto a usb thumb drive, CD or DVD... Can I simply check an activity log, conso

  • Large regular payments into infotype 0015

    Hi, Payroll want to streamline their processes. They have asked me if it is possible to do mass input for payments into addition payment info type 0015. It will be regular upload once a month, but different amounts. We are aware of Fast data entry, b

  • Firefox 6 videos do not work?

    Flash player just stopped working. If I re-install Flash player it will work until I log out. Then it stops working once again when I log in. Could someone please help?

  • I have 8310

    what can i do the cell showme app error 523 please help me 

  • Is there a way to remove Index pop-ups? (RH 10)

    RoboHelp 10 / Webhelp / IE 10 We've encountered the known issue that's been discussed in multiple threads regarding the pop-ups for Index entries with multiple topics not displaying correctly in IE 10. I've tried the various 'fixes' that have been su