Question

Unable to inset custom widget in freshdesk support portal

  • 3 February 2021
  • 0 replies
  • 27 views


We are looking to integrate our Haptik WebSDK widget on our Freshdesk help portal. Unfortunately, we are unable to get our Websdk to render on the support portal.

Our team tried to debug the issue and here is what we found - Freshdesk is using prototype.js library which results in different behavior for a JS function. The problem we are facing is that the default behavior of a function has been modified. JSON.stringify is calling Array.prototype but Array.prototype is giving a different response than expected. They are likely overwriting the base Array class.

Here is a StackOverflow thread discussing the same issue:
https://stackoverflow.com/questions/710586/json-stringify-array-bizarreness-with-prototype-js#:~:text=The%20function%20JSON.,are%20using)%20defines%20an%20Array


0 replies

Join the Community or User Group to Participate in this Discussion

Reply