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 11

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

  • Suggested answer
    Rahul Rathore Profile Picture
    11 on at
    RE: How to show the uploaded document from opportunity (Sales hub) to related workorder(field service) in dynamic 365.

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

    Much appreciate you.

  • Verified answer
    Community Member Profile Picture
    on at
    RE: How to show the uploaded document from opportunity (Sales hub) to related workorder(field service) in dynamic 365.

    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.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,274 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,947 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans