Skip to main content

Notifications

Community site session details

Community site session details

Session Id : FHWLunx5IlzrwAk8IwJimq
Power Apps - Building Power Apps
Unanswered

how to open a generated file in sharepoint using powerapps button

Like (0) ShareShare
ReportReport
Posted on 7 Nov 2022 08:22:23 by 258

HI, I have a customized form and all the data saved to sharepoint list. After that a pdf file generated in the sharepoint library. I want to open that file for print once a button in the form clicked.

 

how can use power automate for this?

Categories:
  • WarrenBelz Profile Picture
    146,788 Most Valuable Professional on 07 Nov 2022 at 10:51:50
    Re: how to open a generated file in sharepoint using powerapps button

    @sachk1 ,

    You need a field in the metadata of the Library set to the linking field such as what I suggested. This is generally set when the file is created.

     

    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

  • sachk1 Profile Picture
    258 on 07 Nov 2022 at 09:30:39
    Re: how to open a generated file in sharepoint using powerapps button

    Actually I dont have a linked field. how can i linked?

     

  • WarrenBelz Profile Picture
    146,788 Most Valuable Professional on 07 Nov 2022 at 08:29:00
    Re: how to open a generated file in sharepoint using powerapps button

    Hi @sachk1 ,

    Assuming you have a field "linking" the Library item to the list record (I use a field called IDRef which is the ID of the List item the file "belongs" to, you can have a Gallery with the Items (aassuming you have the List ID available)

    Filter(
     LibraryName,
     IDRef = YourListID
    )

    and then in the gallery a button or icon

    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

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 4 Super User 2025 Season 1

#2
danielleh Profile Picture

danielleh 2

Overall leaderboard