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

Notifications

Announcements

No record found.

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?
I have the same question (0)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 80

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans