Value readers

Abstract

Guide to how value readers in the Sitecore Data Exchange Framework implement the logic for reading an object value.

A value reader is like a property getter method on a .NET class. It provides the implementation of the logic needed to read a value from an object.

Data Exchange Framework (DEF) comes with a set of standard value readers that can be used to configure various aspects of a synchronization process. The template for the generic value reader is located at /sitecore/templates/Data Exchange/Framework/Data Access/Value Readers/Value Reader.

You can install optional providers that include value readers designed specifically for the system the provider integrates.

Configuration

You usually use specific types of value readers instead of the generic value reader. A specific value reader can, for example, be one that gets a property on an object. The configuration of a specific value reader depends on its type.

For information on the specific value readers in DEF and optional providers, refer to the following lists:

When to extend

You might need to design a custom value reader in the following cases:

  • If you are building a custom provider that involves working with a 3rd party API.

  • If you want to simplify a configuration by encapsulating complex logic in a single value reader.