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

Xrm.Utility.openEntityForm and datetime parameter

$
0
0

I am trying to open an entity form using the Xrm.Utility.openEntityForm and setting the parameters value for a datetime field. The script is working fine in chrome and firefox but in IE it throws below error. 

Though I have given the datetime parameter in correct format the value passed to the querystring looks something like below where the parameter is double encoded and passed to the form.  Did anyone experienced this issue?

"priceeffectivefrom=%E2%80%8E3%E2%80%8E%2f%E2%80%8E6%E2%80%8E%2f%E2%80%8E2017"

<Message>System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: Expected 'DateTime' data type for 'hw_priceeffectivefrom' parameter in 'Request.QueryString'.The raw request was 'GET /form/Data.aspx?


Viewing all articles
Browse latest Browse all 46379

Trending Articles



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