Skip to main content
Dynamics 365 general forum

How to add records to a subgrid for multiple records at one time

editSubscribe (0) ShareShare
Posted on by 2,611

I have a project record and in this record there is a subgrid that looks to Entity B.  There is a N:N relationship between the 2 entities.  Is there a way to quickly add records from Entity B to many Project records at one time?  Instead of going into each Project and going to the Entity B subgrid, searching for the Entity B records and adding it.

Can a workflow do this, if so how?  Or is there another way to accomplish this?

  • Verified answer
    mobeenmohsin Profile Picture
    mobeenmohsin on at
    RE: How to add records to a subgrid for multiple records at one time


    I believe you can use please use that code in plugin. 

    Best Regards,


Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…


Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,126 Super User

Martin Dráb Profile Picture

Martin Dráb 222,646 Super User

nmaenpaa Profile Picture

nmaenpaa 101,138

Featured topics

Product updates

Dynamics 365 release plans