getFormConfig

This function loads a form configuration from the specified URL. To do this, an GET message is sent.

Overview

action ("getFormConfig")

Action to be executed.

payload (GetFormConfigActionPayload)

Object containing the URL to be specified.

GetFormConfigActionPayload

url (string)

URL of the configuration to be loaded.

Example

getFormConfig.json
{
  "$schema": "https://forms.virtimo.net/5.0.x/schema.json",
  "metaData": {
    "id": 0,
    "version": 0
  },
  "configuration": {
  },
  "components": [
    {
      "type": "container",
      "components": [
        {
          "type": "button",
          "label": "getFormConfig",
          "onClick": {
            "action": "getFormConfig",
            "payload": {
              "url" : "https://files.virtimo.net/docs-dev/docs-develop/de/bpc-docs/5.1/forms/_attachments/getFormConfigTarget.json"
            }
          }
        }
      ]
    }
  ]
}
Embedded preview

Keywords: