GlobalListsfetchList Method (String, String, String, String, Boolean, String, String, String, Boolean) |
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: 4.3.0.0 (4.3.0.0)
Syntax public DataTable fetchList(
string listname,
string columns,
string language,
string sortBy,
bool sortAscending,
string filterColumnName,
string filterComparison,
string filterValue,
bool convertAllColumnsToString
)
Public Function fetchList (
listname As String,
columns As String,
language As String,
sortBy As String,
sortAscending As Boolean,
filterColumnName As String,
filterComparison As String,
filterValue 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 comparaison to apply to the filter - filterValue
- Type: SystemString
A value to apply to the filter - convertAllColumnsToString
- Type: SystemBoolean
Return Value
Type:
DataTableA DataTable of items from the list
See Also