Hosk’s Top CRM articles of the week 28th March 2014

Welcome to my choice of the best articles this week

Article of the week

if you are going to read one article this week, make it this one

xRM Test Framework for Dynamics CRM 2013 is now available 

As a CRM Developer I found this article very interesting

My non developer article would be Leon Tribe’s CRM MVP answers (and yes I can vote for my own blog posts)

CRM MVP Question and Answer – Leon Tribe

although I did also find the new exchange sync pretty interesting

Dynamics CRM 2013 Configuring Exchange Syncronization 

 

CRM 2013 articles

 

Check out what fields you are no longer using in CRM 2013
Spring Cleaning for Your Dynamics CRM System

Lots of people having troubles installing rollup 2 for CRM 2013, read the article below

Dynamics CRM 2013 Update Rollup 2 may fail to install on Windows 2012 with custom number formats

You can encypt fields in CRM 2013 and they can’t be audited, find out more

Data Encryption in CRM 2013

how to deal with unwanted Activity types that are cluttering up your CRM 2013

What to Do with Unwanted Activity Types in Dynamics CRM

Some study information provided by the Hosk

CRM 2013 – MB2-703 – CRM 2013 Customization and Configuration Study information

A new paid for tool which can schedule reports in CRM 2013 online

New Release: Microsoft Dynamics CRM Report Scheduler add-on v5.0 for CRM Online and On-Premise

A look at the new functionality in CRM 2013 and what’s new for Developers

CRM 2013 – What’s new in CRM 2013 for Developers

 

Leon Tribes shows you how to get Power View into CRM 2013 without photoshop

Getting Power View into Dynamics CRM

Some useful tips if you are migrating information in CRM

Dynamics CRM Data Migration Tip Using the Import Sequence Number Field

a podcast on Business Process flows with CRM MVP Carsten Groth

PODCAST – Business Process Flows in CRM 2013 with Casten Groth

why do we fail

Advertisement

CRM 2013 – What’s new in CRM 2013 for Developers

When CRM 2013 was first released the first question that came into my mind is what’s new for CRM developers and like most questions the data is initially difficult to find because I’m never quite sure where to look.

In this instance Microsoft have written a very good article on the subject which can be found the CRM 2013 SDK

http://msdn.microsoft.com/en-us/library/gg309589(v=crm.6).aspx

It has the full list there but I will focus on some of the highlights

 

Entity images

certain entities can have one entity image.  This feature can be turned on for an entity but can not be turned off again.  You cannot have more than one entity image.  For more information, see Entity Images.

Access teams

Access team is a dynamic Team that is used to share records.  It works by having a subgrid on the record and any users added in can then see the record.

There is a good white paper on access teams

Access Teams with Microsoft Dynamics CRM 2013

Business Process Flows

This is a bit of a mixed bag in my eyes.  It’s seems like a good idea, creating stages which are cross entity for a business process.  At the moment the only place I can imagine this working is on the sales process, I can’t recall any customer project where they would want a business process but this could be just because I haven’t really used CRM 2013 in a customer project yet.

Real Time Workflows

Hazaar, workflows that can run instantly, well done Microsoft some great functionality, the only question I have is what took you so long.

but you should consider that Real Time Workflows are not quite as efficient as Plugins but don’t take my word for it read this great article by CRM MVP Scott Durow

https://community.dynamics.com/crm/b/develop1/archive/2014/02/28/real-time-workflow-or-plugin.aspx

Custom actions

This is probably one of the most powerful new features added into CRM 2013, it basically allows you to create custom messages to trigger code (javascript/plugins).  This is one of the functions I haven’t yet looked into because it seems a bit tricky to start with and this is probably the reason it is one of the least documented new features in CRM 2013.

Data encryption

There is now field level data encryption which means encrypted fields can’t be audited and have other considerations regarding searches etc.  For more detailed Field-level data encryption.

Mobile

There is vastly improved mobile, I’m afraid I haven’t really looked into it at the moment

Quick start for developers

New documentation has been added that provides an easier and faster learning experience for developers or non-developers new to Microsoft Dynamics CRM technologies. For more information see Getting started with managed code application development.

Solution version compatibility changes

Starting with this release, solutions exported from a newer version of Microsoft Dynamics CRM cannot be installed into older versions. This includes major/minor version differences. For more information see Version compatibility.

What I think this is saying is you can import CRM 2011 solutions into CRM 2013

but you can’t import CRM 2013 solutions in CRM 2011 (why would you want to do that)

Autosave and no duplicate detection

I have put these together because I think one has a knock on affect to the other.  Auto saving has meant that the duplicate detection can no longer function when saving records (because they are saving all the time without all the previous duplicate detection criteria).

Lync/Skype Phone number fields

You can have Phone fields in CRM which when clicked will open Lync or Skype

 Quick Create Form

it’s not part of the SDK but you it’s certainly something developers can use.

Business Rules

You can now hide/show and modify fields without having to write JavaScript

 

JAVASCRIPT

there are a bunch of new JavaScript functionality added.

One of the main new JavaScript functions is now the ability to have field level notifications and instead of using JavaScript alerts you now have notifications  which pop a message at the top of the screen.

This is useful because Microsoft don’t like you using alerts because they don’t work very well in the mobile application but now with notifications you can still show a message to the user and the same code will work with standard CRM and Mobile.

 

• Xrm.Page.context.client.getClient() – Returns client type i.e. outlook, web or mobile.

• Xrm.Page.context.client.getClientState() – Returns client state i.e. online or offline.
• Xrm.Page.data.refresh() – This is one interesting as it refreshes the data on the form without even reloading the page. This also enables developers to pass a callback method.
• Xrm.Page.data.save() – Save the form
• Xrm.Page.data.getIsValid() – Returns true is form is valid for save else false
• Xrm.Page.data.setFormDirty() – Sets the form dirty for force save.
• Xrm.Page.data.entity.getPrimaryAttributeValue() – Returns the value of primary attribute
• Xrm.Page.ui.setFormNotification(message,level,uniqueId) – Sets the notification on top of the form.
• Xrm.Page.ui.clearFormNotification() – Clears the form notification
• Xrm.Page.ui.refreshRibbon() – Refreshes the ribbon. This method does not work on CRM for tablets
• Xrm.Page.getControl(“field_name”).setNotification(“Notification”) – Sets the notification for a specific field right next to the field label. This can often be used as a custom tool tip.
• Xrm.Page.getControl(“new_name”).clearNotification() – Clears the notification
• Xrm.Page.getAttribute(“new_precision”).setPrecision(2) – Override field precision
• Xrm.Page.getControl(“createdon”).setShowTime(true) – Toggle show time at form
• Xrm.Page.getControl(“field_name”).addCustomFilter(fetchFilter, entityType) – Allows developer to add custom filter to a lookup view.
• Xrm.Page.getControl(“field_name”).addPreSearch(handler) – adds pre trigger filter to the lookup
• Xrm.Page.getControl(“ownerid”).removePreSearch(handler) – removes the trigger
• Xrm.Utility.openWebResourceDialog(webResourceName, webResourceData, width, height) – opens a sepecified webresource as a web dialog window.