Skip to main content

Notifications

Dynamics 365 general forum
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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,469 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans