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 Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,411)