HOW TO: Placing Images in to an Email Template

HOW TO: Placing Images in to an Email Template

As a developer for MSCRM I never setup email templates or mail merge templates. Typical I get specifications for enhancing CRM through .NET work whether it be plugin assemblies, Silverlight applications or system integration work. Merging tends to be handled by the consultants so I never have visibility of it. Recently I found myself reading Vlad Arabajiev’s blog on Using Hyperlinks in Mail Merge which reminded me about an issue which was raised about embedding images in to an email template. If you have ever tried to create an email template you will know that there is no option for adding an image. If you want to add an image you have to make sure that it is hosted somewhere and copy & paste the source HTML which references the image.

Read more about HOW TO: Placing Images in to an Email Template

HOW TO: Multiple where Clause across Multiple Entities Using LINQ

HOW TO: Multiple where Clause across Multiple Entities Using LINQ

When performing complex LINQ queries against CRM you might find that you need to perform a join across several entities. As soon as you introduce a join you might need to set up a where clause that dependants on certain conditions across your join. By this I simply mean you might need to perform the where query across multiple entities. Using a single where clause you cannot achieve this! For each entity you need where clauses, you need to add another where keyword.

Read more about HOW TO: Multiple where Clause across Multiple Entities Using LINQ

HOW TO: Adding Multiple Controls to a Form for the same Field

HOW TO: Adding Multiple Controls to a Form for the same Field

In Microsoft Dynamics CRM 2011 there is a new feature which allows you to add the same field to your form multiple times. However, when customising your form for the first time it is not obvious that you can do this. You wouldn’t know about the feature unless you have read the SDK, release notes or someone’s blog on it! Even some people who know about the feature couldn’t work out how to use the feature straight the way!

Read more about HOW TO: Adding Multiple Controls to a Form for the same Field

HOW TO: Disable Specified Controls which Point to the Same Attribute Using JavaScript in MSCRM2011

HOW TO: Disable Specified Controls which Point to the Same Attribute Using JavaScript in MSCRM2011

One of the new features in Microsoft Dynamics CRM 2011 is that it allows you to place the same field (attribute) on to a form more than once. This is achieved by allowing multiple controls (the visible form element) to point to a single attribute (the actual field). By doing this you can alter the attribute and all controls will alter to represent the new change. However you can manipulate each control independently through JavaScript! So this means we can have two controls pointing to the same attribute and set one of them to be disabled and the other to be enabled!

Read more about HOW TO: Disable Specified Controls which Point to the Same Attribute Using JavaScript in MSCRM2011

HOW TO: Add default text to fields through JavaScript

HOW TO: Add default text to fields through JavaScript

Recently I was helping a chap who wanted to add default text to nText fields. The idea is that when a record is first created through the CRM interface the nText field templates a document body that needs to be filled in by the user. This default text can be achieved through the use of JavaScript! I am going to explain one simple way of achieving default text. Please note that the method mentioned is not perfect. It’s simply demonstrating the concept!

Read more about HOW TO: Add default text to fields through JavaScript

Login

Lost your password?