Front end app initialization issue in certain circumstances

Hi Team,

We have developed a front-end app for Freshdesk that initializes when a user opens a ticket. However, the app does not reinitialize when the user navigates between tickets using the ‘Next’ and ‘Previous’ buttons in the top-right corner of the ticket page.

Could you kindly advise if any modifications are needed in the code to address this behavior?

We look forward to your feedback.

Thanks in advance.

I recently ran into the exact same issue, for me it was that I only listened to the app.initialized() event. For the widget to reload on previous and next ticket you also need to listen to the “app.activated” event: Freshworks Developer Docs | Use app lifecycle methods

Hope that helps :slight_smile:

2 Likes

I second with @Wilnersson.

Only the app.activated event occurs when the ticket is changed with the Next and Previous buttons.

You can also find the following line in the documentation.

. The app.activated event also occurs when the app user navigates from one ticket to another on the Ticket Details page.

Hi @Wilnersson & @Raviraj

Thanks for your suggestions.

Great that worked.

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.