Custom code support for Javascript

0 votes
Hi, We are developing the app in ionic/javascript and looking for custom code support. Do you have any plans to support ability to call custom code from ionic/js apps? Are there any workarounds to achieve the same? Thanks, Raj
asked May 4, 2016 in JavaScript by connectcreativeminds (10 points)

1 Answer

0 votes

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

answered May 4, 2016 by hs00105 (2,005 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...