12/14/13

MSCRM Adding Notes With JavaScript

In Dynamics CRM, users can add notes to make comments about certain changes that were made to a record. In some instances, there may be a requirement to automate the creation of notes based on certain field information changes.   The challenge with notes is that it is not a field on the entity. It is actually a 1:N association which is displayed on the form with an embedded IFRAME....

11/30/13

WCF Web Service Get Assembly Version

This is a simple snippet to show a simple way to display the current assembly version of a WCF Web Service.  We first need a helper class with a method that looks as follows: (class is excluded for brevity) public static string GetVersion()         {             string version = string.Empty;            ...

10/26/13

Editable HTML Elements with ContentEditable Attribute

With HTML, we often implement the editable contents with a TextArea, Text and RichText editor controls.  With HTML5, we can use the ContentEditable attribute on any content element to allow users to edit and change the content. For example, when we use the following HTML page: <!DOCTYPE html> <html><head></head> <body> <header id="headercontent" contenteditable="true">    ...

9/19/13

Office 365 Change Password Expiration Days

Office 365 passwords expires by default every 90 days.  If this setting is too short, you can modify the number of days from the Office 365 Administration screen which can be accessed by following these steps: On the header/top menu, click on Admin On the Left navigation menu, click on service...

8/25/13

Dynamics CRM How to Access Page Controls with JavaScript

When working with Dynamic CRM custom solutions, I often have to implement some UI control behaviors with JavaScript.  The table below shows some of the common tasks that can be done when using the XRM JavaScript framework that comes with the Dynamics platform. Task XRM JavaScript Framework API Show or Hide a control setVisible(cmd) cmd bool  value:   true ...