Archive for the ‘Lookup’ Category

This sample will show how to create Contact record in CRM 4.o through Web Application which contains Lookup, Picklist and String datatype. I have created a custom entity(new_hobby) and created a 1-N relationship from Hobby to Contact. I have also created Team called CRM Team and added members to that team. Whenever a contact will [...]

 Step 1. Step 2. Step 3. Let me explain the scenario… Suppose we have City Lookup on Lead entity and we want to populate Region (Lookup), State (Lookup) and Zone (Lookup) on selection of particular City from City Lookup. You need to write below code on OnChange event of City Lookup field. if(crmForm.all.new_cityid.DataValue !=null) { [...]

I had client requirement that on the selection of City (lookup), Region and Sub Region should be populated automatically which is read only field. To achieve this we mapped the city with region (lookup) and sub region (lookup) on the city entity. After writing below code I was getting following error. There was an error [...]