cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DannyBR
Frequent Visitor

Showing pdf Attachment from sharepoint

Hello Guys, I have been design couple powerapp form in sharepoint. 
A powerapps form who show pdfs from sharepoint. it works perfect!
but I tried to do some changes in my form and now pdf component is not working if y update my app form.
I did think it was a bad code I set, but no.
I try to show pdf in another sharepoint form with other list, but now pdf component is showing nothing.

So I decided to do not changes in my apps form in sharpoint. until pdf component works.
I back to the stable version in my apps form. it works good at least.

DannyBR_1-1629898623230.png

 

DannyBR_0-1629898595220.png

 

1 REPLY 1
v-jefferni
Community Support
Community Support

Hi @DannyBR ,

 

For now, pdf viewer could not retrieve the file if the data source need authentication:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-pdf-viewer

 

So, you will need the help of power automate to achieve your need. Please refer to below article and follow the steps:

https://www.c-sharpcorner.com/article/using-pdf-viewer-in-power-apps-form/

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,348)