Return JSON from WebAPI
In WebAPI, you may want to return JSON instead of the out of the box view, which looks like below: The out…
Read article →Practical guides, tutorials, and insights on AI, agents, Microsoft technologies, enterprise applications, and communication.
In WebAPI, you may want to return JSON instead of the out of the box view, which looks like below: The out…
Read article →
To connect Power BI Desktop to Dynamics CRM Online, open Power BI desktop click on Get Data: Filter by Dynamics and select “Dynamics CRM…
Read article →
To publish a web service from Visual Studio, do the following. You may need to install the Azure SDK for .NET. You…
Read article →
There are situations where you create security roles in one organization and you need to transfer them to another organization, e.g. a…
Read article →
To create a new record of an entity in Dynamics 365, use the code below: var account = {}; account.Name = "Sample…
Read article →
You can query Dynamics 365 data by using jQuery. Here we will go through an example. We will be connecting to the…
Read article →
The XMLHttpRequest is an API used in modern web browsers. It contains methods that allow communication between the web browser and a…
Read article →In your JavaScript code, you may receive this error when running jQuery code: $ is not defined To resolve this, add the…
Read article →
Windows Communication Foundation (WCF) web services can be created in Visual Studio. Note these web services replace the old asmx web services.…
Read article →
The Dynamics 365 Plugin Trace Log settings are located in Settings->Administration->System Settings: And then accessed under the Settings->Customization menu: Records will be created here:…
Read article →
To raise an error in the plugin code, we use InvalidPluginExecutionException. For example: throw new InvalidPluginExecutionException("Plugin has run. Code will stop executing."); The code runs in the Execute function of the…
Read article →
Dynamics 365 has a couple of JavaScript functions that are useful in refreshing and saving pages – xrm.page.data.refresh and xrm.page.data.save. We will go…
Read article →