1. Get rid of all advertisements and get unlimited access to documents by upgrading to Premium Membership. Upgrade to Premium Now and also get a Premium Badge!

How to generate random selection on search results using hcsp

Discussion in 'Oracle Webcenter Suite (formerly Oracle ECM)' started by anavagomez, Jan 27, 2011.

  1. anavagomez

    anavagomez Active Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    55


    I need help figuring out code how to display a selection of three random items on a hcsp page.

    I think that a hcsp page will contain the code that executes a search and randomly pics three items from that result set. What meta-data field will be used as the search parameter is not yet defined, but right now I would like to see at least how to search for any item using GET_SEARCH_RESULTS (if I am thinking of the right service) and randomly selecting only 3 is done.

    I am not very familiar using hcsp pages, and really would like someone who can explain me, or show me and example of how this can be done if not much trouble.

    Thank you much.

    Please let me know if I need to offer more details.