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

View pdf file from Canvas Apps (file present in filenet)

Hello Techie,

I have following requirement to implement via canvas App:

1. I need to fetch the pdf files (reside in FileNet system)

2. Once, it is fetched on click it should open in new tab/screen

 

Thanks.

 

1 ACCEPTED SOLUTION

Accepted Solutions
timl
Super User
Super User

Hi @tanvis2011 

I'm not too familiar with FileNet but if you can determine the unique URL for your PDF file (as shown in this link), you can open the PDF file in a new Window by calling the Launch like so....

Launch("http://P8_client_server_name/application_name:port/getContent?objectStoreName={84A4A727-37E2-4994-B060-8531FAF75612}&objectType=document&id={559946a8-2007-4096-AC67-773A8540AE6}")

 

https://stackoverflow.com/questions/24604434/file-upload-and-download-from-filenet 

View solution in original post

2 REPLIES 2
timl
Super User
Super User

Hi @tanvis2011 

I'm not too familiar with FileNet but if you can determine the unique URL for your PDF file (as shown in this link), you can open the PDF file in a new Window by calling the Launch like so....

Launch("http://P8_client_server_name/application_name:port/getContent?objectStoreName={84A4A727-37E2-4994-B060-8531FAF75612}&objectType=document&id={559946a8-2007-4096-AC67-773A8540AE6}")

 

https://stackoverflow.com/questions/24604434/file-upload-and-download-from-filenet 

View solution in original post

Pstork1
Dual Super User III
Dual Super User III

The Power Apps PDF viewer control will only work with HTTPS server locations that don't require authentication.  One workaround is to use Power Automate to actually retrieve the PDF and then display it in Power Apps.  Here's a video that walks through the process.

https://powerusers.microsoft.com/t5/Videos/Real-World-PowerApps-How-to-view-SharePoint-PDF-s-in-Powe...



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,814)