cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying property labels or free text in search results

Former Member
0 Kudos

Hi,

I just created my own search result layout set in a EP6 SP11 portal and extended it with some predefined properties. What is still messing are some more text infos as description for the attributes: I currently only get property values, but not additional info like property labels.

An example of what I need is the SDN search result with texts like "Updated On:" and "Author Name:".

How can I achive this?

Regards,

Martin

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

I created my own search result list in EP7 SP14 and I used the standard function "rnd:string(string=myLabel)" for creating descriptions for the attributes.

You can find all the functions under: http://help.sap.com/saphelp_nw04/helpdata/en/79/a1d23e6b2c3d67e10000000a114084/frameset.htm

Regards,

Alex

Edited by: Alexander Schmid on Jan 31, 2008 5:17 PM

Former Member
0 Kudos

Hi,

SDN has used TREX API s for search results display and not a custom layout with custom collection renderers..

Check <a href="https://weblogs.sdn.sap.com/pub/wlg/5586">How to write a Search Application using the KM Indexmanagement API for TREX</a>

Regards

Bharathwaj

Former Member
0 Kudos

Hi Martin,

I would like to know how did you add Properties in your Search Result window page?

Im struggling with this since many day and cant figure out where and how to proceed.

If you could please send me for reference as to how you implemented this, I would really be very grateful.

You could also email me on gemini_h@yahoo.com for the same.

Sorry as my message is not a suggestion or towards solution towards your problem.

Awaiting Reply.

Thanks and Warm Regards,

Ritu R Hunjan

Former Member
0 Kudos

Hi Rita,

did you receive any answr to your question?

are you still struggling with that problem?

regards,

Darijo

former_member195891
Active Participant
0 Kudos

Hi Martin,

Currently, the standard Collection Renderer only render the content of a property, not the property label itself as you already observed.

In order to show also labels different approaches might be useful:

- use a second property which contains as content the text, e.g. namePropContent="Author Name: " and display both properties in the result list, e.g. ...namePropContent+name...

- write a customer specific Collection Renderer which renders both, the property label and content.

Kind regards,

Roland