Luis_Saiz | 2019-06-05 07:55:21 UTC | #1
Hi
I have added a custom web page as an integration. I would like that purecloud does not save the session, and every time I press the integration app button , the "home" page is loaded instead the last page that was used previously.
I have changed the schema of the integration using this with no success:
"lifecycle": { "ephemeral": true, "hooks": { "stop": true, "focus": true, "blur": true, "bootstrap": true } }
What is the proper way to do so?
Thank you
tim.smith | 2019-06-05 16:41:15 UTC | #2
I believe your app will need to refresh itself based on the Lifecycle Events. If you reload when the focus event is raised, your app will reload whenever the user re-opens it.
Luis_Saiz | 2019-06-12 10:55:10 UTC | #3
Thank you for your response. I understand what you are saying, but I do not know how to handle the focus event inside my web page (html element). Can anyone provide an example?
Thanks!
tim.smith | 2019-06-14 17:11:48 UTC | #4
https://developer.mypurecloud.com/api/client-apps/sdk/LifecycleApi.html#module_modules/lifecycle..LifecycleApi+addFocusListener
system | 2019-07-15 17:11:50 UTC | #5
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 5288