This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



May 30, 2012, 12:15 PM
67 Posts

Highlight search hits in document

  • Category: Other
  • Platform: All
  • Release: 8.5.3
  • Role: Developer
  • Tags: search
  • Replies: 1
 Hi,
 
i'm wondering if it is possible to highlight search result in hit Document.
 
In former times it was possible by URL parameter like: 
 
.... &Highlight=2,hitword
 
I've tried this in xpages with no result.
 
Thanks 
Uwe 
May 31, 2012, 11:30 AM
586 Posts
Re: Highlight search hits in document
 I assume it's possible but I have no real idea how to do it.  
 
My best guess is that you'll be using Client Side Java Script for this.
 
I would THINK there might be a way to take your search term and get that into a scoped variable.  Then if there was a dojo or jQuery tool that could find text and wrap it in a span tag, maybe it could be done.  If there was a tool you'd feed it the scoped variable for the search term.
 
Just a thought.. 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal