web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Opening in a new tab a...
Power Apps
Unanswered

Opening in a new tab a document from sharepoint

(0) ShareShare
ReportReport
Posted on by 31

Hi yall!

I was wondering if there's a way to open a SharePoint document (image,pdf,ppt,etc) from power apps in a new tab so the user can download it

 

I was trying with the function Launch(thisitem.access route) and didn't work

 

Thanks in advance!

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @Jose_LuisA 

    Yes, the Launch function is what you want.  That will bring up the document in a new tab.

    What issues are you having with the launch?

  • Jose_LuisA Profile Picture
    31 on at

    I'm trying to use the OnSelect property of a button to run this with this function 
    Launch(ThisItem.CompleteAccessRoute) but then this happens:

    Jose_LuisA_0-1645203891121.png

     

  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @Jose_LuisA 

    Since you are referencing ThisItem - then I assume this is all in a Gallery!?

    If so, then what datasource is the Items property of the gallery based on?

    What is CompleteAccessRoute in the datasource?

  • PowerRanger Profile Picture
    3,458 Super User 2024 Season 1 on at

    @Jose_LuisA So you are using a DocumentLibrary? A SharePoint Record should have a property named something like "Link to Element". Thats the property you want to use.

     

    Launch(ThisItem.'Link to Element')

     

    (Could be that the proeprty is called differntly in english....but should start with Link to....)

     

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Jose_LuisA Profile Picture
    31 on at

     So, on the OnSelect property of this button Im using the Launch function

     

    Launch(ThisItem.CompleteAccessRoute)

    Jose_LuisA_0-1645204192917.png

     

    But then this happen

     

    Jose_LuisA_1-1645204285423.png

     

     

  • PowerRanger Profile Picture
    3,458 Super User 2024 Season 1 on at

    @Jose_LuisA Have you seen my Post above?

  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @Jose_LuisA 

    Yes, but if you could provide answers to my last reply - that would be helpful.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard