You are currently browsing the tag archive for the ‘CRM Online 2015’ tag.

As we have seen in this previous article HERE, Rollup Fields are a new addition to Dynamics CRM 2015. The example provided in that article is the basic “Hello World!” of Rollup Fields. But as usual, let’s see when we hit the brick wall.

First of all, one issue we already flagged is that the calculation refreshes hourly. Further more, the initial refresh takes even longer than that. So, we’re left with manual refresh, right? Try explaining that to the user! Good Luck!

Luckily, Codeplex to the rescue! There is a project called “Dynamics CRM 2015 Calculated Rollup Field (Workflow Activity)” HERE which, according to the documentation, will allow you to force a rollup field to recalculate when running a custom workflow that includes this activity. Ok, one problem sort of solved, if your company policy allows you to install foreign solutions. The source is available also :) Thanks to the author.

This makes me think further. I have a good scenario where I think this could help. One of my clients tracks event registrations. It’s all routed through CSRs (I know, a portal would help). I have as part of the event definition the venue details, including the maximum capacity. Clink, this is it. I can roll-up the total number of registered users, now in real time, and when the event is full, disable the registration of new users. This way I could retire a plugin, and simplify the logic.

You would think! But not that fast.

Turns out that the rollup field update event can not trigger another process. It’s only available to be queried. Bummer!

So, just a FYI then, rollup fields are a nice and easy way to show information to users, but don’t plan to use them to trigger business processes. Maybe in a future version/update.

Enjoy!

Advertisements

With Dynamics CRM 2015, one of the new features added is a new field type called Calculated Fields. We can see an evolution pattern here. First, we started with JScript, taking us up to CRM 2011. Later, in CRM 2013 we’ve got Business Rules to help. Now Calculated Fields is providing more specialized functionality, and enhanced features. But let’s look at the details.

I’ve created for this example two Decimal Number fields named very creatively Field Value 1 and Field Value 2, and added them to the form of a new entity. You can do this on any existing entity also.

Next I’m adding a third field of type Decimal Number. Let’s name it in the same creative fashion to Calculated Field.

Read the rest of this entry »

As of today, newly created instances are presenting the 2015 version. Go get yours today!

image

As a side note, some delays were experienced this morning during the creation process, with wait times of upwards of an hour. High demand!

Enjoy!

Check out my course [Video]

Dynamics 365 Customer Engagement Administration

Dynamics 365 Customer Engagement Administration

Check out my course [Video]

Configuring and Extending Dynamics 365 Customer Engagement

Configuring and Extending Dynamics 365 Customer Engagement

Check out my course [Video]

Getting Started with Dynamics 365 Customer Engagement

Reviewed Book

Implementing Microsoft Dynamics 365 for Finance and Operations

Implementing Microsoft Dynamics 365 for Finance and Operations

Reviewed Book

Microsoft Dynamics 365 Extensions Cookbook

Microsoft Dynamics 365 Extensions Cookbook

Check out my Book

Microsoft Dynamics CRM 2016 Customization - Second Edition

Microsoft Dynamics CRM 2016 Customization - Second Edition

Check out my Book

Microsoft Dynamics CRM Customization Essentials

Microsoft Dynamics CRM Customization Essentials

Check out my Book

Microsoft Dynamics CRM 2011 Scripting Cookbook

Microsoft Dynamics CRM 2011 Scripting Cookbook

Reviewed Book

Microsoft Dynamics CRM 2011: Dashboards Cookbook

Microsoft Dynamics CRM 2011: Dashboards Cookbook

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 607 other followers

Follow Dynamics 365 Wizardry on WordPress.com