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

pdfviewer format

Hey guys,

In pdfviewer the jpg format is not supported and it is expecting pdf format and there is no way to upload custom pdf. What to do?

Any information regarding the above will be appreciated.

 

Thanks in advance.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Frequent Visitor

Re: pdfviewer format

Hey

The solution provided by you is not working. I had followed the same steps but still I am unable to open jpg file in pdf viewer. Could you please another solution to do so?

 

Thanks

View solution in original post

4 REPLIES 4
Highlighted
Dual Super User III
Dual Super User III

Re: pdfviewer format

Hi @OT786 

 

Yes, the pdf viewer supports jpg/ jpeg formats. For doing so, please follow.
 
1) Change the pdf file extension to jpg. Please make sure the file is converted properly from pdf to jpg. It's name should not be in format FileName.jpg.pdf
 
2) Upload it in the media as image.
 
3) In the "Document" property of the PDF viewer, add this added image file.

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Highlighted
Community Support
Community Support

Re: pdfviewer format

Hi @OT786 ,

Do you want to upload local PDF files into your app?

 

Currently, there is no direct way to upload local PDF files into an app. As an alternative solution, I agree with @yashag2255 's thought almost.

 

You could consider rename your local PDF file as jpg file, e.g. Custom.pdf --> Custom.jpg, then upload the Custom.jpg using the Media functionality. Then within your PDF Viewer control, set the Document property to following:

Custom.jpg

More details about uploading jpg files as Media file, please check the following article:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/add-images-pictures-audio-video

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: pdfviewer format

Hey

The solution provided by you is not working. I had followed the same steps but still I am unable to open jpg file in pdf viewer. Could you please another solution to do so?

 

Thanks

View solution in original post

Highlighted
Dual Super User III
Dual Super User III

Re: pdfviewer format

Hey @OT786 

 

That's really strange. Can you try to repeat the same procedure after clearing the cache of your browser? Also, pdf viewer is currently in experimental feature so we do not have much flexibility over the control. Also, please try once with a different browser, for me it works fine with Chrome.
 
If you still see the issue, I would recommend you to save the file on an online cloud platform and refer to it using the url.
 
P.S. Bymistake while replying I clicked the Accept Solution and turns out that cannot be reversed. Please keep on posting in case you come across issues on this thread and mark the response that most helped you as a solution. 
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,769)