This project has moved and is read-only. For the latest updates, please go here.

Quick CRM is an easy-to-use library to develope quickly Javascripts in Dynamics CRM Forms.

The problem

Many times we have to write some long code with de Javscript SDK:

var value = Xrm.Page.getAttribute('name').getValue();
var isDirty =;

// Hide 4 fields.
var fields = ['name', 'telephone1', 'primarycontactid', 'fax']; for (var i = 0; i < fields.length; i++) Xrm.Page.getControl(fields[i]).setVisible(false)

Code a bit ugly to see.

The proposal

Quick CRM wants to help developers to write code at three key points:

  1. Code more legible.
  2. Semantic approach.
  3. Reduce use of parameters.

The structure of the library is based in form elements. That means we have to focus in elements and access then by a fast way.


// Having 4 fields/controls to hide.
var fields = ['name', 'telephone1', 'primarycontactid', 'fax']; // Traditionally: for (var i = 0; i < fields.length; i++) Xrm.Page.getControl(campos[i]).setVisible(false) // By QuickCrm: Qk.Field(fields).Hide();

// How to disablle all controls in a section:
Qk.Section('section name').DisableAllControls()

// Get the id of the entity that is the form about:


This first version is beta and it needs to be improve a lot. Nowadays there are still many functions and utilities to support.

Quick CRM do not support CRUD operations.

I hope it helps you. Thank you so much for your feedback! :)

Last edited Jul 3, 2015 at 8:06 AM by JorgeMoreno, version 9