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) { [...]
Posts Tagged ‘Lookup’
Populate Lookup value on selection of another Lookup
Posted: December 8, 2010 in CRM 2011, CRM5, Lookup, Microsoft Dynamics CRMTags: Ajax, CRM, Dynamics Lookup, Lookup, WebService
0
Populate lookup value on selection of another lookup
Posted: September 9, 2010 in FilteredLookup, JScript, Lookup, Microsoft Dynamics CRMTags: Auto Popolate Lookup Value, Auto Populate, Lookup
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 [...]
Show both active and inactive records in the lookup view
Posted: September 1, 2010 in JScript, Microsoft Dynamics CRMTags: Active, Inactive, Lookup, show active and Inactive record
CRM MVP Batistuta Cai already had a post about a plug-in solution. If the lookup entity is a system entity, you can also use this technique: Let’s start from an example: you have a custom entity call: MyEntity, you have setup a N:1 relationship between MyEntity and Opportunity, so the user can see an opportunity [...]

