I have an existing custom app developed as per our business requirement. The same is working fine in production which on v2.0. Since there are some enchancement, i have to refactor the code to 2.2V which works fine on simulation. However, the same when i try using ?dev=true in my sanbox env. doesn’t trigger. Can some1 help here.
Below is code in manifest.json and snipper of server.js
{
"platform-version": "2.2",
"product": {
"freshsales": {
"location": {
"contact_entity_menu": {
"url": "index.html",
"icon": "styles/images/icon.svg"
}
},
"functions": {
"updateContactLocation": {
"timeout": 10
}
},
"events": {
"onAppointmentCreate": {
"handler": "onAppointmentCreateHandler"
},
"onContactCreate": {
"handler": "onContactCreateHandler"
},
"onContactUpdate": {
"handler": "onContactUpdateHandler"
}
}
}
},
"engines": {
"node": "12.22.0",
"fdk": "7.5.0"
}
}
server.js
onAppointmentCreateHandler: function (payload) {
console.log("testing");
},