Entertainment

  • It is very easy to get OptionSet text and value :

    Read more

  • To set a lookup field value, you need 3 parameters. Id of the lookup record name of the lookup record entity name of the lookup entity Here is how to use these values to set an account lookup field. var lookupValue = new Array();lookupValue[0] = new Object();lookupValue[0].id = myAccountId;lookupValue[0].name = myAccountName;lookupValue[0].entityType = “account”;Xrm.Page.getAttribute(“mylookupfield”).setValue(lookupValue);

    Read more

  • Web resources are one of the most important and crucial feature of Dynamics 365. It allows you to extend form customizations, the Sitemap, business logic, ribbon buttons and so on.. You usually refer to the controls(attributes) from Web resources to change their values, validate fields, trigger some events. But if at least one of those fields…

    Read more