cancel
Showing results for 
Search instead for 
Did you mean: 

how to adjust help link in the header area

Former Member
0 Kudos

Hi guys,

how can I udjust the help link in the header area of the portal. I'd like to use my own documentation to the portal - it is a html file.

Regards

Erwin

Accepted Solutions (1)

Accepted Solutions (1)

former_member206159
Active Contributor
0 Kudos

My suggesiton is put the file in any repository in KM content.

As a example if your help file is in location Documetns/abc.html

then go to context menu of the abc.html and navigate to Details->Settings->propertis

click Access links tab

there you find the Target url. Copy the url from /irj. in your case it would be

'/irj/go/km/docs/documents/abc.html'

Use this url as the help link in the headerview.jsp file under masthead par file.

and upload the par file again with the same name

you can download/upload the par file from System admin->support

Raghu

Former Member
0 Kudos

Hi Raghu,

thank you for your answer!

The first part of your description I have done already

As a example if your help file is in location Documetns/abc.html

then go to context menu of the abc.html and navigate to Details->Settings->propertis

click Access links tab

there you find the Target url. Copy the url from /irj. in your case it would be

'/irj/go/km/docs/documents/abc.html'

I am not portal developer that is why a have some problems with second part:

Use this url as the help link in the headerview.jsp file under masthead par file.

and upload the par file again with the same name

you can download/upload the par file from System admin->support

how can I find headerview.jsp and masterhead par file?

former_member206159
Active Contributor
0 Kudos

You can find the masthead par file under

system administration ->Support ->Portal runtime-> Browse Deployment

there you find the par file com.sap.portal.navigation.masthead.par.bak

download it ... it will download as Browse Deployment something like that... After that unzip it twice and you will get the par file of masthead

import this par file in NWDS and open the Headerview .jsp file and search for the help link

There you can relace the standard url with the url I suggested above

Once it is done buidl the par file with the same name and upload it using

system admin->support->portal runtime and administration console.

Also search in SDN for customizing the masthead par file and you will get lot of docs on this.

Also check the below thread for finding the par file in portal

https://forums.sdn.sap.com/click.jspa?searchID=27882295&messageID=5014063

Raghu

Edited by: Raghavendranath Garlapati on Jun 24, 2009 1:30 PM

Former Member
0 Kudos

You don't need to change the jsp page. The masthead iView has a property which allows you to point to a URL. It's called URL to help link. Get to the iView by opening the Default Framework page, select the masthead iView and then use the properties button.

former_member206159
Active Contributor
0 Kudos

Michael suggested the simple way of doing this

Go to your framework page. This you can find in your desktop.

open the framework page and check the masthead iview

open its properties

you will find a property called Help Link URL

Set that with something like

'/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents.abc.html'

This will work for you.

Raghu

Former Member
0 Kudos

yes, thank you Michael for your simple solution. It works perfekt.

and of course thank both of you for the fast answers.

Regards

Erwin

Answers (2)

Answers (2)

former_member189631
Active Contributor
0 Kudos

Erwin,

Please try these steps,

  • The name of masthead par file is com.sap.portal.navigation.masthead.par. The name would be different if you use different par file as a part of customization. Check the codelink property of mastheadivew which is assigned to your current framework page.

  • Download the latest version of mathead par and upload it into NWDS for changes.Add required jars.

  • Place the html along with the par file(this is onetime) or CMS/KM (Best).

  • Refer the hmtl in the masthead par file.

  • Deploy into Portal

Ram

Former Member
0 Kudos

Find the masthead iView in the PCD and change the pointer there.