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 – Xrm.Page.data.entity.save;

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.
http://mileyja.blogspot.com/2011/06/execute-workflow-using-net-or-jscript.html

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();
Эта штука возвращает имя сервера и организацию.
http://servername/orgname

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

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) == ‘/’)
slashnumber++;

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 ?
http://social.microsoft.com/Forums/en-US/356ad294-e088-4fdb-9151-18653d8f889b/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…

http://www.powerobjects.com/blog/2012/03/06/a-tip-for-notes-when-you-create-a-new-entity-in-dynamics-crm/

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: