6.11. Add Resource Template¶
A tenant setting template is needed to manage a resource.
In Sitecore, open Template Manager.
Navigate to Templates > Data Exchange > Providers > RESTful > Tenant Settings.
Add the following template:
Name
Resource
Base template
Templates > System > Templates > Standard template
Location
Templates > Data Exchange > Providers > RESTful > Tenant Settings
Icon
Office/32x32/button.png
Base templates
Templates > System > Templates > Standard template
Templates > Data Exchange > Framework > Common > Convertible
Add the following sections and fields:
Section
Name
Type
Source
Shared
Resource Settings
Url
Single-Line Text
checked
Resource Settings
Method
Droplist
/sitecore/system/Settings/Data Exchange/Providers/RESTful/HTTP Methods
checked
Resource Settings
Headers
Treelist
query:./ancestor-or-self::*[@@templateid=’{012392D9-A3A1-447F-80F8-84114BA0DA40}’]/Headers
checked
Resource Settings
Parameters
Treelist
query:./ancestor-or-self::*[@@templateid=’{012392D9-A3A1-447F-80F8-84114BA0DA40}’]/Parameters
checked
Resource Settings
Paging
Droptree
query:./ancestor-or-self::*[@@templateid=’{012392D9-A3A1-447F-80F8-84114BA0DA40}’]/Paging
checked