How can I get the value of a lookup field by javascript in Microsoft dynamics crm 365
问题 I am trying to get a lookup field value and set the value into another field ('Name' field for example) by Javascript in Microsoft Dynamics CRM. How can I do it? 回答1: To use the new (CRM 365) methods you need to do two things: When you write your form library, your function must include a parameter. This is set by CRM when it calls your function. In my example here, the parameter name is executionContext but the name does't matter Once you have this CRM parameter, you can get the Form Context