Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

How can I map subgrid records from lead to opportunity?

(0) ShareShare
ReportReport
Posted on by 181
Hello,
 
I created a Many to Many Relationship between Leads and a custom table called 'Funding Entities'. In the Leads Form, I added a subgrid showing the related Funding Entities of that lead.
When I qualify that Lead to Opportunity, how can I map the records in that Lead's subgrid to the subgrid in the Opportunity Form?
 
If I go to the Lead's Field mappings to Opportunity, there is no field like 'Funding Entities'.
 
Any help will be highly appreciated.
Thank you in advance
  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    How can I map subgrid records from lead to opportunity?
    An N:N (many-to-many) relationship depends on a special relationship table (intersect table)
    In power automate, the schema we need will look something like 'relationshiptableset'.
    Here are the blog I referenced:

    I hope you can mark my answer verified if it is helpful! If you have any questions, please feel free to contact me.
    Regards,
    Leah
  • Joseph Nasr Profile Picture
    Joseph Nasr 181 on at
    How can I map subgrid records from lead to opportunity?
    Hello Leah,
     
    How did you get the  'cr0e8_fundingentities_leadset' ?
     
    Regards, 
  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    How can I map subgrid records from lead to opportunity?
    Field mapping is only supported for 1:N relationships, and there is no OOB functionality for mapping N:N relationships at Qualifying Lead.
    Before that, you will have to use plugins.
    Now, you can use power automate to create one flow to achieve it.
    Please refer to the following steps:
    1.Make sure that there is also a N:N relationship between Opportunity and this custom table.
    2.Power Automate
    1)Trigger
    --When you qualify one lead to opportunity, ‘Originating Lead’ field will be populated this lead automatically on opportunity.
    --Using opportunity creation as trigger and this field as filter:
    2)List rows--retrieve relationship entity.
    -- The schema will look something like relationshipentitynameset
    3)Get a row by ID
    4)Relate rows:
     

    I hope you can mark my answer verified if it is helpful! If you have any questions, please feel free to contact me.
    Regards,
    Leah

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... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans