Home Search

DriveWorks Pro 21
Input Values

Send Feedback

Input Values

The Input Values property controls the inputs given to the Specification in the Specification Host Control.

Property Type: Dynamic

Default Value: No default value is applied to this property

Hierarchical Reference: ControlName.InputValues

Please note, for this to Task to function correctly, the columns in the array have to be specifically called "Name" and "Value".

To Change the Default Value

The default value of the property can be changed by any of the following methods:

  • Enter the required value directly into the enabled property field.
    1. Click in the property for the control to be changed.
    2. Type the required value directly into the property field.
  • Activate the rule builder.
    1. Click in the property for the control to be changed.
    2. Click the build button at the end of the property field to launch the rule builder .
    3. Enter the rule in the rule editor and click OK to apply.

Examples

Simple Array

Input Value RuleResult
{"Name","Value";"Height","200"}Will pass the value 200 into a constant or control named Height in the hosted specification.

Dynamic Array

The recommended method for passing a dynamic array into the hosted specification is to create a Calculation Table in the project hosting the specification.

Input Value RuleResult
DWCalcHostedSpecificationValuesFrom the Calculation Table given below this will pass the value selected in the Height control into the hosted specification.

Where the table is constructed as follows:

NameValue
"Height"HeightReturn

Value can be controlled by a rule.