SmartApp output components

Render scalar values and nested arrays with text fields and repeaters.

The SmartApp builder maps a successful JSON test response into two output components.

Text field

A text field has an optional label, a value selector, and text styling. Use it for scalar values such as a customer name, plan, order number, or balance.

Repeater

A repeater selects an array and renders its children once per item. Repeaters can contain text fields and nested repeaters.

Given:

{
  "orders": [
    {
      "id": "INV-1042",
      "items": [
        { "name": "Keyboard", "quantity": 1 },
        { "name": "Mouse", "quantity": 1 }
      ]
    }
  ]
}

Create a repeater for orders, add a text field for id, then create a nested repeater for items with text fields for name and quantity.

For an array of strings, select Print all text value inside a repeater. Components can be dragged to reorder them, deleted individually, or cleared together; save after changing the builder.