Skip to main content

Notifications

Community site session details

Community site session details

Session Id : pFg/ta6dkQUDCGGrFwD5KJ
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
    625 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

Understanding Microsoft Agents - Introductory Session

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

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,670 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard
Loading started