Hello,
I need to use 'nuxeo-document-suggestion' in my page Provider and I need to filter document that will be suggested, so I created a new page provider(query-filter-search).with query like this "ecm:isCheckedInVersion=0 AND ecm:currentLifeCycleState='opened' AND ecm:primaryType= 'document_structuree'"
and finaly i used the web componement like this
-
<nuxeo-page-provider id="query-filter-search"
provider="query-filter-search"
enrichers="thumbnail, permissions"
schemas="dublincore,common,uid"
page-size="20"
headers='{"X-NXfetch.document": "properties", "X-NXtranslate.directoryEntry": "label"}'>
</nuxeo-page-provider>
-
<nuxeo-document-suggestion value="{{value}}" pageProvider = 'query-filter-search'> </nuxeo-document-suggestion>