web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Listing SharePoint Doc...
Power Apps
Answered

Listing SharePoint Documents in Word Template of Entity

(0) ShareShare
ReportReport
Posted on by 8

Hello,

 

Having an issue with a PDF export of a model driven application I'm building. I can't figure out how to list SharePoint document attached in PowerApps in a word template using the XML Mapping Pane. I can include the related SharePointDocuments table but this does not return any data.

 

Is that just not possible? The goal is to show all the attachments for an Opportunity in a PDF summary.

 

Thanks!

  • Verified answer
    Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @fhquijan ,

     

    As far as I know this is not possible with Word Templates.  Please look at Power Automate to accomplish what you are trying to do...  

     

    The following is a sample that might help a lot:  https://immersivecoder.com/2020/04/07/access-files-stored-in-dynamics-365-records-via-powerautomate/ 

     

    Hope this helps.  Please accept if answers your question or Like if helps in any way.


    Thanks,

     

    Drew

  • Ram Prakash Duraisamy Profile Picture
    5,891 Super User 2026 Season 1 on at

    Hello @fhquijan,

     

    As per Out of the Box Behavior Populating SharePoint Documents Directly in Template is not possible in DataVerse.

     

    But if we have attachment in Model Driven apps like Image Field or Attachments we can show the same in Template.

     

    Please find my step by step video from Dataverse Attachment/Image Field https://www.youtube.com/watch?v=GqH_xn1P0Jo&t=6s

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Blog : https://microsoftcrmtechie.blogspot.com

     

     

  • fhquijan Profile Picture
    8 on at

    Thank you both! I appreciate your suggestions but its just not appropriate for the use case we're trying to accomplish. Really frustrating that Microsoft wouldn't consider this need as part of their SharePoint integration.

  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @fhquijan ,

     

    Overall I have found the Word Template functionality pretty weak overall and have migrated to utilizing other approaches in Power Automate to accomplish my needs with much more capabilities possible.  Sorry this didn't help in this case for your situation.


    Thanks,


    Drew

  • fhquijan Profile Picture
    8 on at

    Yeah as we grow our footprint in model-driven apps, we're learning multiple limitations and what work arounds are needed. The template really got us 99% of the way there, just this last piece that sadly won't work. Appreciate your help though Drew!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard