nlapiSendEmail API work on External SuiteLet or not?
Hi,
Can you please help me.
nlapiSendEmail API work on External SuiteLet or not?
According to this HelpCenter documentation, it appears this API command is not available : /app/help/helpcenter.nl?fid=chapter_N2952852.html#bridgehead_N2952914
The solution for that is to add inline html field with the default value that executes script, then use ajax, fetch etc. that invokes suitelet then the suitelet will do the work
Hi,
Thanks for the response.
Can you please help me with some sample code.
How to add ajax call in backend Suitelet?
Sample:
form.addField(‘custpage_inlinehtml’, ”, ‘inlinehtml’).setDefaultValue(‘<script>jQuery(document).ready(function() {jQuery.ajax({url:”SUITELET_URL”, data:JSON.stringify({“key”:”value”})})})</script>’)



