Legacy Dev Forum Posts

 View Only

Sign Up

Links to Genesys Cloud Conversation Details from Framed App

  • 1.  Links to Genesys Cloud Conversation Details from Framed App

    Posted 06-05-2025 19:10

    Dan_Fontaine | 2020-06-09 14:18:41 UTC | #1

    The App that I am developing displays conversation search results in a table. I want to link each row (i.e., conversation) to the Conversation Details page in Genesys Cloud: https://apps.mypurecloud.com/directory/#/engage/admin/interactions/[conversationId]

    What is the best way to do that when the application is framed into Genesys Cloud so that I do not receive the error:

    The frame attempting navigation of the top-level window is sandboxed, but the flag of 'allow-top-navigation' or 'allow-top-navigation-by-user-activation' is not set.


    Jerome.Saint-Marc | 2020-06-09 14:42:07 UTC | #2

    Hello,

    I can't say for sure if it will be enough to solve your concern.

    But you could try to add these two flags in your Custom Client App configuration - in the Configuration tab - under "iframe Sandbox Options". It is a comma separated list of flags. So you could try something like: "allow-scripts,allow-same-origin,allow-forms,allow-modals,allow-top-navigation,allow-top-navigation-by-user-activation"

    Regards,


    Dan_Fontaine | 2020-06-09 16:41:50 UTC | #3

    I did try to add those two options before posting and I just tried again but when I add them I get the following message in Genesys Cloud:

    Property Iframe Sandbox Options is invalid

    Also, according to: https://help.mypurecloud.com/articles/set-custom-client-application-integration/ those options are not available - hence the error.


    tim.smith | 2020-06-09 18:44:17 UTC | #4

    You might try the client apps SDK to see if it does what you want: https://developer.mypurecloud.com/api/client-apps/sdk/ConversationsApi.html


    Dan_Fontaine | 2020-06-09 20:04:15 UTC | #5

    Yes! That worked. Thanks!


    system | 2020-07-10 20:04:19 UTC | #6

    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: 7985