displayTemplate resource type

Namespace: microsoft.graph.externalConnectors

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

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 JSON representation shows the resource type.

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