Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Dependent Pick List - Dynamics CRM 2011

Posted on 2016-08-22
3
Medium Priority
?
191 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
3 Comments
 
LVL 20

Accepted Solution

by:
Rikin Shah earned 2000 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Automatically creating a Trello card using data from a Microsoft Dynamics CRM record turned out to be an easy project that yielded great results.  Here's how I did this for an internal team at General Code.
Desired Skill Set for Microsoft Dynamics CRM Technical Resources – Part I
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

885 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