I have created an email template in Ax, using the %varname%
as a placeholder for items added to the map when you send the email with this:
emailParameterMap.insert("modifiedBy", userFullName);
emailParameterMap.insert("vendorName", vendorName);
SysEmailTable::sendMail("VendChanges", "en-us", "user@domain.com", emailParameterMap);
But, I want to have a list of an unknown number of items in the email result that is sent.
How can I do that?