Development

Below is the Dynamics 365 JSON Schema for the account entity. Input parameters are where the important things are. The reason not all attributes are listed is because I didn’t fill out all the attributes when saving the form.

October 13, 2017

Dynamics 365 – Account Entity JSON Schema

Below is the Dynamics 365 JSON Schema for the account entity. Input parameters are where the important things are. The reason not all attributes are listed […]
October 12, 2017

Dynamics CRM – Dyn365 Data (Online) to Azure (Online) to Dynamics 2016 on premise

No idea how this works. But it works. Registered a service endpoint via the CRM Plugin Registration Tool. Set the endpoint to be an Azure Service […]
October 9, 2017

Dynamics 365 – Import has encountered an error and has been canceled. Your system has been restored to its original state. This customization file contains a reference to an entity map that does not exist on the target system.

Ran into an interesting issue when trying to import a solution into both Dynamics 365 on premise and Dynamics 365 online. Background: Did some major tweaking […]
October 6, 2017

Dynamics CRM – Javascript Xrm.Page.ui.getFormType()

There are hundreds of blogs which show you this: Form Type Value Undefined 0 Create 1 Update 2 Read Only 3 Disabled 4 Quick Create 5 […]
October 2, 2017

Dynamics CRM 2016 – Create record with JavaScript

Original post here: https://365dynamicscrm.wordpress.com/2016/02/18/webapi-javascript-to-create-a-record/ [crayon-5dce1e8c32f59575836204/]   Going to make some assumptions that the account[“name”] can be set with Xrm.Page.getAttribute(“blah”).getValue(). There is a reason I’m not using […]
September 25, 2017

I know the feeling (Blog link)

I too, dislike being classified as a Dynamics Developer. Go read: This
April 5, 2017

Dynamics CRM -The HTTP request is unauthorized with client authentication scheme ‘Anonymous’. The authentication header received from the server was ‘Negotiate,NTLM’.

Decided to jump onto my dev environment his morning and ran into: “The remote server returned an error: (401) Unauthorized.” “The HTTP request is unauthorized with […]
February 13, 2017

Dynamic CRM – Upload attachment to record in C#/ASP

I’ve had to get my hands dirty with forms recently, and my last problem was attaching a file to an incident. There are probably better ways […]
June 22, 2016

C# Code Snipped – Connect to SQL and set variable

using System.Data.SqlClient; var connetion = new SqlConnection(); connetion.ConnectionString = “Data Source=XXXXXXSQL; Initial Catalog=xxx_db1; Integrated Security=true;”; connetion.Open(); SqlCommand query = new SqlCommand(“Select ID from XXX where Username = ‘” + […]