Skip to end of banner
Go to start of banner

gadget_getMultiUserPickerValue

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Availability

This routine is available starting with SIL Engine™ 3.0.8.

Syntax

gadget_getMultiUserPickerValue(argv, label)

Description

Retrieves the value from a multi user picker.


Parameters

Parameter name

Required

Description

argv

Yes

the argv variable

labelYesthe label of the multi user picker

Return type

string[]


Example

Assume we have the following script that creates a multi user picker:

gadget_createMultiUserPicker("MultiUserPicker", {"admin", "demouser"}, true, "Required Multi User Picker");

in order to retrieve the values entered in the field above we need to use the gadget_getMultiUserPicker  routine as follows:

string[] res = gadget_getMultiUserPickerValue(argv, "MultiUserPicker");
//res[0] = admin
//res[1] = demouser

The routine has returned in this case an array of two strings, "admin" and "demouser".

See also


  • No labels