Input Source Parameter Mapping: Arrays

If your input source has array parameters, follow these steps to map them to global view model parameters.

Prerequisites 

Complete the basic parameter mapping steps in the parent task.

You can enter an expression that evaluates to an array of the same type on the JavaScript Expression tab. For example, your model might already have a parameter that’s an array of the right type, which you want to map directly to the input source parameter. Alternatively, you can enter an array of individual expressions using the Array tab.

Perform this task in the Array Parameter Values dialog; this dialog appears automatically if you select to map an array-based value on the Input Source Parameter Properties dialog.

  1. If you want to add an element to the array, click Add.
  2. Edit the expression next to any element in the array, as desired. Remember that string constants must be surrounded by quotation marks.
  3. If you want to remove an element, click Remove next to that element.
  4. Click OK to save your changes and close the dialog.
Next 

When you’ve mapped all input source parameters, you’re ready to add operators to your view model.

Related concepts
Expressions Menu

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.