GlobalListsfetchList Method (String, String, String, String, Boolean, String, String, String, String, Boolean) |
Note: This API is now obsolete.
Get list's items from its name. Doesn't apply the filter or sort or throw an exception
if you pass an invalid parameter.
Namespace:
WorkflowGen.My.Integration
Assembly:
WorkflowGen.My (in WorkflowGen.My.dll) Version: 9.0.3.0 (9.0.3.20240719)
Syntax [ObsoleteAttribute("This method is obsolete and will be removed in future release. Use FetchList instead.",
false)]
public DataTable fetchList(
string listName,
string columns,
string language,
string sortBy,
bool sortAscending,
string filterColumnName,
string filterComparison,
string filterValue1,
string filterValue2,
bool convertAllColumnsToString
)
<ObsoleteAttribute("This method is obsolete and will be removed in future release. Use FetchList instead.",
false)>
Public Function fetchList (
listName As String,
columns As String,
language As String,
sortBy As String,
sortAscending As Boolean,
filterColumnName As String,
filterComparison As String,
filterValue1 As String,
filterValue2 As String,
convertAllColumnsToString As Boolean
) As DataTable
Parameters
- listName
- Type: SystemString
List's name - columns
- Type: SystemString
CSV of the columns you want to get. - language
- Type: SystemString
Language in which you want to get the items. - sortBy
- Type: SystemString
The name of a column of the list to sort - sortAscending
- Type: SystemBoolean
Sort the items ascending. - filterColumnName
- Type: SystemString
The name of a column of the list - filterComparison
- Type: SystemString
A comparison to apply to the filter - filterValue1
- Type: SystemString
A first value to apply to the filter - filterValue2
- Type: SystemString
A second value to apply to the filter - convertAllColumnsToString
- Type: SystemBoolean
Return Value
Type:
DataTableA DataTable of items from the list
See Also