Create a template for value accessor sets

Abstract

How to display only one type of value accessors by creating a custom value accessor set template in Sitecore Data Exchange Framework.

You use a value accessor set to group a set of related value accessor objects.

You can create a custom template that only supports certain types of value accessors. In this example, all the value accessors you use are based on the Array Value Accessor template. Therefore the example shows you how to create a value accessor set that only allows array value accessors.

Create a template

To create a value accessor set template that displays only array value accessors:

  1. In Sitecore Content Editor, navigate to Templates.

  2. In the menu ribbon, on the Home tab, click New Template to add a new template.

    New template option on the menu ribbon
  3. Enter the following values:

    Field

    Value

    Name

    Array Value Accessor Set

    Base template

    Templates/Data Exchange/Framework/Data Access/Value Accessor Sets/Value Accessor Set

  4. Click Next.

  5. In the Location window, select Templates/Data Exchange/Providers/File System/Data Access/Value Accessor Sets.

    Value Accessor sets in the Location window
  6. Click Next.

  7. In the confirmation window, click Close.

Set an icon

To set an icon:

  1. Select the new template.

    Array Value Accessor Set template in the content tree
  2. Click the Content tab.

  3. Click the icon next to the title.

    Title icon on content tab
  4. In the Change Icon window, in the Icon field, enter Office/32x32/radio_button_group.png.

  5. Click OK.