Hi,
Please find below code snippet to call App42 Custom code from latest Javascript SDK and let me know if you need any other help from my side. I will be happy to help you:
App42.initialize("APIKEY", "SecretKey");
var customCodeService = new App42CustomCodeService();
var jsonboby = new Object();
jsonboby.name = "Nick";
customCodeService.runJavaCode("Deployed Custom code name",jsonboby ,{
success: function(object) {
},
error: function(error) {
}
});
Regards,
Himanshu Sharma