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.

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.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

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