Thursday, June 20, 2013

Removing a Single Picklist Item

Posted in [Dynamics CRM], [Technical] By Geoff Ables @ 8/21/2009 10:14 AM

First of all, many thanks to my co-worker Matt Wittemann (also BLOGging on www.askdynamicscrm.com) for providing the answer to this one.

So here's the code for removing a single item from a picklist in Microsoft Dynamics CRM 4.0 using JavaScript:

 

crmForm.all.customertypecode.DeleteOption(1);

 

Yep, that's pretty much all that there is to it.  I'm embarassed to say how long I played around and experimented with this - before I got an answer in about 30 seconds from Matt.  Thanks Matt.

Popular tags:

Comments

Got something to say? Join the discussion »

leave a reply

 [Quick Submit with Ctrl+Enter]

Remember my details
Notify me of followup comments via e-mail

C5_Insight

About C5 Insight

We are a Microsoft Gold Certified partner focusing on SharePoint, Microsoft Dynamics CRM and Salesforce.com.  Learn more about us by visiting our website.

Search

We Wrote the Bible on Microsoft SharePoint and Dynamics CRMBook-Microsoft Dynamics CRM 2011 and SharePoint 2010 Bible

Tags

Maximize

Recent Comments

Maximize

Blog Roll

Maximize

Disclaimer

The information herein may be used solely at your own risk.  No warranty is made by the author or by C5 Insight, Inc.

The opinons expressed herein are those of the individual authors and do not necessarily represent C5 Insight, Inc in any way.

Copyright 2011 by C5 Insight