cancel
Showing results for 
Search instead for 
Did you mean: 

inserting extra links in the "tool area" iView next to search

christopher_griffin
Participant
0 Kudos

Hello

We have created a user index and used the "Who's Who" iView, to create a user search. We want this to be accessible from anywhere in the portal.

Is it possible to add a link in the "tool area" iView, next to the collaboration/advanced search links?

Alternatively, can we add a link to the iView in the masthead, next to personalization?

Points awarded as always...

Chris

Accepted Solutions (1)

Accepted Solutions (1)

kai_unewisse3
Active Contributor
0 Kudos

Hi Chris,

The easiest way (no programming involved) would include links (max 2) in the Toolbar area. Just take a look in the Portal Framework page in the PCD and take a look in the toolbar object (select edit).

There are 2 properties for additional links. Add the link of the iview (preview it and talke the URL; remove the hostname and port).

There is also a Howto available here on SDN...

Kai

christopher_griffin
Participant
0 Kudos

Hi Kai

This looks really good. However, I just tried it and it doesnt seem to work. I put the path ("irj/servlet/portal/prtroot/pcd!3aportal_content..." etc) in the EnableLink1 property of the tool area. A link appears, but it doesn't do anything. Also - is it possible to rename the link?

If this is within the Howto - what is it called?

Thanks

Chris

kai_unewisse3
Active Contributor
0 Kudos

Hi Chris,

my memory of how to do that was wrong. i just found the Howto and it says :

the EnableLink value needs to be "true" .

The value and the name are changed in the code and properties file of the toolbar par file

The name of the guide is : How to ... Enable Links in the Tool Area

Hope that helps,

Kai

Former Member
0 Kudos

Hi Chris,

This blog would be helpful

Hope it helps

Regards

Vineeth

christopher_griffin
Participant
0 Kudos

Hi Kai/Vineeth

Thanks for your help, that blog looks perfect.

I have run through the blog, but when it comes to redeploying the PAR, i can't run it.

In fact, I tried starting again, just to test my methods. Even without making any changes, it won't redeploy. I am clicking on export - PAR, then clicking on "run" next to "default", within the portalapp.xml. This gives me an error.

I havent done much work with PARs before - is there a good HowTo I can use?

thanks

chris

Former Member
0 Kudos

Hi Chris,

I am not sure about a How-To for that ,but pls see if this link should do

http://help.sap.com/saphelp_nw04/helpdata/en/68/f64942da51690de10000000a155106/frameset.htm

Regards

Vineeth

christopher_griffin
Participant
0 Kudos

Hi Vineeth

Do I really need to restart the J2EE engine? I have deployed PARs before and I didn't have to do this.

The only other thing I can think of is to import the JAR files. I read this on another post (relating to the masthead, not the tool area). Do I need to do this for this example?

Saravanan_SD
Advisor
Advisor
0 Kudos

Hi Christopher,

Yes, it is necessary to include "com.sap.portal.navigation.toolarea_core.jar" in the project build path and also in the lib folder.

Regards,

Saravanan

christopher_griffin
Participant
0 Kudos

Hi

Sorry, how do I do this?

Also - I can find the lib folder, where is the "project build path" located?

thanks

chris

Saravanan_SD
Advisor
Advisor
0 Kudos

Hi Chris,

Get the jar file. Right click on the project. Goto properties -> Java built path -> libraries -> add external jars

Hope it helps.

Regards,

Saravanan

christopher_griffin
Participant
0 Kudos

OK I've done that, do I need to add it to the lib folder as well? Is this the same process?

Sorry to be a pain, but it's very frustrating! I don't understand why the blog that I'm following hasn't mentioned this step at all - do they assume I have this knowledge? I would presume that it's a simple process to download a par, make some small changes, then upload it again.

Your help is appreciated, thanks.

Chris

Saravanan_SD
Advisor
Advisor
0 Kudos

Hi Chris,

There are two ways of modifying the par.

1) Using NWDS

2) Unzipping the par ( The jar file will be available in the folder structure ).

When you import a par file into NWDS, it will not include the jar files. So it is essential to put the jar file in lib folder. Just copy paste the jar into the folder.

Regards,

Saravanan.

christopher_griffin
Participant
0 Kudos

Thank you, saravanan!

That's all I needed to know. I'm surprised that such an important stage is left out in the blog.

kai_unewisse3
Active Contributor
0 Kudos

Hi Chris,

please close this thread by assigning points to useful answers.

Thanks,

Kai

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Right click on the project-> properties->project build path->lib

and add ur jar files to the folder.

Regards,

Abhishek.