getDropdownFieldValuesForTable
Retrieves the dropdown list values from a field. A SOAP error envelope is returned if the operation fails.
Parameters
Parameter | Type | Description |
---|---|---|
cookie | long | Session cookie returned by projectLogon. |
tablename | string | Table name the field belongs to. Valid values: Defect, Test Case, Test Run, Requirement, Requirement Document, Test Variant, User, Customer, Task, Test Config, Links, Folder, and Report. Use getTableList to retrieve a list of available tables. |
fieldname | string | Field name to retrieve values from. Use getDropdownFieldForTable to retrieve available fields. |
Return value
Value | Type |
---|---|
pValueList | CFieldValue[] |
Example
CFieldValue[] dropdownFields = ttsdk.getDropdownFieldValuesForTable(cookie, "Defect", "Priority");