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 :
Service | Customer Service, Contact Center, Fie...
Answered

How to show the uploaded document from opportunity (Sales hub) to related workorder(field service) in dynamic 365.

(0) ShareShare
ReportReport
Posted on by 23

How to show the uploaded document from opportunity (Sales hub) to related workorder(field service) in dynamic 365.

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Hi Rahul,

    The opportunity and work order is 1:N relationship, so what your need is that show the documents stored on SharePoint for a parent entity record on a child entity record.

    pastedimage1613380562290v1.png

    So you can use power automate to create a flow, which can achieve it.

    You can refer following steps.

    1.Go Power Automate(https://us.flow.microsoft.com/en-us/) to create an instant flow.

     pastedimage1613380597799v2.png

    2.Select ‘when a record is selected’ as trigger.

    pastedimage1613381641131v6.png

    3.Add ‘List records’ to fins all related Document Locations for the Parent record.

     pastedimage1613380852153v4.png

    4.Add ‘Create a new record’ to create a copy and Set Regarding to the Child Record for each Document Location.

     pastedimage1613382241862v7.png

    pastedimage1613382557979v8.png

    5.Go work order to expand flow to run the flow that just created.

    6.Test:

    Opportunity ‘test opp’ and work order ‘00003’ is 1:N relationship, ‘test opp’ record has two documents, and ‘00003’ has no document.

    pastedimage1613455577217v3.png pastedimage1613455464451v1.png pastedimage1613455638760v4.png 

    Run the flow in work order form.

    pastedimage1613455797400v7.png

    Result:

    one new document location was created, and documents from parent opportunity was stored in it.

    pastedimage1613455730845v6.png

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • Suggested answer
    Rahul Rathore Profile Picture
    23 on at

    Thanks Leah Ju. I appreciate your help. very helpful.

    Much appreciate you.

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 > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 55 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 27 Most Valuable Professional

#3
Scott Jackson UK Profile Picture

Scott Jackson UK 22

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans