As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Since FastTrack version 5.9.3, Collections are available, documents can be added to 1-n collections and the default searches (in DM and DAM views) allow to query on collections thanks to a widget which displays a list of available collections for the user.
So. How can I add this widget to a search content-view using Studio?
When a document is added to a collection, a new schema is added to this document (collectionMember), with a field storing the ids of the related collections. So, to query on collections, we need to add this schema to the Studio registry, then use a Multiple Documents Suggestion widget and format it correctly.
collectionMember
In the Schemas registry, add the collectionMember schema (warning if you already had shema(s) defined: Format the JSON accordingly):
{ schemas: { collectionMember: { "@prefix" : "collectionMember", "collectionIds" : "string[]" } } }
IMPORTANT: This step will not be necessary shortly, as this schema will already be made available in Studio directly.
collectionMember:collectionIds
IN
default_collection
Collection
Yes
docSelectionDefaultFormatter
Reminder
This works only with Nuxeo >= version 5.9.3