Make Search terms highlight in documents

3845 pts.
Tags:
Development
Lotus Agents
Lotus development
Lotus Notes
LotusScript
If I use the normal search bar in a database, the search terms are highlighted in the returned documents. When I use the FTSearch method in an agent, returned documents do not have highlighted search terms, even if I check off the setting in the Agent properties to "Store highlights in documents." Does anyone know how to make highlights work with an agent?

Answer Wiki

Thanks. We'll let you know when a new response is added.

I think that agent option might only work if the agent’s search is in the Document Selection section of the agent — not for searches you may do within the back-end agent code — and even then, it might only work for agents invoked via the search bar. I have to admit I’ve never tried this option.

If you have a programmed query that your agent has to calculate the query string, you would need to find some way to do the search in the UI rather than in the back end. This is possible in a composite application in 8.0.1, or you might find some ideas in the free download that accompanies <a href=”http://drh02.eapps.com/eview/viewR6.nsf/ff8165e0a7b06fd085256536001117db/b7476e62cc14852685256ed60054104e?OpenDocument”>this article</a>.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Brooklynegg
    Thanks, AGuirard. I'll be sure to ask for an example of this when I go for ND8 training so I will know how to implement it in a composite app. I have not reviewed the example .nsf yet to see if it they would apply. This ehnancement has been wanted so long, I don't see a problem delaying it until we implement ND8 if it is a straight-forward solution there.
    3,845 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following