Tips & tricks for CRM 2011

1. CRM 2011 Dashboard: Sorting a Chart On the Aggregate Value

2MS CRM 5: Расширенный поиск для javascript

3Add a CRM Calendar to a dashboard

4. TextToLookup для MS CRM 5

5.   Aggregation (count, max, min, etc..) and Grouping Using FetchXML with Jscript or .NET in Microsoft Dynamics CRM 2011

6. Autosaving a Record in CRM 2011 –;

7. Issue with Sub-Grids after installing Update Rollup 1 – CRM 2011 

8. Execute a Workflow Using .NET or Jscript in Microsoft Dynamics CRM 2011 With ExecuteWorkflowRequest
This illustration demonstrates how to execute a workflow using SOAP (JScript) or C# (.NET) with the ExecuteWorkflowRequest message against the Microsoft Dynamics CRM 2011 organization service.

9.   – Developer Training Course for Microsoft Dynamics CRM 2011 

10. Mail Merge in CRM 2011 – detailed User Guide

11.  Dynamics CRM 2011 – Export Report data to Excel – Data type issues

12. Import Tricks For Dynamics CRM 2011

12. how to Write the javascript function for getting the username(not a owner) in crm 2011.

• Xrm.Page.context.getUserId()

13. var _sServerUrl = Xrm.Page.context.getServerUrl();
Эта штука возвращает имя сервера и организацию.

А Ваши пользователи могут подключаться по другому адресу.
Для решения проблемы я пользуюсь  таким способом

Support.GetServerPath = function () {

var tserverpath = window.location.href;
var serverpath = “”;
var slashnumber = 0;

for (var i = 0; i < tserverpath.length && slashnumber < 4; i++) {
if (tserverpath.charAt(i) == ‘/’)

serverpath += tserverpath.charAt(i);
return serverpath;
получаю URL сервера из адресной строки.
Только проверьте нужен ли последний слеш в адресе.
Не помню возвращает ли его Xrm.Page.context.getServerUrl()

14. Entity.GetAttributeValue<T> Explained

15 How to merge records on custom entities in MS CRM 2011 ?

16 blog covering CRM2011, In addition to creating an entity, here are some added tips…


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: