Following is one way of enumerating the Picklist items to find match on Picklist.Name public property.
The picklist values are in the retrievedAttributeMetadata.Options collection. To do this we will need to get the attribute metadata from the meta dataservice. This is a four step process.
STEP 1: Authenticate
STEP 2: Connect to CRM webservice
STEP 3: Retrieve
STEP 4: Iterate
Monday, November 23, 2009
MS CRM: Enumerate or loop through Picklist
| Reactions: |
Saturday, November 7, 2009
Out of my diary: Dil hi to hai
Some time ago... while life was trying to teach some lessons, I came up with following random 'lessons-learned' rants:
..:: Dil hi to hai ::..
koi na raha, sab hi gaye lekin ye dil to hai
vo raatein vo shamein na rahin... lekin ye dil to hai
rah-e-safer mein hamsafer jo banay.. koi ruk gaya.. koi roag gaye
vo hamsafer vo saathi na rahay... lekin ye dil to hai
..:: Dil hi to hai ::..
koi na raha, sab hi gaye lekin ye dil to hai
vo raatein vo shamein na rahin... lekin ye dil to hai
rah-e-safer mein hamsafer jo banay.. koi ruk gaya.. koi roag gaye
vo hamsafer vo saathi na rahay... lekin ye dil to hai
Subscribe to:
Posts (Atom)
Popular Posts
-
Sometime back a question was asked to develop a well performant parser– there was no restriction defined in the question whatsoever as to wh...
-
Windows Communication Foundation (WCF): Why use MessageContract when DataContract is there? UPDATED 07/15/2012: Based upon comments Nutsh...
-
How bypass integrated authentication using WebBrowser control? Well, sometime back, I was hosting the WebBrowser control over WinForm and ...
-
Recently, I had to go through the implementation of a cheque clearing system; so, either because of the naive skull sticked on the top of my...
-
It been quite a while that I created a SQL Server 2003 R2 Cluster. Though of recreating it. This is considered fairly advanced topic and is ...
-
Couple of days ago I came across the following question over our local web blog, and following is what I replied. Question: [Discuss]: A...
-
Problem Response is really slow when a page of ASP.NET/MVC web(site or app) is accessed first time. It takes around(depending?) 4/5 second...
-
This is a second post to the sequel to Jurgen Appelo ’s blog post , where he asks top 100 questions that a software developer should know. ...
-
Crystal Report Viewer "This field name is not known.” Error! I was using Crystal Reports Viewer control in my ASP.NET web application...
-
Crystal Reports: PrintControl.Cab ActiveX problem Problem: I have a crystal report (some version) with asp.net (usually v2.0), I am using...