Retrieve lookup value from related entity

While this is a scenario that could potentially be achieved using real time workflows, if you want things to happen really real-time, you have to go back to using JScript. For this example we have an entity called Rule, with a reference to an Organization (lookup to Account). We also have an entity called Rule... Continue Reading →

getCurrentControl is deprecated in UR2

Just a quick note, for those implementations taking advantage of script customizations, if you are using Xrm.Page.ui.getCurrentControl when upgrading to UR2, remember to check your scripts. This method is now deprecated. For more details see HERE. Happy scripting!

Dynamics CRM 2013 Field Level Notifications

This is another new feature of Dynamics CRM 2013. While in previous versions, we used to use JScript alerts to bring up field specific messages on forms, now we have two new functions available: setNotification(“message”); and clearNotification(); So how do we use then, and what do they do? First off, let’s bring up a message... Continue Reading →

Filter lookups using JScript

This quick snippet comes in handy every now and then, and now it’s also tested for Dynamics CRM 2013. Scenario: I have a bunch of organizations, and a set of Organization Types. Let’s say, we have various client types, with various SLA’s. In the Case entity, I want to show only the Organizations of specific... Continue Reading →

Create a website or blog at WordPress.com

Up ↑