編輯

共用方式為


SelectElement in Unified Service Desk

<SelectElement> element searches for a named control on an HTML page, and returns or reverses its value. This topic describes the elements of <SelectElement>

<SelectElement> syntax

The following code snippet shows how <SelectElement> is used:

<SelectElement name="control name">  
Search Path Elements  
</SelectElement>  
  

Elements of <SelectElement>

The following table describes the elements of the <SelectElement> tag.

Element Description
FindControl Returns True or False depending on whether the control can be found on the user interface (UI).
GetControlValue Returns the selected item(s), as a comma-separated list.
SetControlValue Inverts the selection status of the first matching item in the list. This clears the entire selection when the provided set text is empty.
ExecuteControlAction For single-selection modes, this inverts the selection status of the current selection. For multi-selection modes, it adds the next unselected item to the current selection

See also

WebDDA
Use Data Driven Adapters (DDAs)