10. 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.

  1. In Content Editor, navigate to your tenant.

  2. Navigate to sitecore > system > Data Exchange > Data Exchange Tenant for News API > Data Access > Value Mapping Sets.

  3. Add Value Mapping Set with the following field values:

    Name Value
    Name Article Object to Sitecore Article Item

The new value mapping set in Content Editor.

use-restful-provider\news\create-connector\_static/value-accessor-set.png
  1. Navigate to sitecore > system > Data Exchange > Data Exchange Tenant for News API > Data Access > Value Mapping Sets > Article Object to Sitecore Article Item.

  2. Add Value Mapping with the following field values:

    Name Value
    Name Source Id
    Source Accessor Data Access > Value Accessor Sets > Providers > RESTful > Article Values > Source Id
    Target Accessor Data Access > Value Accessor Sets > Providers > Sitecre > Article Item Fields > Source Id
  3. Add Value Mapping with the following field values:

    Name Value
    Name Source Name
    Source Accessor Data Access > Value Accessor Sets > Providers > RESTful > Article Values > Source Name
    Target Accessor Data Access > Value Accessor Sets > Providers > Sitecre > Article Item Fields > Source Name
  4. Add Value Mapping with the following field values:

    Name Value
    Name Author
    Source Accessor Data Access > Value Accessor Sets > Providers > RESTful > Article Values > Author
    Target Accessor Data Access > Value Accessor Sets > Providers > Sitecre > Article Item Fields > Author
  5. Add Value Mapping with the following field values:

    Name Value
    Name Title
    Source Accessor Data Access > Value Accessor Sets > Providers > RESTful > Article Values > Title
    Target Accessor Data Access > Value Accessor Sets > Providers > Sitecre > Article Item Fields > Title
  6. Add Value Mapping with the following field values:

    Name Value
    Name Description
    Source Accessor Data Access > Value Accessor Sets > Providers > RESTful > Article Values > Description
    Target Accessor Data Access > Value Accessor Sets > Providers > Sitecre > Article Item Fields > Description
  7. Add Value Mapping with the following field values:

Name Value
Name Url
Source Accessor Data Access > Value Accessor Sets > Providers > RESTful > Article Values > Url
Target Accessor Data Access > Value Accessor Sets > Providers > Sitecre > Article Item Fields > Url
  1. Add Value Mapping with the following field values:
Name Value
Name Image Url
Source Accessor Data Access > Value Accessor Sets > Providers > RESTful > Article Values > Image Url
Target Accessor Data Access > Value Accessor Sets > Providers > Sitecre > Article Item Fields > Image Url
  1. Add Value Mapping with the following field values:
Name Value
Name Published At
Source Accessor Data Access > Value Accessor Sets > Providers > RESTful > Article Values > Published At
Target Accessor Data Access > Value Accessor Sets > Providers > Sitecre > Article Item Fields > Published At

The new value mapping set and value mappings in Content Editor.

use-restful-provider\news\create-connector\_static/object-to-item-mappings.png