How to Display a document from document template

I have followed the how-to guides to create a document template and a button/microflow to create a System/FileDocument and generate a document from the template and output it to PDF. I started with a simple document template containing only a datagrid with 2 columns. The microflow button passes all pages of a datagrid to the microflow. When I click the button I get no errors, but nothing apparently happens. However, a record is created in the FileDocument table with a name like 27/10/2010 21:33:32:937.pdf, so it looks like a document may be created. How is this meant to be displayed?
2 answers

You should make a download form for the FileDocument, or trigger the download action in a microflow on the generated FileDocument.


You can use the Document Viewer to display it in your application.