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
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

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.

Users online (4,319)