I currently have to deal with a problem with viewing PDF documents attached to SharePoint list items.
I need to filter the list based on the item ID an access the items attachment.
I've solved the document property of the PDF viewer as follows (where Param("ItemID") is the Item ID I hand over to the app)
ID = Value(Param("ItemID"))
DisplayName = First(Gallery_Approver.Selected.Attachments.DisplayName).DisplayName
The output of the concatenate function produces a correct link which leads me to the correct file if I open it in the browser.
But if I try to open it with the PDF viewer I get the following message:
"Couldn't open PDF file. Open in my browser instead."
Does anyone has an Idea how to solve this issue?
Thanks a lot in advance!
All the best
Check out new user group experience and if you are a leader please create your group
Check out how to claim yours today!
Test your skills now with the Cloud Skill Challenge.
We are excited to announce that Demo Extravaganza for 2021 has started!