Adapter to generate Word document from dataslots

Posted by dhamilton@nyiso.com on 07-Jan-2011 10:48

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?

Thank you!

All Replies

Posted by sandips on 08-Jan-2011 09:47

Hello Denise,

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.

Thanks,

Sandip

This thread is closed