GlobalListsFetchList Method (String, String, String, String, Boolean, Boolean) |
Get list's items from its name.
Namespace:
WorkflowGen.My.Integration
Assembly:
WorkflowGen.My (in WorkflowGen.My.dll) Version: 8.1.3.0 (8.1.3.20220620)
Syntax public DataTable FetchList(
string listName,
string columns,
string language,
string sortBy,
bool sortAscending,
bool convertAllColumnsToString
)
Public Function FetchList (
listName As String,
columns As String,
language As String,
sortBy As String,
sortAscending As Boolean,
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. - convertAllColumnsToString
- Type: SystemBoolean
Return Value
Type:
DataTableA DataTable of items from the list
See Also