Diplay a pdf document

1
0
-1

Hello, i have uploaded a pdf document in task1 ,how can i display the document in task 2 in an other lane.

Thanks in advance!

Comments

Submitted by Dibyajit.Roy on Thu, 01/07/2021 - 06:58

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

2 answers

1
0
-1

You mean in the form of display?how do i use file source as url?

1
0
-1

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

Submitted by Dibyajit.Roy on Thu, 01/07/2021 - 08:33

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

Submitted by tsop on Thu, 01/07/2021 - 09:16

You mean in the form of display?how do i use file source as url?

Notifications