I have created an app with datasource Excel file.
In excel file i have a column for document path.
Document path is a sharepoint document which is stored in sharepoint online document library.
When i try to launch file from the power apps i got the error that "Can not display PDF file. File can not be open" and during download the file i got error like "The URL passed to the function nis not valid"
I think this issue is generated because of the permssion.
How can i overcome it? i don't want to change the datasource from excel to sharepoint list as we need records from multiple lists in sharepoint.
Can anyone help me out?
I tried below solution to lauch pdf and it works fine. .
Created excel file as data source with two columns one with title and to hold document path .
when you click on the titles they are opening the pdf's. pdf files referenced in column2 are stored in sharepoint online document libary. Hope this helps
I am trying with android phone.
It gives me error that "Can not Diaply PDF(Test.pdf).PDF can not be opned"
it is not redirecting to login page of sharepoint.
What would be done if i am open pdf from android phone and PDF path is sharepoint document library path in excel sheet?
when you try to open a link to Pdf , you will see a popup for downloading it.
1) I tried to open via a link in android phone, asked for sign in and then based on the browser it asked me to download and provided a option to view. Both worked fine.
2) tried thru power apps and same thing happend. I was asked for download and then opened it works fine.