cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jbrit2020
Super User
Super User

Launch Sharepoint Attachment

Hello, I have this Form that lets the user upload a document, any document to a Sharepoint List and then it lets the users access the document in sharepoint by clicking a button. It will open the document on the Web, which is exactly where I want it to be so everyone can edit the same file if needed.

 

This is great for all docs apart from Powerpoint documents. for some reason the PowerPoint documents instead of launching on a browser are being automatically downloaded. Any idea on how to force every type of document to open in Browser instead of downloading?

 

Regards,

 

1 ACCEPTED SOLUTION

Accepted Solutions
jbrit2020
Super User
Super User

Got it:

 

First(ThisItem.Attachments).AbsoluteUri & "?web=1"

 

working great

View solution in original post

2 REPLIES 2
jbrit2020
Super User
Super User

Got it:

 

First(ThisItem.Attachments).AbsoluteUri & "?web=1"

 

working great

View solution in original post

Mari
Community Support
Community Support

Thanks for updating the thread with your findings!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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.

Users online (2,267)