Skip to main content

Notifications

Community site session details

Community site session details

Session Id : tr+m/qlZxXKEbhRCXy/oRt
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
    147,227 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
    147,227 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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

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

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 292 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 169

#3
stampcoin Profile Picture

stampcoin 130

Overall leaderboard
Loading started