cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mammifero
Helper I
Helper I

Launch & Navigate command

Good Morning

i have some difficult to use the Launch and Navigate funtion together

 

i would like to open a pdf link inside Screen4 - PdfViewer1 

 

OnSelect = Launch(ThisItem.PDF) ...

 

1.jpg

regards from Italy

2 REPLIES 2
Suchitra1996
Resolver II
Resolver II

@Mammifero 

 

Hi,

Please clarify, do you want to open the PDF in a new window or within a new screen?

 

  • I'm assuming that you are getting your files from a library in SharePoint and selecting them from a gallery. In this case, you can set the "On Select" property to:
    "UpdateContext({varPDF:PDFReader.Run(Gallery1.Selected.'Full Path')})​"
    Then, you can update the "Document" property of PDF Viewer to : 
    "varPDF.pdf"
  • If you want to view the PDF on a new window, you can use below function On Select:
    "Launch(ThisItem.'Link to item')"
    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Dear Suchitra1996, thank for the fast replay

in my sharepoint list i have a field with a link to a pdf located on my document library

 

i would like to open the linked pdf the PdfViewer1 in Screen4

 

but i dont understand the 'Full Path' that i have to use in your formula

thanks

 

1.jpg2.jpg

Helpful resources

Announcements
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.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,472)