6.11. Add Resource Template

A tenant setting template is needed to manage a resource.

  1. In Sitecore, open Template Manager.

  2. Navigate to Templates > Data Exchange > Providers > RESTful > Tenant Settings.

  3. 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
  4. 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