Skip to main content
Dynamics 365 general forum
Answered

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

editSubscribe (0) ShareShare
ReportReport
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?

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

    Hi,

    I believe you can use https://docs.microsoft.com/en-us/powerapps/developer/data-platform/org-service/entity-operations-associate-disassociate. please use that code in plugin. 

    Best Regards,

    Mobeen

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…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 222,646 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Featured topics

Product updates

Dynamics 365 release plans