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 

Pstork1
Dual Super User
Dual Super User

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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

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

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (5,975)