nuxeo-default-search-results

I just added 2 filter with the relatives aggregators with 2 different doctype in nuxeo-default-search-form and everithing works correctly. I didn't show a field in the search results, I don't know WHY.

this field is showed correctly with common doctype dublincore

<nuxeo-data-table-column name="Repository" field="dc:source" hidden>
<template>
<nuxeo-tag hidden$="[[!item.properties.dc:source]]">[[item.properties.dc:source]]</nuxeo-tag>
</template>
</nuxeo-data-table-column>

this new field with new schema wasn't showed

<nuxeo-data-table-column name="License Name" field="mul:License.name" hidden>
<template>
<nuxeo-tag hidden$="[[!item.properties.mul:License.name]]">[[item.properties.mul:License.name]]</nuxeo-tag>
</template>
</nuxeo-data-table-column>

It's strange because the filter is showed correctly and works good.

Any suggestion.

Thanks a lot

1 votes

1 answers

2609 views

ANSWER



When embedding the search results you probably also need to add your custom schema mul. E.g. if you use a nuxeo-results-view you have to provided schemas which will be passed to the page provider.

2 votes



Thanks, I've solved exactly in that way, adding the schema multimedia.
01/31/2018