Integration Cloud 6.6.0 | Built-In Services | Built-In Services | stringListToDocumentList
 
stringListToDocumentList
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. 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: