nlapiSendEmail API work on External SuiteLet or not?

Hi,

Can you please help me.

nlapiSendEmail API work on External SuiteLet or not?

Rookie Asked on October 9, 2019 in SuiteScript.
Add Comment
2 Answer(s)

According to this HelpCenter documentation, it appears this API command is not available : /app/help/helpcenter.nl?fid=chapter_N2952852.html#bridgehead_N2952914

Intermediate Answered on October 9, 2019.
Add Comment

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.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor