Click or drag to resize

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.2.0.0 (4.2.0.0)
Syntax
public DataTable fetchList(
	string listname,
	string columns,
	string language,
	string sortBy,
	bool sortAscending,
	string filterColumnName,
	string filterComparison,
	string filterValue,
	bool convertAllColumnsToString
)

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: DataTable
A DataTable of items from the list
See Also