Solved

Dependent Pick List - Dynamics CRM 2011

Posted on 2016-08-22
3
70 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 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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.
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

747 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now