cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mammifero
Frequent Visitor

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

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

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

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