Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 55831

Retrieve OptionSet Label using Odata query

$
0
0

Hi guys

Do you know how to retrieve the label of the selected value in an option set using Odata?

I have this query

var ODATA_Set = "?$select=pwc_AircraftStatus,pwc_EventDate,pwc_EventType,
pwc_HighVizReportReqmnt,pwc_HighVizTransmitted,pwc_NextActionDue,
pwc_RealTimestatusofAircraft,StateCode,TicketNumber,Title
&$filter=(pwc_HighVizReportReqmnt/Value eq 117280000 
and pwc_HighVizTransmitted eq true) or 
pwc_EventDate ge datetime'2014-12-02T12:00:00' 
and StateCode/Value ne 2 and not substringof('test',Title)";

retrieveMultiple("IncidentSet", ODATA_Set, 
                  SetHighVizReport_DescriptionCaseQuery, 
                  QueryError, false);

But I only get the numeric Value of the selected option
Do you know how to get the label?


Viewing all articles
Browse latest Browse all 55831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>