How to create a WTDocument from Single Level BOM report export (PDF or execl) as primary content?
Am in need of,
1. Create a Single level BOM of any WTPart and export it as PDF format
2. Create a WTDocument using above PDF file as primary content
3. Associate WTDocument to WTPart (mentioned in Step 1)
Step 2 and 3 are quite straight forward.
But in Step 1, how to do I get PDF content stream at run time or how it would be downloaded particular location in server.
Note : All above 3 steps will be executed as process of WTPart work flow...

