Dynamics CRM 2011 · Tools

CRM 2011: Dependent Picklist (OptionSet)

More than once I have encountered dependent picklist in my recent projects. What I am talking about is when the available items in one picklist is dependent on selected value of another picklist.

For example:
Unit Type picklist is dependent on Dimension picklist.

Dimension:

  • Length
  • Width
  • Depth
  • Area
  • Volume

Unit Type:

  • mm
  • m
  • sq m
  • cb m

An easy way to do this is to use Dependent Picklist solution developed by Pierre-Adrien. He uses a combination of Silverlight configuration page with Xml webresource and Javascript that you plug into form events. Here is the direct link to his post.

Oh yeah, it also works for multiple instances of dependent picklist in a form. You will however need to combine the configuration xml manually into one web resource.

Cheers – Sy

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s