How to add new option set value in global option set using webapi in Dynamics 365 ce

I was trying to found out how we can add a new value to a global option set and below post request can do the same : { "OptionSetName": "new_test", "Label": { "LocalizedLabels": [ { "Label": "anewoptionsetlabel", "LanguageCode": 1033 } ] } } Output: { "@odata.context": "$metadata#Microsoft.Dynamics.CRM.InsertOptionValueResponse", "NewOptionValue": 100000005 } Be default it put... Continue Reading →

How to disable hyperlink property of a lookup in dynamics crm (Unsupported way)

How to disable opening of record on click on the lookup in ms crm This, a little weird requirement of disabling the hyperlink property of a lookup field in dynamic crm can be fulfilled with below code. function DisableLookupHyperLink(lookupfieldname) { var lookupSpanNodes = document.getElementById(lookupfieldname + "_d").getElementsByTagName("SPAN"); for (var spanIndex = 0; spanIndex < lookupSpanNodes.length; spanIndex... Continue Reading →

Blog at

Up ↑