Value Accessor

Description A value accessor is like a property on a .NET class. It provides the ability to read a value and/or write a value.
Template location /sitecore/templates/Data Exchange/Framework/Data Access/Value Accessors/Value Accessor

In this topic:

Configuration

It is rare for the generic value accessor to be used. In most cases, a specific type of value accessor is used (for example, one that represents a property on an object). The configuration of any specific value accessor depends on its type.

But all value accessors inherit the following fields. When these fields are used, the will override the default behavior of the value accessor.

Field Description
Value Reader The value reader that is returned when the value reader is requested from the value accessor.
Value Writer The value writer that is returned when the value writer is requested from the value accessor.

See also

For information on the value accessors included with the supported providers, see the section Value Accessors in the Component Reference.

When to Extend

Data Exchange Framework comes with a set of standard value accessors. In addition, each provider comes with a set of value accessors designed specifically for the system the provider integrates.

The following are cases where custom value accessors may be needed:

  • A developer building a custom provider that involves working with a 3rd party API.
  • Simplifying configuration by encapsulating complex logic in a single value accessor.