Hybrid Integration 10.2 | Integrating On-Premises Applications | Integration Server Built-In Services | List 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:

Copyright © 2015- 2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release