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
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Solution Authors
Top Kudoed Authors
Users online (2,189)