05-04-2020 05:12 AM
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>
05-05-2020 04:15 AM
Hello,
Are described in Custom Document Suggestion Cookbook, you need to end the Query Filter of your page provider by AND ecm:fulltext = '?*'
and uncheck in the Advanced Configuration the checkbox of Quote parameters to allow searching.
Regards
05-04-2020 05:13 AM
My problem is
05-05-2020 04:15 AM
Hello,
Are described in Custom Document Suggestion Cookbook, you need to end the Query Filter of your page provider by AND ecm:fulltext = '?*'
and uncheck in the Advanced Configuration the checkbox of Quote parameters to allow searching.
Regards
05-05-2020 05:21 AM
thank you, it works for me
05-05-2020 05:33 AM
Cool! Please validate the answer (check icon) to make clear to the other users what is the solution 😉
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.