
In the Infor CRM (Saleslogix) Mobile client, dates in group lists are displayed as relative dates. You’ll see dates in the group list like “10 days ago”, “3 months ago”, or “a year ago”, and so on. This applies to future dates as well, seeing values like “in a month”.
Example:
Notice the relative dates in the screenshot above. However, if you’d like to see actual dates instead of relative dates there is a simple solution.
Displaying Actual Dates in Group Lists
To display actual dates instead of relative dates in all group lists (keep in mind this change applies to all dates in all group lists), simply add the following to your ApplicationModule. Note: the reference to GroupUtility in the AMD references.
define('Mobile/CustomApp/ApplicationModule', [ 'dojo/_base/declare', 'Mobile/SalesLogix/GroupUtility' ], function ( declare, groupUtility ) { return declare('Mobile.CustomApp.ApplicationModule', Sage.Platform.Mobile.ApplicationModule, { loadCustomizations: function () { // Do not use relative dates in group lists groupUtility.groupFormatters.forEach(function(formatter) { if (formatter.name == 'DateTime') { formatter.options.useRelative = false; } }); } }); });
With that code in place you’ll see the actual dates.
Subscribe To Our Newsletter
Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!
You have Successfully Subscribed!