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 III
Super User III

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 III
Super User III

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Top Solution Authors
Top Kudoed Authors
Users online (3,096)