App component: Frontend
I am developing a custom app for our Freshservice instance. Part of the app adds a note and a reply to the ticket via the Request API, so I need to be able to refresh the ticket view page to show the newly added note and reply. There does not appear to be any way to do this via an API call documented at https://developers.freshservice.com/docs/quick-start/
I have tried using parent.location.reload() in my app to reload the page, but it is blocked by CORS (see attached image). I have whitelisted “https://d3h0owdjgzys62.cloudfront.net” in my app’s manifest file, but I can’t see any way to whitelist cross-origin requests from the app in the Freshservice instance itself.
Is there any way to allow the app to refresh the ticket view in order to show the newly added note and reply?