[FREE WEBINAR] 3 Ways ESM in Freshservice helps in Returning to Work | 10 AM PST | 11 AM AEST | 11 AM CEST - 10th Sept SAVE YOUR SEAT

Start a new topic

Freshsales: app.activated not firing

Having trouble to get my app to load.

Given the following code snippit. When a user browses to the "lead" or "contact" details screen the application does not fire the event onAppActivated(). The only way i can get it to work is to click on the "more integrations" tab, and then click back on my application tab and then it will fire. It will not fire when the lead is initially loaded. Can anyone offer some advice? 


var client;
$(document).ready( function() {
      client = _client;
	  _client.events.on("app.activated", onAppActivated);
      _client.events.on("app.deactivated", onAppDeactivated);
	function onAppActivated() {
// Do something


1 person has this problem

Could you give a little more info on where you have positioned the app?

Login or Signup to post a comment