cancel
Showing results for 
Search instead for 
Did you mean: 

Create Hyperlink to KM iView

Former Member
0 Kudos

Hello All,

I am working on EP6 SP9.

I have create a KM iView which points at a KM repository.

I need to create a hyperlink in ToolArea, such that when user would click on it, the KM iView details would open/accessible/visible.

The Output KM iView should open in a new screen.

I have tried the following steps for the same:

1. Changed the authentication scheme to '<i>anonymous</i>' while testing this hyperlink from a seperate html page. Assigned the target of hyperlink as <server details>/pcd!3aportal_content!2fRitu!2fTest_RelatedLinks!2fKnowledge_Hub <i>(Knowledge_Hub being the iView)</i>.

I would appreciate if you please help me solve this.

Awaiting Reply.

Thanks and Warm Regards,

Ritu

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Ritu,

Try this:

<a href="PORTAL/irj/servlet/prt/portal/prtroot/com.sap.km.cm.navigation/documents/Public%20Documents/......... " target="_blank">Display Name of the Link</a>

Yours,

Yoav

Message was edited by: Yoav Toussia Cohen

Former Member
0 Kudos

Hi Yoav,

Firstly thanks for your reply.

I tried doing the step you suggessted but it does not work.

In the href path I gave the path of my folder (the one I created in KM). Now when I click on it, Im asked to login into Portal and the access goes to Home->Company and not to my folder.

Is there some way by which this could be achieved...?

Awaiting Reply.

Thanks and Warm Regards,

Ritu

Former Member
0 Kudos

Ritu,

only a stupid question: Why have you set the authscheme of your custom iview to "anonymous"? Please note, that anonymous KM access is at least problematic and only partly supported.

Regards,

Dominik

Former Member
0 Kudos

Hi Dominik,

Yes, I totally agree with you regarding anonymous KM is partly supported.

But I was just experimenting, trying to make the hyperlink work.

So just tried setting the Authentication Scheme to Anonymous but it did not work either.

Warm Regards,

Ritu

Former Member
0 Kudos

Hi again,

you should use a urlgenerator in order to avoid the user name password authentication.

what do you mean by Home->Company ?

are you using %20 as spaces?

hope it helps,

Yoav

Former Member
0 Kudos

Hi Ritu,

If you want the link in your tool area, you can do one of the following:

1. change the jsp of the tool area directly on the portalserver. The jsp is located in:

<j2eehome>clusterserverservicesservlet_jspworkjspTempirjrootWEB-INFportalportalappscom.sap.portal.navigation.toolareajsp

it is called toolAreaIView.jsp.

if you just want to add a hyperlink and it shoul open in a new window then

<a href="link to the iview" target="_blank">description</a>

should work.

2. Download the par file of the toolarea iview com.sap.portal.navigation.toolarea.par.bak from

clusterserverservicesservlet_jspworkjspTempirjrootWEB-INFdeploymentpcd

, update the jsp as in 1 and upload again as .par file.

3. Same as 2, but upload as a custom named parfile, and change the default framework page to use the new parfile.

Note that in case you use 1 or 2 your changes may be overwritten during an upgrade.

By the way, you can create the url to the component using the urlgenerator service in the portal.

If you use <a class="urLnk" href=... then your link will be rendered according to the portal theme. Of course, you can also use a htmlb Link...

Hope this helps,

Johan

Former Member
0 Kudos

Hi Johan,

Just to let you know that I would be trying your steps and surely write back to you.

Thanks and Warm Regards,

Ritu