Category Archives: Dynamics 365

Dynamics CRM: Adding a filter to the lookup

Here is a short code sample on how to add a pre-search filter to the lookup function onLoad() { Xrm.Page.getControl(…).addPreSearch(function () { addPreSearchFilter(); }); } function addPreSearchFilter() { var filter = “<filter type=’and’>” + “<condition attribute=’…’ operator=’not-null’/>” + “</filter>”; Xrm.Page.getControl(…).addCustomFilter(filter); }

Handling N:N relationships in Dynamics CRM plugins

Here is a quick and dirty example of how a plugin could be created to handle N:N associations. A plugin like this would need to be registered for the “Associate” message of “any” entity: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Xrm.Sdk.Client; using Microsoft.Xrm.Sdk; public void Execute(IServiceProvider serviceProvider) {   IPluginExecutionContext context… Read More »

So, why is XRM awesome?

Don’t get me wrong, I’m not going to say that XRM is flawless and/or that it fits anything and anyone. Not at all actually. If you gave me 15 minutes, I could keep complaining about missing XRM features for all that time. However, what I’m going to say is that, with the proper application of… Read More »

Dynamics XRM vs Dynamics CRM

I’ve been working with Dynamics CRM for over 5 years so far. That did involve various projects, for both private and public sectors. Some of those projects were more about CRM than others, but I’ve never seen a project where a client would take Dynamics CRM and start using it as is. There is always… Read More »

I found a monster..

Ok, it’s all about the mood. Criticizing today.. What is Dynamics CRM these days? It’s a monster. Remember those long-gone days when we had CRM 4? Or CRM 2011? When there was no interactive service hub, when mobile applications were not there, when there was, essentially only one type of CRM forms, and when we… Read More »

Interesting Dynamics CRM position

Was looking at the Interactive Service Hub user guide and found something I have never seen before(well, maybe I was not looking properly) https://www.microsoft.com/en-us/dynamics/crm-customer-center/user-s-guide-for-the-new-interactive-service-hub.aspx#bkmk_Support It’s official: those of us who used to be called CRM Administrators, CRM Consultants, or CRM Developers can now be called CRM customizers  Well, I’m not sure if this is a… Read More »