Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

How to set Filed value automatically using plugin

Posted on by Microsoft Employee

I have a requirement that if I select any employee name from look up field than other field such as employee id which is a text field and employee addres(Multiple line of text fi;ed) should be auto pipulated.Suppose entity is an account and how to fullfill requirement using dynamics 365 crm plugin

  • Johao Larios Profile Picture
    Johao Larios 1,795 on at
    RE: How to set Filed value automatically using plugin

    Hello Khan,

    thanks for let us know. So, do you know the complete code to achieve that? or a portion of code? have you tried anything yet? Please be aware that the plugin will get triggered until you save the record. 

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to set Filed value automatically using plugin

    I know but I want to use plugin to achieve it. My question is how I can do it using plugin?

  • Suggested answer
    Johao Larios Profile Picture
    Johao Larios 1,795 on at
    RE: How to set Filed value automatically using plugin

    Hello Khan,

    For this approach I recommend you use a business rule or a Java Script, both work on the client site so, everytime your users change the lookup, the other fields will be auto populated.

    Business rule:  docs.microsoft.com/.../create-business-rules-recommendations-apply-logic-form

    For Javascript, this is the lastest documentation : docs.microsoft.com/.../clientapi-form-context

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to set Filed value automatically using plugin

    =

    [quote user="khan zubair"]

    I have a requirement that if I select any employee name from look up field than other field such as employee id which is a text field and employee addres(Multiple line of text fi;ed) should be auto pipulated.Suppose entity is an account and how to fullfill requirement using dynamics 365 crm plugin

    [/quote]

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans