6.14. Add Application Template

A tenant setting template is needed to manage an application.

  1. In Sitecore, open Template Manager.

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

  3. Add the following template:

    Name

    Application

    Base template

    Templates > System > Templates > Standard template

    Location

    Templates > Data Exchange > Providers > RESTful > Tenant Settings

    Icon

    Office/32x32/gearwheels.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

    Settings

    Base Url

    Single-Line Text

    checked

    Authorization

    Refresh Token

    Single-Line Text

    checked

    Authorization

    Access Token

    Single-Line Text

    checked

    Authorization

    Access Token Date

    Datetime

    checked

    Authorization

    Expires In

    Integer

    checked

    Endpoints

    Authentication Resource

    Droptree

    query:./ancestor-or-self::*[@@templateid=’{327A381B-59F8-4E88-B331-BEBC7BD87E4E}’]//descendant-or-self::*[@@templateid=’{012392D9-A3A1-447F-80F8-84114BA0DA40}’]/Resources

    checked