VMware Aria

 View Only

Cross-referencing nested inputs

  • 1.  Cross-referencing nested inputs

    Posted Mar 31, 2025 02:16 AM

    I'm trying to reference nested inputs between multiple levels, without any success so far. This document describes how to reference nested inputs in the resources section: User input in VMware Aria Automation requests

    What I want to do is to reference these inputs in the inputs section, to provide dynamic default values or dynamic list of values, depending on other input fields.

    Referencing on the same level works, here is a simple example:

    inputs:
      size1:
        type: number
      doublesize1:
        type: number
        $dynamicDefault: /data/vro-actions/com.test/double?num={{size1}}
      level2:
        type: object
        properties:
          size2:
            type: number
          doublesize2:
            type: number
            $dynamicDefault: /data/vro-actions/com.test/double?num={{size2}}

    This will result in the following form:

    However, I cannot reference size1 input in level2 doublesize2, and vice versa, I cannot reference size2 in doublesize1.

    This limitation(?) applies to both cloud templates and custom forms.

    Any suggestion how to workaround this, or this is a hard limitation?