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 override out of the box button’s behavior in ms crm
In crm, sometime we want to override the operation being performed by oob or we want to perform action only if certain conditions are met. In this post,i'll share how we can override the out of the box button's behavior. Scenario: We have deactivate button on account record. We want that only if field named... 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 →
How to track user location in Dynamics 365 for phone App – Part 2 | Track user on Google Map in CRM
Integrating google map with Dynamics crm In previous post we discussed how to Track latitude and longitude in Dynamics 365 for phone App Going one step forward, in this post i'll be showing how i have integrated google map into crm and shown the last locations of user on google map embedded on user record. I... Continue Reading →
How to track user location in Dynamics 365 for phone App
Track latitude and longitude in Dynamics 365 for phone App In previous post we discussed How to get address from longitude and latitude in c# | Reverse geo-coding in c# In this post, i'll discuss how we can track the location of a user using Dynamics 365 for phone mobile application. Prerequisit:- For storing the latitude... Continue Reading →
Microsoft Dynamics 365 v9.0 latest feature – Show Progress Indicator
In latest release of Dynamics 365 i.e. v9.0 MS has introduces many new features to enhance the user experience, Progress indicator is one of them. Many times we need to write client side javascript code which take some time to execute due to many reasons (further server side code running etc). In such case, in... Continue Reading →