I would like to make a user to upload PDF files and make it shown in the app.
I made successful with uploading using “file picker”.
Now that I would like to show the pdf in the app - its OK that only the first page is shown… but is it possible to make actions to open link of the file URL which is automatically assigned when uploaded?
Actually you can embed google pdf viewer for files with .pdf extension. Use the embed web component to display it. https://docs.google.com/viewer?embedded=true&url=PDFLINK
Please also note it looks like you’re using a Multiple Files column. I’m not sure the expected behaviour from your side when you have multiple files and you want to display them in the app. You would need a way to navigate between files?
That’s a Multiple Files column, it holds an array of URLs.
If you just have one, use a Single Value column to select the first item from the array, and then use that in the Web Embed component.
Thank you for your reply.
I’m using a Multiple Files column because I did not see a “single” file column…
Only one file will do. I do not need multiple files to navigate between them.
I just want to display or navigate to show whole PDF file.
Here are a few things you should pay attention to:
Do not use a multiple file column, as this column is of array type. Change it to a regular text column or use a single value column as mentioned by Darren.
You need to add a template column where you replace the “PDFLINK” code I provided with your URL column as a string.