Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Claushingebjerg 878 posts 2360 karma points
    Nov 06, 2014 @ 12:05
    Claushingebjerg
    0

    Getting node parameters on search result

    Is it possible to get and use attributes from nodes displayed in the search result?

    Im looking to do stuff like displaying an image next to the result, if the result is of a certain document type. Like an amployee.

    How would i go about this?

    I've tried creating a variable and use that, but it doesnt return anything...

    var fullTextImage = searchResult.Evaluate("string(./data [@alias='imageID'])");


    Any help appreciated.

     

     

     

Please Sign in or register to post replies

Write your reply to:

Draft