Update Lookup Field Display Name in Dynamics 365 with JavaScript

Fredrik Engseth
4 min readFeb 1
Gif showing how it looks when changing the display name using JavaScript

This article explains how to update the lookup field display name in Dynamics 365 with JavaScript. The steps involve adding a JavaScript function that retrieve related record and fields from the related table, and updating the display name accordingly. The function can be added to the on-change and on-load events of the form, and the changes will only be reflected on the record…

Fredrik Engseth

Developer | Dynamics 365 | Power Platform | Azure | Personal development | Investments