Hello,
I'm trying to use the nuxeo-results-view element to display a custom listing on a documents layout. I created the page-provider and a page-provider results layout.
Then I used the following HTML fragment to embed it in the layout:
<nuxeo-results-view
role="widget"
document="[[document]]"
provider="customerfiles" <!-- my page provider -->
visible="true"
search-name="customerfiles" <!-- results layout of page provider -->
schemas="dublincore,common,uid,file,my-schema"
params="{system_parentId : document.uid}">
</nuxeo-results-view>
It actually kind of works:
- the created results layout is embedded in the HTML shown in the browser
- some documents are retrieved using the page provider
But:
- the retrieved documents aren't added to the table -> so there aren't displayed at all
- the params attribute is ignored at all -> simply all existing documents are in the result set of the page provider
I don't know what I'm missing or doing wrong. I appreciate any help/hints.
Regards,
Marvin