Using Document Template for generating PDF File

0
Hi, I am using Document Template for generating the PDF file. But I am facing some errors in my console while running application. I have attached related documents. While generating the pdf I am getting an error message that "An error occurred. Contact your system administrator”. How to resolve this issue.
asked
1 answers
0

You’re creating a System.FileDocument object and you can’t download that. You should create a specialization in one of your module domain models and assign access privileges. See also https://docs.mendix.com/howto/data-models/working-with-images-and-files#4-file-documents, steps 4.1 – 4.5.

answered