cancel
Showing results for 
Search instead for 
Did you mean: 

EP Search Result modification

Former Member
0 Kudos

Hi Experts,

I am currently on EP6 SP 14.

I have created a KM iView that will search for the indexes I have. When the search results come back, I would like to

1) hide the "See also" and "Details" link

2) keep the result page in the content area instead of pop up a new window when clicking on the result.

How can I do that?

Thanks

Michael

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Michael,

Through customizing the par file only u can do this. You have a openSearch() java script method in the par file, inside that you have,

window.open( searchURL, "_blank");

change this to,

window.open( searchURL, "_self");

Then the result will display in the content area instead of pop up a new window.

Regards,

Kalaivani

Former Member
0 Kudos

Thanks all, it's very helpful.

But is there really no way to make the result page stay on the same screen (content area) with a setting change in the layout set instead of a code change? I would like to show the result this way only for one of the index I used (it's in a separate iView), so my search on the Tool Area will still behaves as default.

Former Member
0 Kudos

If editing the par file is my only choice, would you please tell me which par file I can find this javascript function is in? Thanks

Michael

Former Member
0 Kudos

I think you need to edit par file

com.sap.portal.navigation.toolarea.par .

See below thread for more information

https://www.sdn.sap.com/irj/sdn/thread?threadID=63881

Points are welcome if it is helpful

Koti Reddy

Former Member
0 Kudos

Hi Michael,

You can find the java script function in this par file, com.sap.portal.navigation.toolarea.par

Regards,

Kalaivani

Former Member
0 Kudos

Thanks Koti and Kalaivani,

But I'm not using the search box in the tool area, I'm using a KM iView to do the search. When I view the source of my result, the link was not pointing to the openSearch function in the javascript. So I guess I should be looking for another par file. Do you guys happen to know which par file it is for making changes to the KM iView?

Thanks again

Michael

Former Member
0 Kudos

Hi Lee,

1) By changing the layout set u can modify the search results page

Got Sys Admin->sys config->Knowledge Management->content Management->user interface->settings->layout set->search for SEARCH RESULT LAYOUT SET select that and click advanced copy

in the add property give some name(eg:my)

(here u r actually creating a new layout set rather than changing the standard one so the new one is created as My_SEARCH RESULT LAYOUT SET)

after giving the name click priview results u could find some properties there u can uncheck SEE ALSO & DETAILS and whatever the properties u need after finishing click execute.

now goto content Admin->portal content-> open ur Framework page ->select Tool Area and click properties

there u could find the property KM search Parameters in that u could find the layout set there give the name of the layout set u have created,in the place of the standard one.

Regrds,

Tilak.

Edited by: Tilak on Jun 17, 2008 7:22 AM