This figure gives you an idea of how the JavaScript components are available in the hierarchy. **For CRM 2011 Training, please check out our CRM Training page. Please share |Like in Facebook if you feel like this page is useful.
Category: Microsoft Dynamics
Useful information about Microsoft Dynamics CRM. Best coding practices in Dynamics CRM.
How to Debug JScript in Microsoft Dynamics CRM 2011?
//How to Debug JScript in Microsoft Dynamics CRM 2011? Debugging in Jscript code can be done by adding the debugger: keyword to the code. function DebugSample() { alert("Pop Up Message Before Debugging"); // debugger keyword will trigger the debug debugger; alert("Pop Up Message After Debugging"); } Here is a detailed post…
How to Debug a Plugin in CRM 2011?
5 steps to Debug a plugin in CRM 2011 Step1. Register and deploy the plug-in assembly. If there is another copy of the assembly at the same location and you cannot overwrite that copy because it is locked by Microsoft Dynamics CRM, you must restart the service process that was executing the plug-in. Step2. Configure the…
Unable to upgrade the CRM 2011 Plugin/Custom workflow assembly?
Have you come across the following errors/scenarios while upgrading a plugin/custom workflow assembly? 1. Unable to upgrade the Plugin assebly 2. Unable to upgrade the Custom Workflow assembly Here is the reason: "You might have changed the Major and Minor version components in the assebly version in the dll file. In this case, the assembly…
How to send an Email using Email Template from CRM 2011 using C#
//This post demonstrates how to send an email using a template from CRM 2011 using C# code //There are 4 steps in achieving this: (a) Create the 'From:' activity party for the email (b) Create the 'To:' activity party for the email (c) Create an e-mail message (d) Create the request to send email //Namespace…
How to send an Email from CRM 2011 using C#
This post demonstrates how to send an email from CRM 2011 using C# code. There are 4 steps in achieving this: (a) Create the 'From:' activity party for the email (b) Create the 'To:' activity party for the email (c) Create an e-mail message (d) Create the request to send email //Namespaces need to…
How to send HTML content in email in CRM 2011
This post covers how to send html content in an email from CRM 2011. Steps to follow: 1. Create a .html page with the html content that you need to include in your email and open it in a browser 2. Create a new email template in CRM 2011 and copy paste the html content…
CRM 2011 Training Series – How to Schedule reports in CRM 2011?
How to Schedule reports in CRM 2011? The Microsoft Dynamics CRM 2011 schedule report feature is used for creating report snapshots. There are a few reasons to use this report snapshot functionality: Send as a SQL Report Server email subscription Cache ‘point-in-time’ snapshots Use as the user-run report for especially long-running reports Select the report…
CRM 2011 Training Series – What is the difference between Append and Append To?
What is the difference between Append and Append To? Here’s an easy example to help remember the distinction between the Append and Append To Rights defined in CRM's Security Roles. Consider the situation when a user needs to set the Parent Customer field on the Contact. Beyond the obvious ‘write’ permission on the contact, they…
CRM 2011 Training Series – Differences between Workflows and plugins in CRM 2011
Differences between Workflows and plugins in CRM 2011 Criteria Use Plugin Use Workflow Use Dialog Needs custom logic to execute synchronously. Plugins support synchronous execution. NA Dialogs always execute synchronously. The logic needs to be executed while offline Only plugins are supported offline. NA NA Needs elevation of privileges (impersonation) In the plugin step, you…
CRM 2011 Training Series – How to create a custom button in CRM 2011?
How to create a custom button in CRM 2011? Here is a beautiful post on msdn on how to create custom button in CRM 2011. This walk through shows you how to create the following new custom Send to Other System button to the Collaborate group for the Account entity ribbons: Account entity form ribbonAccount…
CRM 2011 Training Series – What’s the difference between FetchXML and QueryExpression?
What’s the difference between FetchXML and QueryExpression? These are the two distinct ways that you can query CRM using CRM SDK to retrieve the required information. QueryExpression is the mostly commonly used way for querying information in CRM. Probably because it uses the object oriented style of coding and so you have distinct classes for…
CRM 2011 Training Series – How to use Secure and Non-Secure configuration in Plugin?
When you register a plugin step, there is a field where you can specify some configuration parameters for the plugin execution: Then in the Constructor of your plugin class you will get the configuration value which you can use later in the Execute method: public abstract class BasePlugin : IPlugin { private string _secureConfig…
CRM 2011 Training Series – Why workflows are not allowed in CRM 2011 Online?
Why workflows are not allowed in CRM 2011 Online? Ever think of why custom workflows are not allowed in CRM 2011 Online version? Here is the reason for that. First you need to know how the CRM pipeline processes work. Trusts Plug-in developers have the option of registering their plug-ins in the sandbox, known as…
CRM 2011 Training Series – How to disable all fields on the form through Jscript?
How to disable all fields on the form through Jscript? There are many occasions where you need to disable all fields/controls on an entity form. Here is the code snippet that shows how to do that. // JScript source code function DisableFieldOnHold() { if (Xrm.Page.getAttribute("statuscode").getValue() == "2") { disableFields(); } function disableFields() { var attributes…
Windows 8 and Microsoft Dynamics CRM: Shaping the Future of CRM Applications
During the Microsoft Dynamics Convergence conference last month, Microsoft gave us a preview of what is coming in future CRM releases. One exciting design theme that will be started in the “R9” (Q4 2012) and continue with future CRM releases is the Metro design and ability to merge in nicely with Windows 8. Three major…
Microsoft Dynamics CRM Cross Browser Update
Microsoft made an announcement on Tuesday at the eXtremeCRM 2012 Conference. Microsoft will be launching the much anticipated cross-browser compatible version of Dynamics CRM by the year’s end in what is now known as the “Polaris” release. It will be followed by the “Orion” release in the second quarter of 2013. This release will include…
How to Create a Simple Webpage Leveraging The CRM 2011 IOrganizationService Web Service
Scenario: The CRM users need the ability to add contacts into the CRM system without using the main CRM application. They would like a simple data entry website with minimal fields. To accomplish this, we will develop an asp.net website that connects to the CRM 2011 platform using the IOrganizationService Web Service. The custom website will…
Change the display text in a lookup in CRM 2011
The following function enables you to change display value of a lookup in MS CRM. In the example below we have a custom entity to register multiple roles/relationships between accounts and contacts. Obviously, one contact can work for multiple accounts at any time or become a member of a society or association. We have modified…
A must read blog post on CRM 2011 new features :Courtesy – Dynamicsexchange
Hello guys, I was going through CRM sites and got to see this amazing blog post in dynamicsexchange. This will be useful for those who are new to CRM 2011 and want to know the basics UI customization. Here is the url: http://www.dynamicsexchange.com/CRM-2011/CRM-2011-Technical-Review.aspx Kudos to the author for the effort!
