The Copy object from context to new location pipeline step

Abstract

How to use the Copy object from context to new location pipeline step in the Sitecore Data Exchange Framework.

You use the Copy object from context to new location pipeline step to copy an existing object from the configured source location to the configured target location. You can then use the copied object for further pipeline execution without affecting the source object. This topic explains how the pipeline step works and how you configure it.

The template for the Copy object from context to new location pipeline step is located in /sitecore/Templates/Data Exchange/Framework/Pipeline Steps/Copy Object from Context to New Location Pipeline Step .

Configuring the Copy object from context to new location pipeline step

You can configure the following information for the pipeline step:

Section

Field

Description

Location Settings

Source Object Location

The location of the object that you want to copy.

Source Object Value Accessor

If you are reading a specific object, you can optionally provide a value accessor to interpret the object. If you leave this value empty, Sitecore uses the source object directly.

Target Object Location

The location you want to copy the object to.

Logic executed by the pipeline steps

The Copy object from context to new location pipeline step copies the object based on the options you select in the fields in the Location Settings section.

For example, if you select the Pipeline Context Parent Source option for the Source Object Location field and the Pipeline Context Temp Storage option for the Target Object Location field, the pipeline step copies the object from the Pipeline Context Parent Source to the Pipeline Context Temp Storage.