Trading Networks 10.7 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Doc Folder | Summary of Elements in this Folder | wm.tn.doc:getContentPart
 
wm.tn.doc:getContentPart
Retrieves a content part from the specified document. A content part can be, for example, a segment of a document or an attachment.
Input Parameters
bizdoc
Object The document from which you want to retrieve a content part. The document must be an instance of com.wm.app.tn.doc.BizDocEnvelope.
partName
String The name of the content part you want to retrieve (for example, “xmldata”).
Output Parameters
contentPart
Document The content part that was retrieved. For the structure of contentPart, see wm.tn.rec:BizDocContentPart.