Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Answered

Get an attribute value from Entity A and set it on another Entity B attribute using Plugin

Posted on by 55

Hi, 

I am new to plugin.... 

I want to get a field value from Entity A and update it in another Entity B....

Update feedback field in entity B(Sample) from Entity A(Sample Batch) feedback field mentioned in image attached … 

pastedimage1633084992987v1.png

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Get an attribute value from Entity A and set it on another Entity B attribute using Plugin

    Hi ShoaibKhan,

    What you want is to update the child records when the parent record is updated.

    You can refer following link, which provides detailed steps:

    Update Child Record When Parent Record is Updated – Using Plugin – CrmKnowHow (wordpress.com)

    (+) How to write plugin to Update Child records when Parent record updated - Microsoft Dynamics CRM Forum Community Forum

    Or you can try to use workflow/flow to achieve it, which are no-code ways:

    (1) Workflow:

    There is no OOB step in workflow to update child records, you need firstly download Solution: Dynamics 365 Workflow Tools and import it.

    Once the Solution file is downloaded and imported into your organization, setting-up a Process/Workflow for this is very straightforward.

    Update Child Records in a One:Many Relationship in Dynamics 365 Customer Engagement | Encore Business Solutions

    (2) Flow:

    Go Power Automate(https://us.flow.microsoft.com/en-us/)

    Update Child Records in Dynamics 365 using Microsoft Flow - CRM Innovation - Microsoft Dynamics 365 Consulting and Marketing Solutions

  • ShoaibKhan Profile Picture
    ShoaibKhan 55 on at
    RE: Get an attribute value from Entity A and set it on another Entity B attribute using Plugin

    Hi,

    Entity A(Sample Batch) is Parent and Entity B(Sample) is Child of Entity A....

    I want to trigger my plugin when user enters data in feedback field of Entity A through the editable grid as shown in Image above.....

  • Charan Raju C R Profile Picture
    Charan Raju C R 3,155 Super User 2024 Season 1 on at
    RE: Get an attribute value from Entity A and set it on another Entity B attribute using Plugin

    Hi Shoaib,

    What is the link/relationship between Entity A and Entity B?

    When do you want to trigger this plug-in to update Feedback field in Entity B?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans