Map properties = new Map(Types::String, Types::String);
properties.add('Feature', 'My feature 1');
properties.add('MyCorrelationId', '123456');
SysGlobalTelemetry::logTraceWithCustomProperties('Custom message from X++', properties)
protected void populateProperties()
{
// Setting elapsed milliseconds in the concrete implementation so that the implementer can decide what is the right way to get elapsed time.
this.setElapsedMilliseconds();
this.addBaseProperty(MyApplicationInsightsEventProperties::PurchId, purchTable.PurchId);
this.addBaseProperty(MyApplicationInsightsEventProperties::PurchStatus, strFmt("%1", purchTable.PurchStatus));
this.addBaseProperty(MyApplicationInsightsEventProperties::DeliveryDate, DateTimeUtil::toStr(purchTable.DeliveryDate));
}
Map properties = new Map(Types::String, Types::String);
properties.add('Feature', 'My feature 1');
properties.add('MyCorrelationId', '123456');
SysGlobalTelemetry::logTraceWithCustomProperties('Custom message from X++', properties)
André Arnaud de Cal...
292,074
Super User 2025 Season 1
Martin Dráb
230,900
Most Valuable Professional
nmaenpaa
101,156