Add search criteria using Content Navigator plugin on click of Search Button in Search Template

826 Views Asked by At

In IBM content Navigator, i need to add one additional search criteria to all search template on click of Search button (for example strStatus="In Progress").

And only documents which matches this criteria should be displayed in search Result.

This i want to do using IBM content Navigator plugin and this search criteria should not be visible in any search template.

Can someone help me, how I can archive this?

2

There are 2 best solutions below

1
Tekcins On BEST ANSWER

You probably need to implement a request filter for p8/search service. This should allow you to inject the additional search criteria into the request before it is executed.

See https://github.com/ibm-ecm/ibm-content-navigator-samples/blob/master/UserColumnSettingsPlugin/src/com/ibm/ecm/extension/ColumnsDisplayedRequestFilter.java for an example.

1
user13682620 On

You don't need plugin for this requirement. In search template designer there is an option to make the property hidden. So you can have your search criteria with your property and value and make that property hidden.