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 : https://vgrade2.api.crm8.dynamics.com/api/data/v9.1/InsertOptionValue { "OptionSetName": "new_test", "Label": { "LocalizedLabels": [ { "Label": "anewoptionsetlabel", "LanguageCode": 1033 } ] } } Output: { "@odata.context": "https://vgrade2.api.crm8.dynamics.com/api/data/v9.1/$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 WordPress.com.

Up ↑