Collections

Contents

Introduction

Use collections to gather and manage documents. Documents can be injected externally through the API, or activedly fetched by a collector.

Available menu items for collections

Options

When creating and editing a collection, these are the common fiels of a collector and their purpose.

Showing the form for creating a new collection
Name

Specify a unique name for the collection. This name is also an identifier, and cannot be changed once the collection has been saved.

Default language

Optionally specify a default language for the collection. This will be used to optimize indexing and search in the collection through the use of stemming.

Collector

Optionally select a collector. Collectors are background jobs that are used to fetch data from external sources, and add them as documents to this collection.

You can build your own custom collector or find existing collectors on Enonic Market.

Collector config

If you selected a collector, it will optionally present you with configuration options through a new set of form fields.

The fields will be custom to the specific collector.

Collector schedule

Scheduling interface

If you selected a collector, you may optionally define schedule(s) to automatically run the collector.

Consider that the scheduler should be allowed to finish before it is triggered again. Only one instance of the collector will be running at a time.

Run collector manually

Custom actions listed on the left hand side

From the collections list view: Clicking the Collect icon will manually trigger the collector job.

Status

Status is a sub-item in the Collections menu. Status will be visible if there are any collectors actively running.

Progress of currently running collectors

Journal

Journal shows the history of completed collector jobs and their result.

List of completed collector jobs

Notifications

Optionally add e-mails to notify users about collector related events.

List of completed collector jobs
For the e-mail notification to work, your Enonic XP deployment must be configured with an e-mail gateway.

Schedule

The schedule provides a global view of all collector jobs scheduled to run. This helps you plan execution and resource management optimally.

Calendar view of collector schedules

Contents

Contents