08-20-2019 07:42 PM
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>
08-22-2019 06:40 AM
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
08-27-2019 01:16 PM
Do you have an example of how the <nuxeo-document-suggestion> element would look like when a custom "page-provider" is used?