Integration Server 10.5 | Built-In Services Reference Guide | Document Folder | Summary of Elements in this Folder | pub.document:insertDocument
 
pub.document:insertDocument
WmPublic. Inserts a new document in a set of documents at a specified position.
Input Parameters
documents
Document List Set of documents in which a new document is to be inserted.
insertDocument
Document The new document to be inserted to the set of documents specified in the documents parameter.
index
String Optional. The position in the seat which the document is to be inserted.
The index parameter is zero-based. if the value for the index parameter is not specified, the document will be inserted at the end of the document list specified in the documents parameter.
Output Parameters
documents
Document List Document list after inserting the new document.