Looking to generating a word documents in Studio. A similar answer talked about using a custom adapter where java code can be written to create the file and once the file is created, it can be attached to a document dataslot and can be further passed to an email adapter. Does anyone have an example of this that they can share?
Attahced is a sample java code which uses BLServer/BizLogic API to attach files to document dataslots in a BizLogic application.
Regarding creating of word document, you may utilize any third part tool such as Apache POI.