My custom document type does not have these facets so my documents
should be found. Here is the document type definition :
<extension target="org.nuxeo.ecm.core.schema.TypeService"
point="doctype">
<doctype name="PV" extends="Document">
<schema name="common"/>
<schema name="file"/>
<schema name="dublincore"/>
...
<facet name="Downloadable"/>
<facet name="Versionable"/>
<facet name="Commentable"/>
<facet name="Publishable"/>
</doctype>
Anahide Tchertchian wrote:
Hi,
The query performed on the relations interface ignores documents that:
- have the 'Folderish' facet (these documents do not have a 'relations'
tab).
- have the 'HiddenInNavigation' facet.
Maybe your custom document type does not fall under these criteria?
You can change this behaviour rewriting what's in the
nuxeo-platform-relations-web module:
method RelationActionsBean.searchDocuments, called in the
create_relations_search_document_popup.xhtml template.
Regards,
Vincent Dutat a écrit :
Hi,
in the realtion tab, I want to create a relation to a document that
has a custom document type, I click on the 'search' button and type a
part of the title of the document and that document is never found.
Did I miss something regarding indexation of my custom document type ?
Regards.
--
Vincent Dutat
for any given software, the moment you manage to master it, a new
version appears.
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm