Like this Blog on FB

Friday, February 6, 2009

Duplicate Detection in Microsoft Dynamics CRM

Microsoft Dynamics is a CRM which is being widely used these days.

A CRM is a system that is used to manage all the business operations of a company. I have been involved in customizing the CRM for meeting the requirements of our firm. This blog entry is all about explaining the process of Duplicate detection.

One of the Business requirements that usually a company has is that - if you wish to maintain the information of Leads, then you don’t want the duplicate records of the leads to be there in the lead entity. More clearly if there is a lead with an e-Mail id say and if we are trying to add another lead with different name but the e-mail ID as then that is considered as a duplicate. Hence this scenario has to be handled. This means we should not allow the duplicate record.

In order to do this the following steps are to be followed.

· Go to SettingsàData Management à Duplicate Detection rules

· In that click on the NEW button on the top navigation bar.

· This opens a new window. In That window give the Name, base record type and matching record type and then set the attributes and criteria as per the requirement and save it using the Save and Close.

· Now the page gets navigated to the previous page.

· In this page select the rule which you want to publish and click on the Publish button.

Thursday, February 5, 2009

Finding the Exact coordinates of an Image for an Image Map.


In this post, I would like to discuss about a solution for finding the exact coordinate values of and image using some Java script.

Before the solution – here is a brief description about the problem.

Image map is such a wonderful feature, which will allow you to navigate to various pages using one single image. Say if we have the Geographical Map of India & we want to navigate to different state official websites by clicking on the particular state- on the image. This looks astonishing for any Web Illiterate. But the fact is this is a very easy task to be implemented in terms of coding. But the tedious part of this whole thing is getting the coordinates.


In one of my Projects I worked I have come across an image which is in rectangular shape with rectangular shaped fields in the image. Then I started taking the coordinates using the MS Paint tool. I have manually noted down the co ordinates and copied them into the of the Image map.

And the image map worked out fine. Later on when I had to map an image of the following layout I faced a lot of ruckus in taking the coordinates. I took the coordinates in paint by placing the cursor and noting the points. But after mapping the actual hyper link was pointing at some weird places instead of the actual place. Say if I am pointing at x(40,30) it is pointing the hyperlink at x( 20,10) or so. Then with the help of one of my friends Mr. Praveen Battula I have solved the issue. Praveen has written a small snippet of code in Java Script which has greatly reduced my pain. The java script code uses the cursor position to give the exact coordinates. Here is the Code snippet
















        You pointed on x = - y =






·         If you want to use this code you are to do the following things:

·         Copy the code into a new notepad.

·         Save it with any name but extension as’ .html’

·         In the Image: Url field within the braces give the path of the target image in single quotes (‘).

·         Save the file and open it in a Browser.

·         Now you will find the image and two text boxes in the browser window.

·         Place the cursor on the image and note down the coordinate that are being displayed in the text boxes below the image.

Copy the coordinates and map them using the and <> tags of the image map.

A small demo is present in the following link on how to write an image map and how does that look.



Happy Coding Folks,


Yours ,