
In my last blog I talked about how to fix timeless activities to show the correct date in sdata grids.
A different fix needs to be put in place in order to have these same dates show correctly if they are added to a column in a group layout for the Infor CRM 8.3.09 web client.
Luckily a similar approach to my last blog could be used.
Using Ryan’s custom loader module all that is required is to create a new folder under the Custom\Modules area. I would suggest something like “TimelessActivityGroupFix”. Then in this folder add a main.js with the following code:
require([ 'dojo/aspect', 'Sage/Utility/Groups', 'Sage/UI/Controls/GridParts/Columns/DateTime' ], function ( aspect, groupUtility, dateTimeColumn ) { aspect.before(groupUtility, 'getGridStructure', function (layout, hideWebLink) { layout.forEach(function (item) { if (item['displayPath'].indexOf('Activity') !== -1) { dateTimeColumn.prototype.useFiveSecondRuleToDetermineTimeless = true; } }); }); });
This function was lifted from the 8.4 version of the Sage.Utility.Groups widget. Obviously in 8.4 this behavior is fixed.
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!