Skip to main content

Notifications

Community site session details

Community site session details

Session Id : L5mUBTvVNsrtmOXIMFkHV8
Power Apps - Power Apps Pro Dev & ISV
Unanswered

Attach Files from SharePoint Library in Power Apps Email Activities (Model-Driven App)

Like (1) ShareShare
ReportReport
Posted on 14 Feb 2025 08:22:54 by 19

Hello everyone,

I'm currently working on improving my contract management model-driven Power App. All contracts are uploaded to a SharePoint Document Library when using the app.

Current Issue:

When users create an email within the Activities/Timeline Panel and want to add a contract as an attachment, they can only select files from their local storage via the standard Windows Explorer file picker. Ideally, I would like users to be able to attach files directly from the related SharePoint Document Library, or even better, restrict the selection to files linked to the specific contract.

Potential Solution:

I came across the Attachment Manager on PCF Gallery, which seems like an ideal solution. However, I haven’t been able to successfully import it.

Question:

Is there a way to implement a SharePoint-based attachment manager in a model-driven Power App, allowing users to attach documents stored in the related SharePoint library instead of only local files?

I’d appreciate any insights or alternative approaches!

Best regards,
Leander

  • Suggested answer
    GabGadou Profile Picture
    653 on 18 Feb 2025 at 14:29:53
    Attach Files from SharePoint Library in Power Apps Email Activities (Model-Driven App)
    I suggest to create a virtual table linked on a Sharepoint list for your files. Then, you will be able to add it to your form in a grid to work with your files and link them on a record as a relationship.

    Otherwise, you can build a simple embedded canvas app for your model-driven app to work with Sharepoint library. You simply create a gallery linked on your library and work with the files based on your model-driven record context.

     
    I hope it helps you to answer your needs!

    __________________________________________
     
    Please click Does this answer your question 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 a Like.

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

🌸 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…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 57 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 55 Super User 2025 Season 1

Overall leaderboard
Loading started
Loading complete