Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Answered

How to create plugin (compulsory) to add employee into subgrid after update project?

Posted on by 15

Hi, 

I have a field named Member (text field, can't change into lookup). After updating, I want to write a plugin to add the employee into the subgrid but I don't know exactly how?

pastedimage1629798379470v1.png

Please give me clear explanation because I'm new.
Thanks.

  • Huong Gau Profile Picture
    Huong Gau 15 on at
    RE: How to create plugin (compulsory) to add employee into subgrid after update project?

    Thank you but plugin is compulsory there

  • Huong Gau Profile Picture
    Huong Gau 15 on at
    RE: How to create plugin (compulsory) to add employee into subgrid after update project?

    Thanks I can do it already

  • Suggested answer
    Ram Prakash Profile Picture
    Ram Prakash 2,285 on at
    RE: How to create plugin (compulsory) to add employee into subgrid after update project?

    Hi Huong Gau,

    I think based on your requirement we can use WORKFLOW to create related Records.

    Go to Advance Setting by selecting Gear icon at the top, then Select Process and Create Process for Member Entity

    And Use Create Record for Employee Entity Based on Member Record

    Make Sure You select Scope of Entity as RECORD FIELD CHANGE

    pastedimage1629947278713v1.png

  • Verified answer
    David Yu Profile Picture
    David Yu on at
    RE: How to create plugin (compulsory) to add employee into subgrid after update project?

    Hi Huong,

    You need to build up 1:N relation ship between your project and Member entity first. A new field will be created in Member entity which is a lookup for Project.

    In the plugin, you may create a new member and connect to the right Project record.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,558 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,647 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans