10.1. Add Token Value Accessor TemplateΒΆ
Json.NET is used to query JSON with SelectToken. A template is needed to specify the token.
In Sitecore, open Template Manager.
Navigate to Templates > Data Exchange > Providers > RESTful > Data Access > Value Accessors.
Add the following template:
Name
Token Value Accessor
Base template
Templates > System > Templates > Standard template
Location
Templates > Data Exchange > Providers > RESTful > Data Access > Value Accessors
Icon
office/32x32/radio_button_selected.png
Base templates
Templates > System > Templates > Standard template
Templates > Data Exchange > Framework > Common > Enableable
Templates > Data Exchange > Framework > Data Access > Value Accessors > Value Accessor
Add the following sections and fields:
Section
Name
Type
Source
Shared
Settings
Path Expression
Single-Line Text
checked