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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Can I relate files from multiple folders in a SharePoint Document Library to a record?

(1) ShareShare
ReportReport
Posted on by 183
Hello everyone, 
 
In SharePoint I have a document Library called 'Pool' that is a pool of documents for different companies, and its structure is as follows:
  1.  Folder 'Company 1'
    • Folder 'Legal Documents'
      • LegalDoc1.pdf
      • LegalDoc2.pdf
      • LegalDoc3.pdf
    • Folder 'Official Certificates'
      • OfficialCertificate1.pdf
      • OfficialCertificate2.pdf
      • OfficialCertificate3.pdf
    • Folder 'Presentations'
      • Presentation1.pdf
      • Presentation2.pdf
      • Presentation3.pdf
 
  1.  Folder 'Company 2'
    • Folder 'Legal Documents'
      • LegalDoc1.pdf
      • LegalDoc2.pdf
      • LegalDoc3.pdf
    • Folder 'Official Certificates'
      • OfficialCertificate1.pdf
      • OfficialCertificate2.pdf
      • OfficialCertificate3.pdf
    • Folder 'Presentations'
      • Presentation1.pdf
      • Presentation2.pdf
      • Presentation3.pdf
 
  1. Folder 'Company 3'
    • etc...
 
In Dynamics I added a canvas app that allows me to select multiple documents from the above, and once a button is clicked, a power automate flow runs and:
  1. Creates a new Folder in Sharepoint containing the selected documents.
  2. Creates a document location in Dynamics pointing to the created folder in Sharepoint.
  3. Relates the Document Location to the Dynamics record.
 
However creating so many instances of the same documents is becoming redundant and filling my Sharepoint with unnecessary files. Is there a way to relate the Dynamics record to the selected documents without copying them to a new folder and relating its Location?
 
For example if I need LegalDoc1.pdf from Company 1 and OfficialCertificate1.pdf and OfficialCertificate2.pdf from Company 2, can I relate their current locations in Sharepoint to my Dynamics record?

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!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 39 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 37 Super User 2026 Season 2

#3
Subra Profile Picture

Subra 24 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans