Hi, I was using the PDF viewer following Reza Dorrani's tutorial https://www.youtube.com/watch?v=vqK29FWbLxU, when I interact with it works fine but when other users select a PDF file the pdf reader does not work.
The PDF viewer control has in the Document section the following instructions:
If(
Last(
Split(
Gallery1.Selected.'File name with extension',
"."
)
).Result = "pdf",
"appres://datasources/Documents/table/b88cea67-ff4f-4ac7-b3d7-10178bab90ce/rows/0/reference/https:%2F%2Funitedstates-002.azure-apim.net%2Fapim%2Fsharepointonline%2F5e6ba50034934fc79b1e8878c9298ce5%2Fdatasets%2Fhttps%25253a%25252f%25252fbarcelusaminsait.sharepoint.com%25252fsites%25252fBarcelUSATrial%2FGetFileContentByPath%3Fpath=%252f" & EncodeUrl(Gallery1.Selected.'Folder path' & Gallery1.Selected.'File name with extension'),
Substitute(
Gallery1.Selected.Miniatura.Large,
"/thumbnail",
"/pdf"
)
)
I change the ID to 0 so it won't be connected to a specific row in my sharepoint documents library

Report
All responses (
Answers (