Skip to Content
author's profile photo Former Member
Former Member

Portal Masthead PAR File

Hi,

I want to create a new portal masthead PAR file. i want to modify the entire masthead by changing the location of the logo and other things. I even want to add the tool area into the masthead rather then having it seperatly.

I have no knowledge of java and creation of PAR file from scratch. Can any body help me how i can get started.I have got SAP Netweaver developer studio installed and would assume it is easier to create a PAR file from there.

Thanks in Advance,

Ravi.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Nov 30, 2007 at 04:08 AM

    Hello ravi

    To create new portal masthead you can customize the page tool bar iview provided by SAP as part of Default framework page. This iview has a par <b>(com.sap.portal.navigation.pagetoolbar.par)</b> associated with it.

    The JSP within this par has to be modified to have it look like the design you want.

    This can then be deployed back into portal and integrated into the Default framework page which can be used in the portal desktop.

    Then you can follow the procedure for

    1) Creating <b>DefaultFrameWork </b>page.

    2) Creating <b>Theme </b> for the look and feel designed by you by making modification of some existing theme.

    3) Portal desktop creation.

    4) modification of master Rule collection.

    Hope This will give you a basic idea of modification of masthead PAR file and associated task for this.

    Cheers

    Chinmaya

    Reward for helpful answers.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 04:33 AM

    Hi Ravi,

    here is the procedure to create custom Masthead.

    1. Downloading the par.bak file.

    In order to customize the Portal Masthead first download the par file com.sap.portal.navigation.masthead.par.bak and com.sap.portal.navigation.toolarea.par.bak from the Enterprise portal System Administration->Support-> Portal Runtime-> Browse Deployment->WEB-INF->deployment-> pcd.

    2. Unzip the downloaded file and Rename it.

    Unzip the downloaded com.sap.portal.support.browse archive and within it rename the com.sap.portal.navigation.masthead.par.bak to com.<company_name>.masthead.par.

    3. Specifications for the various components like images, jsp files, jar files, etc.

    First copy the SAP’s JAR files (com.sap.portal.navigation.masthead_core.jar, com.sap.portal.navigation.toolarea_core.jar).from the standard par files and paste these JAR files in the PORTAL-INF /private / lib folder in the NWDS.

    --for tool area transfer Add the component tool area in the portalapps.xml file.

    <component name="ToolArea">

    <component-config>

    <property name="ClassName" value="com.sapportals.portal.navigation.ToolAreaiView"/>

    <property name="ResourceBundleName" value="headeriView_nls"/>

    <property name="SafetyLevel" value="no_safety"/>

    </component-config>

    <component-profile>

    <property name="com.sap.portal.pcm.Title" value="Tool Area iView"/>

    <property name="com.sap.portal.iview.HeightType" value="FIXED"/>

    <property name="com.sap.portal.iview.HeightScale" value="PIXELS"/>

    <property name="com.sap.portal.iview.Height" value="25"/>

    <property name="com.sap.portal.iview.WidthType" value="FIXED"/>

    <property name="com.sap.portal.iview.WidthScale" value="PERCENT"/>

    <property name="com.sap.portal.iview.Width" value="100"/>

    <property name="com.sap.portal.iview.TrayType" value="BORDERLESS"/>

    <property name="com.sap.portal.iview.ShowTray" value="false"/>

    <property name="com.sap.portal.iview.ShowTitle" value="false"/>

    <property name="com.sap.portal.iview.ShowRefresh" value="false"/>

    <property name="com.sap.portal.iview.ShowMaximize" value="false"/>

    <property name="com.sap.portal.iview.ShowCollapseExpand" value="false"/>

    <property name="com.sap.portal.iview.ShowPersonalize" value="false"/>

    <property name="com.sap.portal.iview.ShowRemove" value="false"/>

    <property name="com.sap.portal.reserved.iview.IsolationMode" value="EMBEDDED"/>

    <property name="com.sap.portal.iview.Availability" value="MANDATORY"/>

    <property name="EnableSearch" value="true">

    <property name="personalization" value="none"/>

    <property name="type" value="select[true,false]"/>

    <property name="description" value="LBL_ENABLE_SEARCH"/>

    <property name="plainDescription" value="Enable KM Search"/>

    </property>

    <b>Adding the Customized Masthead (with tool area) to the Framework:</b>

    Now open the custom Framework page and right click the newly created Masthead Iview and select add to the page. Masthead Iview will get added to the framework content.

    i guess this helps.

    reward points if useful.

    regards

    -Kedar Kulkarni

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.