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

Similar Messages

  • 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

  • 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

  • Reloading the Masthead.

    Hi All,
    I have a requirement where i need to reload the Masthead iView when the TLN iView is loaded. There are custom iView for both masthead and TLN. The whole window / browser should not be reloaded, only the masthead needs to be reloaded. Anyone have any idea about how to do this.
    TIA
    Regards,
    Nishant Singh

    Hi Raghavendra,
    I think you didnt understood the requirement. What i needed to do is, put some piece of code either in TLN jsp or innerpage jsp so that i can reload the masthead(only). My requirment is to load the masthead again, once the TLN is loaded. This has to be done with all the users and roles.
    I tried with " window.location.reload(); " and " go.history(0); ". But both of these are not working for my requirment caz it loads the entire window again. And i have to reload the Masthead only.
    Regards,
    Nishant Singh

  • Need to add a link to the masthead area of the Portal

    Hi
    I need to add a link to the masthead area of the portal. That link needs to be able to print the content of the current page.
    Ihave downloaded the com.sap.portal.navigation.masthead into the NWDS.
    Can anybody please let me know where exactly to modify the code.
    i am guessing i may need to use window.print() to print the page.
    Thanks
    Sharath
    Thanks
    Sharath

    Step 1: Adding new link in the masthead
    1. Rename the par file to your own namespace and import the PAR using eclipse
    2. To add your link - modify HeaderiView.jsp appropriately
    3. Build the PAR and export using Eclipse
    Step 2: Create an iView
    1. Content Administrator -> Portal Content -> Select the folder in which you need to create the masthead iView. Right click on the selected folder and "Select New From PAR" -> iView
    2. Select the PAR file name created by you in Step 1 a
    3. Choose "default" in Portal Component Selection
    4. Provide the properties for the iView and save
    Step 3: Modify Portal Masthead
    1. Add the iView created in Step 2 to the Framework Page of your application
    2. Remove the existing Masthead iView from the framework page and add iView created in Step 2 in the framework page.
    3. Note that the position should be the same where the previous masthead is removed.
    Logoff and logon with the user who is assigned the framework page - you should be able to see the new masthead with links
    Incase you are changing the default framework page and default masthead ensure that you have a backup so that you can revert.

  • 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.

  • 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.

  • Adding more link in the masthead along with help/personalize

    Hi
    I need some inputs for adding a link in the masthead along with help/personalize.
    Regds
    Priya

    Hi Priya,
    To get change the link in portal masthead just navigate to Content Admin-->Portal Content->Content provided by SAP->End User Content->standard portal users->Default frame workpage.                              
    Open this Default frame work page in property editor, check the Checkbox in front of Masterhead iView and click open at the bottom. It will open the Masterhead iView in property editor. Select Show all in Property category and scroll down to property called URL for Help link, give URL u desire for the link.                    
    Hope this helps,          
    Javed

  • 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..

  • How to display the navigation path in the masthead.

    hi,
       Requriement is to display the navigation path in the masthead.
       how to achieve it.
    regards,
    Shanthakumar.

    Hi,
    I think you want to show the bread crumb in your masthead to show the path to the actual navigation node.
    This functionality already exists in page title bar iview you need to just enable the options in the page title bar iview in your active framework page.
    If you want to have this Functionality in your masthead, just check the codes of page title bar iview and do similar coding in your masthead.
    NavigationEventsHelperService has alot of helper methos which will give you the currently clicked navigation path nodes and more. So also check them.
    NavigationEventsHelperService service =
                    (NavigationEventsHelperService) PortalRuntime.getRuntimeResources().getService(
                        NavigationEventsHelperService.KEY);
                NavigationNodes navNodes =
                    (NavigationNodes) service.getNavNodesListForPath(request, INavigationConstants.NAVIGATION_CONTEXT_ATTR);
    Regards,
    Praveen Gudapati

  • Error in Merge the Masthead and the Tool Area

    Hi experts,
    I create a new par component with this tutorial: How to Merge the Masthead and the Tool Area in SAP Enterprise Portal --> http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f058ef9c-b211-2a10-4fad-8b88d5a1fe74  but i have a problem, when i create the iview, appear an error, the log is:
    #1.5 #000C29065BE90064000000060000172000047AC72C79CD41#1260895981106#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#VCAPILLA#1555##n/a##48ce5250e99a11dea1c2000c29065be9#SAPEngine_Application_Thread[impl:3]_23##0#0#Error##Java###05:53_15/12/09_0007_9692150
    [EXCEPTION]
    #1#java.lang.ClassNotFoundException: com.sapportals.portal.navigation.HeaderiView
    Loader Info -
    ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@4ee78ac]
    Parent loader name: [sap.com/Masthead]
    References:
       not registered!
    Resources:
       C:usrsapDESDVEBMGS00j2eeclusterserver0appssap.comirjservlet_jspirj
    ootWEB-INFportalportalappsMastheadprivateclasses
    What have i register? How can register?
    Thanks in advance,
    Regards,

    Hi,
    Lot of thanks, now work, but i have another error:
    #1.5 #000C29065BE900630000000B0000172000047AD47A810C36#1260953002399#com.sap.portal.prt.runtime.servlet_jsp#sap.com/irj#com.sap.portal.prt.runtime.servlet_jsp#VCAPILLA#6987##n/a##cf183b40ea1811debdf0000c29065be9#SAPEngine_Application_Thread[impl:3]_5##0#0#Error#1#/System/Server#Java###Error in Compiling.
    #1#com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: C:/usr/sap/DES/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/masthead/work/jsp/_sapportalsjsp_light_headeriview.java:101: illegal start of expression
         public String searchComponentNameG = profile.getProperty("SearchComponent");
            ^
    C:/usr/sap/DES/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/masthead/work/jsp/_sapportalsjsp_light_headeriview.java:102: illegal start of expression
         public String searchComponentParamsG = profile.getProperty("SearchComponentParameters");
            ^
    C:/usr/sap/DES/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/masthead/work/jsp/_sapportalsjsp_light_headeriview.java:103: illegal start of expression
         public String advancedSearchComponentNameG = profile.getProperty("SearchComponent");
            ^
    C:/usr/sap/DES/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/masthead/work/jsp/_sapportalsjsp_light_headeriview.java:104: illegal start of expression
         public String advancedSearchComponentParamsG = profile.getProperty("AdvancedSearchComponentParameters");
            ^
    C:/usr/sap/DES/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/masthead/work/jsp/_sapportalsjsp_light_headeriview.java:105: illegal start of expression
         public String clpComponentNameG = profile.getProperty("ClpComponent");
            ^
    5 errors
    Seems it doesn´t understand the profile.getProperty("xxx")  why?
    Thanks in advance,
    Regards,

  • Portal Content Translation - Unable to see the changed iView name, desc etc

    Hi Experts,
    I am using Portal Content Translation to translate the name of iViews, roles, iview description etc from English to Spanish. I have followed the method mentioned in the below mentioned link:
    http://help.sap.com/saphelp_nw04/helpdata/en/74/641640b7b6dd5fe10000000a155106/frameset.htm
    I have successfully executed all the processes mentioned in the document. It includes:
    Creating Worklists and add content
    Generate translation data
    Release for translation
    Search worklist and define source and target language
    Load worklist for translation
    Translate worklist
    Make worklist as translated
    Publish translation
    I am able to publish the publish translation.
    The above document says that "Publishing a translation means that the translated text strings are written back to the objects to which they belong (for example, the translated title of a role to the role object stored in the Portal Content Directory). "
    In my case I have translated the name, description of an iView. After publishing am I supposed to see the name & description of iView in Spanish in the same iView (source iView).
    I have not created any target iView. Am I supposed to create any target iView?
    I am unable to see iView name, description in Spanish.
    Can you please let me know what is going wrong?
    Thanks
    Stuart

    Hi Stuart,
    please set the user's language in UME. You can do this in the personalization dialog (see SAP Library section <a href="http://help.sap.com/saphelp_nw70/helpdata/en/f8/64e93b3a612d52e10000000a11402f/frameset.htm">Setting Portal Preferences</a>. Assign the portal role "eu_core_role" to your user if you do not see the "personalize" link in the portal masthead.
    In what language does the iview name appear if you do not select Spanish language?
    Please check if the name of the iView appears in Spanish language in PCD after you switched portal language to Spanish.
    Best regards,
    Martin

  • Iview in innerpage not working

    Iview in innerpage of desktop not working in production, same iview working fine in development server. Please provide help in the above regards.

    What is "not working" please be more specific...
    - What kind of iView do you use (WD4J, WD4A, URL, others? If others, which?) ?
    - Are you getting any error?
    - If yes, post all regarding error logs here from NWA tracelog, ST22, etc.
    regards, Lukas

  • Enabling Personalize option in the Masthead.

    Hi All,
              I want to assign personalize option in masthead to the users so that they can manage their passwords, and also i want to hide other options available in the Personalize like Changing themes etc. I want to restrict the user only to password management. I am getting the the personalize link in the masthead only if i assign eu_role to the user. My queries in this regard are listed below:
    1. Is it mandatory to assign eu_role to the user to get the personalize link in masthead.If not then how to achieve this.
    2. How can i modify the Default Standard Portal user role(eu_rule) to restrict the user from changing themes and only restricting them to manage passwords only in the Personalize link in the masthead.
    I hope somebody must have explored these areas. Awaiting a suitable reply.
    Thanks and Regards,
    Sarabjeet Singh.

    Hi Sarabjeet,
    Just want to make sure everything is clear.
    The navigation service gets the navigation hierarchy for the current user. The iViews/pages underneath any top level nodes that has a merge ID of PORTAL_PERSONALIZATION are placed in the personalization window, and the top level node is not displayed in the navigation iViews.
    To add personalization iViews for a new roles, you can create your own workset of personalization iViews and add it as an entry point in your role.
    To delete default personalization iViews, simply delete them from the standard user role (don't worry, these are just delta links which you can restore).
    In SP14 and above, there is a navigation cache, so you may need to clear the cache if you change the structure within a role.
    Hope this help.
    Daniel

  • Problem in Creatig the URL iview for a Team Room

    Hi SDN,
    <b>
    I have created a team room in collaboration and created the URL iview of that team room.
    But in the iview i am getting the MASTHEAD of the portal also.
    But I do not want the MASTHEAD to appear.
    HOW DO I GO ABOUT THIS??????
    </b>
    regards
    Brahmachaitanya

    Hi Brahmachaitanya
    Well it is unfortunately not possible to just copy the link of a room and use it as reference in an URL iView. A solution we are using a Collaboration Room launching iView. We simulate the form that is used in the CLP:
    <script language=\"Javascript\">
         function gotoRoom(){
              top.EPCM.doNavigate(\'CollaborationConnector://portal_content/com.sap.ip.collaboration/Rooms/" + room_id + "/workset?NavTargetAsRoot=true\', \'0\');
    </script>
    I hope this helped.
    Cheers, Normen

Maybe you are looking for