web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

How to set Filed value automatically using plugin

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Community Member Profile Picture
    on at

    =

    [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]
  • Suggested answer
    Johao Larios Profile Picture
    1,795 on at

    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
    on at

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

  • Johao Larios Profile Picture
    1,795 on at

    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. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 128 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 95

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans