8.9. Add Value Mapping Set¶
The value mapping set is where you associate each value accessor from the source object with one from the target object.
In Content Editor, navigate to your tenant.
Navigate to Value Mapping Sets.
Add the following item:
Template Value Mapping Set Name File Row City to Sitecore City Item Add the following item:
Template Value Mapping Name Identifier Set the following field values:
Field Value Source Accessor Data Access > Value Accessor Sets > Providers >File System > City Information File Fields > IdentifierTarget Accessor Data Access > Value Accessor Sets > Providers >Sitecore > City Information Item Fields > IdentifierSave the item.
Navigate to File Row City to Sitecore City Item.
Add the following item:
Template Value Mapping Name Country Set the following field values:
Field Value Source Accessor Data Access > Value Accessor Sets > Providers >File System > City Information File Fields > CountryTarget Accessor Data Access > Value Accessor Sets > Providers >Sitecore > City Information Item Fields > CountrySave the item.
Navigate to File Row City to Sitecore City Item.
Add the following item:
Template Value Mapping Name City Set the following field values:
Field Value Value accessor for source object Data Access > Value Accessor Sets > Providers >File System > City Information File Fields > CityValue accessor for target object Data Access > Value Accessor Sets > Providers >Sitecore > City Information Item Fields > CitySave the item.
The new value mapping set and value mappings in Content Editor.
![../../_images/file-to-item-mappings.png](../../_images/file-to-item-mappings.png)