Integration Server 10.5 | Built-In Services Reference Guide | List Folder | Summary of Elements in this Folder | pub.list:stringListToDocumentList
 
pub.list:stringListToDocumentList
WmPublic. Converts a String list to a document list.
Input Parameters
fromList
String List Optional. List of Strings (a String[ ]) that you want to convert to a list of documents (an IData[ ]). If fromList is not specified, the service returns a zero length array for toList.
key
String Optional. Key name to use in the generated document list.
Output Parameters
toList
Document List Resulting document list.
Usage Notes
Creates a document list containing one document for each element in the fromList. Each document will contain a single String element named key.
For example, if fromList consists of:
fromList[0] = "a"
fromList[1] = "b"
fromList[2] = "c"
key = "myKey"
The result would be: