New in V9: What’s that with Xrm.Page being deprecated?

Ever since Microsoft has published the “Important Changes Coming..” article that provides a very nice overview of what we should expect in the updated version of Dynamics, I could not stop wondering what does this mean: With all the great reviews of this new release published on the web so far, I’ve never seen anyone asking… Read More »

Code Now plugin for XrmToolBox

Code Now plugin for XrmToolBox Strictly speaking, it’s not part of TCS Tools. But, either way.. it’s kind of cool to be able to run C# code directly from XrmToolBox, especially when you need to do something quickly. You can do it with the Code Now plugin right now: Let’s use XrmToolBox to run your C#… Read More »

How to turn this poor one-liner into a nice multi-line notification?

If you happened to use Xrm.Page.ui.setFormNotification in your javascript customizations, you have probably noticed that it does not support line breaks. Try adding <BR/> tags into those notifications, and you’ll get something ugly.. like this: Apparently, setFormNotification does not really respect all those html tags – instead, it just displays them as regular text. So, how… Read More »

How required are required fields in Dynamics?

As the saying goes “you are not allowed, but if you really want to.. you can” When I’m thinking of the required fields, this is exactly what comes to mind. They are not supposed to be empty according to the manuals: But, if you really want to, you can usually find a way. Everyone who worked with… Read More »

When does your week start?

There is a minor(and rather hidden) setting in Dynamics that we can easily overlook, but, every now and then, it can be the sole reason for some interesting discrepancies in the reporting/search functionality. Before we go there, here is what google had to say: 1. We normally think of the weekEND as of Saturday/Sunday(it’s the… Read More »

Using Dynamics with WordPress

This blog is running on WordPress, and would not it be nice if I were able to somehow integrate WordPress with Dynamics? Well, actually I don’t have my own instance of Dynamics to start with, so it would be nice if Microsoft was offering some sort of development instances in the first place(is Salesforce offering them, still?),… Read More »

How to open a quick create form with JavaScript

There is a method in the Xrm.Utility namespace that we can use to open a quick create form: https://msdn.microsoft.com/en-us/library/jj602956.aspx It turns out this method can produce a very vague error: And you won’t see much in the downloaded log file: Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference… Read More »

Extending the Xrm itself (Part 3 of how to lock/unlock form controls)

We know that that “all interaction with Microsoft Dynamics 365 application pages must only be performed through the methods with the Xrm.Page or Xrm.Utilitynamespaces documented in the Client-side programming reference”. This is a direct quote from msdn: https://msdn.microsoft.com/en-us/library/gg328350.aspx However, what if we could extend/override the Xrm itself, and what if we did not have to… Read More »