Answered by:
Metadata using advanced developer extension's datacontext

Question
-
Hi,
I am using REST organisation data service datacontext in my silver light application in CRM2011. I want to show OptionSet names in a drop down list. But I am not able to get metadata using REST organisation data service datacontext object. Any Idea how to get metadata information using a REST organisation data service datacontext?
NarSrMonday, May 2, 2011 10:41 AM
Answers
-
Thanks for help...
Downloaded the source code... I ll try it now...
NarSr- Marked as answer by Nar_mscrm Monday, May 2, 2011 12:29 PM
Monday, May 2, 2011 11:56 AM
All replies
-
Check out my OData Query Designer on codeplex on how to retreive the optionset values. The filter grid populates a drop down list when the filter attribute selected is of type optionset. http://bingsoft.wordpress.com/2011/03/06/crm-2011-odata-query-designer-crm2011/
MS CRM Bing'd - http://bingsoft.wordpress.com Useful Tools CRM 4 to CRM 2011 JavaScript Converter Tool CRM 2011 OData Query Designer CRM Forum Guidance on how to Help Us Help You Monday, May 2, 2011 11:05 AMModerator -
Hi RhettClinton,
Thanks for suggestion.
I saw your blog two days back and it is an awesome tool. You provided a managed solution in that download but with that i cant get code how to get metadata into my silver light application. It helps me a lot if you can provide me the lines of code for accessing metadata into my silver light application with REST datacontext.
NarSrMonday, May 2, 2011 11:23 AM -
If you go to the source code tab on the codeplex site then you can download the source. You have to use the SOAP endpoint to get the optionset values from the metadata.
MS CRM Bing'd - http://bingsoft.wordpress.com Useful Tools CRM 4 to CRM 2011 JavaScript Converter Tool CRM 2011 OData Query Designer CRM Forum Guidance on how to Help Us Help You - Proposed as answer by RhettClintonMVP, Moderator Monday, May 2, 2011 2:40 PM
Monday, May 2, 2011 11:31 AMModerator -
Thanks for help...
Downloaded the source code... I ll try it now...
NarSr- Marked as answer by Nar_mscrm Monday, May 2, 2011 12:29 PM
Monday, May 2, 2011 11:56 AM