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

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

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