Skip to content

Instantly share code, notes, and snippets.

@jraps20
Created May 31, 2018
Embed
What would you like to do?
public class Step1
{
public void Process(PipelineArgs args)
{
var processorItem = args.ProcessorItem;
var customField = processorItem.InnerItem["Custom Referenced Item"];
var referencedItem = processorItem.InnerItem.Database.GetItem(new ID(customField));
var name = referencedItem.Name;
args.CustomData.Add(name, name);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment