Skip to content

Latest commit

 

History

History
51 lines (45 loc) · 1.91 KB

externalconnectors-displaytemplate.md

File metadata and controls

51 lines (45 loc) · 1.91 KB
title description author ms.localizationpriority ms.subservice doc_type
displayTemplate resource type
Defines the appearance of the content and the conditions that dictate when the template should be displayed.
emzho
normal
search
resourcePageType

displayTemplate resource type

Namespace: microsoft.graph.externalConnectors

Defines the appearance of the content and the conditions that dictate when the template should be displayed.

Properties

Property Type Description
id String The text identifier for the display template; for example, contosoTickets. Maximum 16 characters. Only alphanumeric characters allowed.
layout microsoft.graph.Json The definition of the content's appearance, represented by an Adaptive Card, which is a JSON-serialized card object model.
priority Int32 Defines the priority of a display template. A display template with priority 1 is evaluated before a template with priority 4. Gaps in priority values are supported. Must be positive value.
rules microsoft.graph.externalConnectors.propertyRule collection Specifies additional rules for selecting this display template based on the item schema. Optional.

Relationships

None.

JSON representation

The following is a JSON representation of the resource.

    {
      "id": "String",
      "layout": {"type": "AdaptiveCard","version": "1.0","body": [{"type": "TextBlock","text": "String"}]},
      "priority": 0,
      "rules": [
        {
          "property": "String",
          "operation": "String",
          "valuesJoinedBy": "String",
          "values": [
              "String",
              "String"
          ]
        }
      ]      
    }