Multipart (dw::module::Multipart)

This helper module provide functions for creating MultiPart and formats and parts (including fields and boundaries) of MultiPart formats.

To use this module, you must import it into your DataWeave code, for example, by adding the line import dw::module::Multipart to the header of your DataWeave script.


Name Description


Creates a MultipartPart data structure using the specified part name, input content for the part, format (or mime type), and optionally, file name.


Creates a MultipartPart data structure from a resource file.


Creates a Multipart data structure using a specified array of parts.


Helper function for generating boundaries in Multipart data structures.

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub
Submit your feedback!
Share your thoughts to help us build the best documentation experience for you!
Take our latest survey!