When using Xrm.Page.getAttribute(arg).getValue() on a Duration type field it returns a string in crm 2013 (e.g. '2 hours') while in crm 2011 it returns the integer value (e.g. '120')
According to Microsoft its supposed to return a number value for any integer field regardless of the fields format
msdn.microsoft.com/.../gg334409.aspx
This seems to be a bug in crm 2013. Any idea how to get around this bug in crm 2013?
*This post is locked for comments
Thanks for your answer. Not sure how I missed this when I reviewed the release notes initially :)
On Prem.
To be more specific the exact version is: (6.0.0.809) (DB 6.0.0.809)
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156