dcrsmith
03/09/2023, 3:51 PM/**
* @NApiVersion 2.0
* @NScriptType emailcaptureplugin
* @NModuleScope SameAccount
*
* @description Email Capture using SS2.X
*/
define([],
function () {
function process(email) {
log.debug('EMAIL');
log.debug('getFrom',email.getFrom());
}
return {
process: process
};
});
CD
03/09/2023, 4:27 PMN/log
?dcrsmith
03/09/2023, 4:29 PMNElliott
03/09/2023, 4:36 PMNElliott
03/09/2023, 4:41 PMdcrsmith
03/09/2023, 4:41 PMNElliott
03/09/2023, 5:10 PMerictgrubaugh
03/09/2023, 5:24 PMAre they different to normal script files? By that, I mean do you not need to import N/log ?
N/log
and N/util
are always imported and do not need to be explicitly importedrustyshackles
03/10/2023, 1:56 AMCharan
03/10/2023, 11:47 AM