locked
Retrieve optionset label by having its selected option set value RRS feed

  • Question

  • hi, i have followed this article in order to retrieve the option set label with option set value (i need to retrieve the optionset label from the other entity, thus Xrm gettext function is no use for me).

    http://rajeevpentyala.wordpress.com/2012/03/08/reading-option-set-using-odata-and-jscript/

    in fact this solution work fine for me on IE9. but after RU 12, it doesn't work on IE 10. and the error is

    Reference to undeclared namespace prefix: 'b'.

    does anyone has the idea on the reason of this cause?

    thanks.


    a

    Monday, July 8, 2013 8:46 AM

All replies

  • i have fixed by using var oXmlDoc = new ActiveXObject("Microsoft.XMLDOM"); 

    and break the result XML by this new object, and the method in this object are applicable to all IE9 and IE10.


    a

    Monday, July 15, 2013 9:20 AM