Skip to Content
author's profile photo Former Member
Former Member

Displaying property labels or free text in search results

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 19, 2007 at 12:37 PM

    Hi,

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

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

    Regards

    Bharathwaj

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 20, 2005 at 09:27 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 20, 2005 at 02:40 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 04:17 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.