Forums

Forums / Developing Portals / Dynamics days field with format of Duration

Dynamics days field with format of Duration

Thread is closed for posting
3 posts, 1 answered
  1. Thomas Smelser
    Thomas Smelser avatar
    1 posts
    Registered:
    02 Mar 2020
    02 Mar 2020
    Link to this post
    Hello,
    I am trying to display a whole number field from Dynamics 365. It has a D365 field format of "Duration".  In CRM it displays days.  In portal it displays minutes.  So 730 days in CRM appears as 1,055,000 minutes in portal.  Is there a way to use this field and respect the CRM format, or an option to display as calculated where I could divide by minutes in year ?

    Thank you.
    Tom
  2. Omar S
    Omar S avatar
    51 posts
    Registered:
    04 Jul 2019
    09 Mar 2020 in reply to Thomas Smelser
    Link to this post
    Hello Thomas

    Thank you for your patience. We will have a solution for this by this week (sooner than later) in our latest patch. I will update this thread when it gets released.  

    As a work around, if the data is being rendered in a listview, you can apply a parseInt() to the value. I haven't come up with a solution for modifying it on a grid yet. 

  3. Patrick
    Patrick avatar
    33 posts
    Registered:
    20 Apr 2020
    Answered
    20 Apr 2020
    Link to this post
    Hi Thomas,

    I know you opened a support case for this issue, and this issue has now been resolved. You can get the fix for this issue by downloading the latest build for TPC, found here:

    https://www.crmportalconnector.com/developer-network/customer-portal/downloads/version-5-3

    Thanks,

    Patrick
    Last modified on 21 Apr 2020 01:04 by Patrick
3 posts, 1 answered