Pulling Data

One option for data loading is to pull it from a given source. Portrait uses therefore a sophisticated sourcing strategy that can import unstructured or structured data from different sources.

The sourcing strategy relies on the fact that any data is already given and can be extracted. Portrait takes care of connections, extraction, updates and deletions. An external source is always the “lead” and portrait can therefore automatically manage the data stored in the portrait index.

External data can be databases or other systems. See here for the currently available connectors. The source must be at least accessible by the backend of portrait.

Sources are integrated reindex engines that implement a smart algorithm for keeping source data and index in sync. Sources therefore define and limit what data is pulled from external. A source can detect if data was added, updated or deleted. How often data is pulled, is defined by a reindex interval.

Each entry in the index needs a unique key, otherwise the update-strategy won’t work.

A section defines how the source data is presented on the frontend. Sections are linked directly to a source. So a section cannot “show” the content of two different sources.