Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Find the default Document location of a record with Power Automate to save a word doc in D365

Posted on by

When I create a record in D365 a document  location is generated in SharePoint as the default location of any document associated with that record.

If I create a word document in Power Automate from a template in SharePoint, how do I then add that word document to the document location of the record by automation?

Bearing in mind at this point I don't know the name of the folder that has been generated by the system.

So, I need to be able to see the document in the sub-grid in D365 and I know this is stored in SharePoint.

All I want to be able to do in the flow is find the folder or document location, and then tell the flow that this is the folder the word doc need to be put in. How do I do that please in Flow.

Regards

Sam

  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    RE: Find the default Document location of a record with Power Automate to save a word doc in D365

    Hi Sam,

    There is one entity named document location:

    pastedimage1679035299829v1.png

    It is an own entity in CDS, that acts as the connecting part between CRM and Sharepoint.

    It stores information like the regarding record, the relative url (= folder) and the parent document location (= parent folder).

    pastedimage1679036189109v2.png

    Refer to the following link for more details:

    http://crmaddicted.blogspot.com/2020/03/power-automate-get-absolute-sharepoint.html 

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans