Custom Entity creation through C#

CreateEntityRequest createrequest = new CreateEntityRequest { Entity = new EntityMetadata { SchemaName = "new_rakesh", DisplayName = new Label("rakeshs", 1033), DisplayCollectionName = new Label("rakeshs", 1033), Description = new Label("An entity to store information custom customer bank accounts", 1033), OwnershipType = OwnershipTypes.UserOwned, IsActivity = false, }, PrimaryAttribute = new StringAttributeMetadata { SchemaName = "new_names", RequiredLevel = new … Continue reading Custom Entity creation through C#

Dependent Optionset/ Pick List

Dependent Optionset/ Pick List In a recent scenario, I was asked to create a dependent Pick-list/ Option set list where the options of Second Pick-list are dependent on the Value of the First one. By default there is no such option in Dynamics CRM but I came up with a solution from SDK. Optionsets are- category- … Continue reading Dependent Optionset/ Pick List

Dependent Picklist / OptionSet in CRM 2016

Dependent Picklist / OptionSet in CRM 2016 In a recent scenario, I was asked to create a dependent Pick-list/ Option set list where the options of Second Pick-list are dependent on the Value of the First one. By default there is no such option in Dynamics CRM but I came up with a solution from SDK. … Continue reading Dependent Picklist / OptionSet in CRM 2016

Background colors to Fields through JavaScript

Background colors to Fields through JavaScript function colour() { //// Update Field Label Colors for account entity document.getElementById("name").style.color = "White"; document.getElementById("name").style.backgroundColor = "Red"; document.getElementById("accountnumber").style.color = "White"; //document.getElementById("accountnumber").style.backgroundColor = "Red"; }

Notifications in MSCRM using Javascript

Notifications in MSCRM using Javascript setFormNotification Syntax: Xrm.Page.ui.setFormNotification(message, level, uniqueId); Parameter Name Type Description message String The text of the message level String The level defines how the message will be displayed. ERROR : Notification will use the system error icon. WARNING : Notification will use the system warning icon. INFO : Notification will use the … Continue reading Notifications in MSCRM using Javascript