9. Add Value Accessor Set for TargetΒΆ
The target object is a Sitecore item. The value accessor set defines the fields that can be set on the item.
In Sitecore, open Content Editor.
Navigate to sitecore > system > Data Exchange > Data Exchange Tenant for News API > Data Access > Value Accessor Sets > Providers.
Add Sitecore Value Accessor Sets.
Hint
This template is a command template. It does not prompt for the item name. The command template assigns the item name automatically.
Navigate to sitecore > system > Data Exchange > Data Exchange Tenant for News API > Data Access > Value Accessor Sets > Providers > Sitecore.
Add Sitecore Item Field Value Accessor Set with the following field values:
Name
Value
Name
Article Item Fields
Navigate to sitecore > system > Data Exchange > Data Exchange Tenant for News API > Data Access > Value Accessor Sets > Providers > Sitecore > Article Item Fields.
Add Sitecore Item Field Value Accessor with the following field values:
Name
Value
Name
Source Id
Field
Templates > Feature > Data Exchange > News API > News API Article > Article Source > Source Id
Add Token Value Accessor with the following field values:
Name
Value
Name
Source Name
Field
Templates > Feature > Data Exchange > News API > News API Article > Article Source > Source Name
Add Token Value Accessor with the following field values:
Name
Value
Name
Author
Field
Templates > Feature > Data Exchange > News API > News API Article > Article > Author
Add Token Value Accessor with the following field values:
Name
Value
Name
Title
Field
Templates > Feature > Data Exchange > News API > News API Article > Article > Title
Add Token Value Accessor with the following field values:
Name
Value
Name
Description
Field
Templates > Feature > Data Exchange > News API > News API Article > Article > Description
Add Token Value Accessor with the following field values:
Name
Value
Name
Url
Field
Templates > Feature > Data Exchange > News API > News API Article > Article > Url
Add Token Value Accessor with the following field values:
Name
Value
Name
Image Url
Field
Templates > Feature > Data Exchange > News API > News API Article > Article > Image Url
Add Token Value Accessor with the following field values:
Name
Value
Name
Published At
Field
Templates > Feature > Data Exchange > News API > News API Article > Article > Published At