cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Omkar360
Regular Visitor

Display SharePoint File URL in PowerApps

Hello All,

 

I'm uploading a file to the SharePoint document list and want to display a file URL in PowerApps. Is there any way we can do this? 

 

Thanks,

Omkar360

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @Omkar360 ,

If you put this on a Label in the gallery, it will show the full URL

ThisItem.'Link to item'

If you want to open it, put an icon or button in the Gallery with

Launch(ThisItem.'Link to item')

 

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.

Visit my blog Practical Power Apps

View solution in original post

2 REPLIES 2
Ismael_Novo
Resolver II
Resolver II

Hi Omkar360.

 

This is an example to make a URL to file in SharePoint list of files in a Gallery:

 

"https://{site}.sharepoint.com/sites/{sitename}/" & Gallery1.Selected.'Ruta de acceso a la carpeta')

 

Replace "site" and "sitename" of your site and "Ruta de acceso a la carpeta" is the Spanish version, in English must be very similar, "route to folder" or similar.

 

Greetings.

WarrenBelz
Super User
Super User

Hi @Omkar360 ,

If you put this on a Label in the gallery, it will show the full URL

ThisItem.'Link to item'

If you want to open it, put an icon or button in the Gallery with

Launch(ThisItem.'Link to item')

 

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.

Visit my blog Practical Power Apps

Helpful resources

Announcements
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 Kudoed Authors
Users online (1,512)