How to show a PDF file uploaded in an interface to my summary view

Hi! I have created an app in which the user enters some purchase order fields, and one of them is a PDF file, saving each file that is uploaded in a constant folder of documents. When I end the user task, the document is saved correctly in the folder. 

But the fact is that I want that the exact file which the user uploads (related with a Purchase Order ID), to be shown in the summary view for each Purchase Order ID. By now I can upload a the same static PDF for all the summary views, pointing to a constant. But I would want to associate the PDF with its order and show the correct one for each PO. How can I do that? 

Thank you so much for your time

  Discussion posts and replies are publicly visible

Parents Reply
  • Thanks for your answers! I did exactly what you said, and now, when I upload a document, an ID is automatically generated in my record. 

    My question now is, how can I point the document ID in the document viewer component? I know that if I directly put an static document it works. I suppose I have to generate a constant with the list of document IDs, but I´m not sure how. And I cannot reference to records

    Thank you so much

Children