Test configuration with the JSON option

If a Code definition is selected in the Form data option, the code definition and the variables are pre-filled in the JSON option. If variables are defined for the code definition, values must be assigned for the variables.

Prerequisite

Expert or Administrator role

Procedure

  1. Call up the Planning & control > ID Builder > Test client tab.
  2. Select the JSON option.

    idb_generate_json_2023_01

  3. Enter the code definition in the codeDefinition line.

    Example: "codeDefinition": "CodePackage2",

  4. Enter the keys and values of the variables in the variables array.

    Example: "variables": {"InputVariable": "1","InputVariable2": "3"}

    If the structure is not valid or the variables of the code definition are not entered, an error message is output during testing.

  5. Test the code definition with Execute.

The generated code of the code definition appears.