How I can make a "suggestion box" on the documents listed in the "contentView" specific.

I want my “suggestion box” only finds documents from my current contentView alt text

alt text

What Can I do?

0 votes

1 answers

1754 views

ANSWER



Hi,

On version 5.6, the document suggestion widget accepts a provider that only takes one parameter: the suggestion input. See http://answers.nuxeo.com/questions/3610/how-to-filter-in-the-singlemultiple-document-suggestion-widget-documents-fetched.

Additional parameters set on the page provider definition will be ignored. This limitation has recently been removed, see https://jira.nuxeo.com/browse/NXP-11014.

You can define a custom widget template and associated custom suggestion method to replicate the logic on a 5.6.

1 votes