cancel
Showing results for 
Search instead for 
Did you mean: 

how to override nuxeo-document-suggestion query?

jibanez
Champ in-the-making
Champ in-the-making

how to override nuxeo-document-suggestion query?, the widget configuration below is not working

<nuxeo-document-suggestion role="widget" value="{{document.properties.sopot:notario}}" label="Notaría" query="SELECT * FROM  Document WHERE dc:title ILIKE ?  and ecm:primaryType = 'dPreferencia'" ></nuxeo-document-suggestion>
3 REPLIES 3

Gregory_Carlin
Elite Collaborator
Elite Collaborator

Hello,

You have to create a new page provider and make the suggestion element reuse this page provider in the "page-provider" attribute of the element.

Regards

Do you have an example of how the <nuxeo-document-suggestion> element would look like when a custom "page-provider" is used?

Something like

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.