☁️ Loving our new documentation website? Provide feedback in the CloudCannon Community! ✨

allowed_keys[*]

Table of contents

Description:

This key represents an individual allowed key string in the _inputs.*(object-input).options.entries.allowed_keys array.

The value is a string that specifies a key name that can exist on the data within an Object Input. This set is used when entries are added and renamed with allow_create enabled.

Appears in:
└── _inputs
    └── *
        └── Object Input
            └── options
                └── entries
                    └── allowed_keys
                        └── [*]
Type:
string
Examples:

In this example, we have configured an allowed key name for entries in a mutable Object Input.

Copied to clipboard
_inputs:
  metadata:
    type: object
    options:
      allow_create: true
      entries:
        allowed_keys:
          - title
{
  "_inputs": {
    "metadata": {
      "type": "object",
      "options": {
        "allow_create": true,
        "entries": {
          "allowed_keys": [
            "title"
          ]
        }
      }
    }
  }
}
Open in a new tab