USD Session Lines

…https://msdn.microsoft.com/en-us/library/microsoft.crm.unifiedservicedesk.dynamics.controls.styles.aspx A new tab is created. As we copied the code from the previous tab, the details will look the same. You can see we are calling DoActionCommand to open

Dynamics 365 Calculated Fields

…a new calculated field on the Order entity. Let’s create a new field. Enter the display name and select the data type. Now select the field type. You can see…

Using formContext in Dynamics 365

…loads, for example, a Contact entity form. Let’s add a new web resource: Add a new JScript: Now let’s add a function. We won’t do anything except set a variable…

Dynamics 365 – Impersonate a User in Plugin

In Dynamics 365, when testing plugins, you can change which user the plugin runs under. Do to this, open the step in the Plugin Registration Tool. We have a plugin…

Get Weather by Speaking App with Azure Cognitive Services

…where we are searching for weather in New York, NY: https://query.yahooapis.com/v1/public/yql?q=select%20item.condition%20from%20weather.forecast%20where%20woeid%20in%20(select%20woeid%20from%20geo.places(1)%20where%20text%3D%22New%20York%2C%20NY%22)&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys The response will be JSON, something like: Let’s add Newtonsoft.Json to our project through NuGet so we can parse…

Adding Forms in Dynamics 365

…create a new form, select New. We will create a new Main Form: This will open the window: Note in the form properties we can set the form name: Make…

Calling an Dynamics 365 Action from JavaScript

new XMLHttpRequest(); req.open(“POST”, serverURL + “/api/data/v9.1/” + query, true); req.setRequestHeader(“Accept”, “application/json”); req.setRequestHeader(“Content-Type”, “application/json; charset=utf-8”); req.setRequestHeader(“OData-MaxVersion”, “4.0”); req.setRequestHeader(“OData-Version”, “4.0”); req.onreadystatechange = function () { if (this.readyState == 4 /* complete */)…