Diplay a pdf document
2 answers
I want to show it as file viwer.I have declared a document in my pool and in task 1 i used a file type contract to upload the pdf,but the file viewer in task 2 is showing me an 500 internal server error.
Comments
In the form , if you are using the File Viewer widget. Have you tried to use the file source as URL.
You can easily get the URL from context variable.
Try the Url and see if the document download is successful . Then use the URL in file Viewer and check if Document is displayed or not.
Regards
Comments
Hello
Do you want to display the document in the page as a file viewer ??
or you want to show the document as a link to download for user . ??
Regards