Solved

Dependent Pick List - Dynamics CRM 2011

Posted on 2016-08-22
3
132 Views
Last Modified: 2016-09-18
Hi,

I am not a programmer but i need some help in writing a JS Script in CRM 2011. I have created a custom entity and have 2 drop down lists of which the 2nd drop down list will change based on the selection of the first field.

1st Field is new_requesttype and the 2nd field is new_subrequesttype.

I have attached the filed mappings that needs to be followed.

If anyone can help me with the JS script.

thanks,
Field-Mappings.docx
0
Comment
Question by:GulfIT
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 19

Accepted Solution

by:
Rikin Shah earned 500 total points
ID: 41766497
Hi,

There is already a ready made sample available in CRM SDK.

Go to SampleCode\JS\FormScripts\ folder. You will find files- SDK.DependentOptionSet.js and TicketDependentOptionSetConfig.xml

Check this-
https://msdn.microsoft.com/en-us/library/gg594433(v=crm.5).aspx
0
 
LVL 3

Expert Comment

by:Kiran Deshmukh
ID: 41768531
Hi,
If you are looking for a non-coding way of handling this, please refer the following link that provides a ready tool to do that:
https://blogs.msdn.microsoft.com/paf/2011/04/21/how-to-easily-create-dependent-picklistoption-set-in-crm-2011/
If you are planning to handle this using a code, following is a link you may refer to:
https://community.dynamics.com/crm/b/webfortisblogunleashingyourcrm/archive/2014/07/07/crm-2013-dependent-option-set

On a completely different note, you may also use dependent lookups instead of drop down lists. Following is a blog that will help you choose the correct option for which no coding skills are required:
http://www.powerobjects.com/2016/04/01/filtered-lookups-vs-dependent-option-sets/
0
 

Author Closing Comment

by:GulfIT
ID: 41804289
Thanks it Worked
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a walkthrough guide I wrote whilst upgrading my on-premise MS Dynamics CRM 3.0 deployment to 4.0. This covers the actual installation of the product to a working level for my system, I ran into a lot of issues that the steps below fixed so h…
On Sep 22nd 2014 Microsoft released Update Rollup 1 for Microsoft Dynamics CRM 2013 Service Pack 1 and back in July Update Rollup 3 was released.  So we now have:   Update Rollup 1Update Rollup 2Update Rollup 3Service Pack 1Update Rollup 1 for S…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Suggested Courses

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question