cancel
Showing results for 
Search instead for 
Did you mean: 

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

geekonspace
Star Contributor
Star Contributor

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

alt text

What Can I do?

1 ACCEPTED ANSWER

Anahide_Tchertc
Elite Collaborator
Elite Collaborator

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-widg....

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.

View answer in original post

1 REPLY 1

Anahide_Tchertc
Elite Collaborator
Elite Collaborator

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-widg....

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.