RE: nlapiSendEmail API work on External SuiteLet or not?

Hi,

Can you please help me.

nlapiSendEmail API work on External SuiteLet or not?

samallasravan564 Rookie Asked on October 9, 2019 in SuiteScript.
Add Comment
2 Answers

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

Beginner Answered on October 9, 2019.

Hi,

Thanks for the response.

Can you please help me with some sample code.

How to add ajax call in backend Suitelet?

on October 10, 2019.

Sample:

 

form.addField(‘custpage_inlinehtml’, ”, ‘inlinehtml’).setDefaultValue(‘<script>jQuery(document).ready(function() {jQuery.ajax({url:”SUITELET_URL”, data:JSON.stringify({“key”:”value”})})})</script>’)

on October 10, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.