Microsoft Dynamics 365 Extensions Cookbook
上QQ阅读APP看书,第一时间看更新

Creating your first JavaScript function

In this first recipe, we will set up our environment and write a simple JavaScript method that automates generation of a date field with today's date when another field is populated, using the custom Graduation Details entity created in the previous chapter. Ensure the entity has a form with the Supervisor and the Post Graduate Start Date attributes to apply our customization on it. Even though we are using the entity from the first chapter, the customization can be applied to any lookup and date field of your choice.