kai.nevalainen | 2018-06-14 08:07:23 UTC | #1
Hello,
We are trying to test embedded frameworks and set up localhost development as documented here: https://developer.mypurecloud.com/api/embeddable-framework/
All steps are done and localhost with https is running at hxxps://localhost/framework.js
Once navigated to browser page at hxxps://apps.mypurecloud.com/crm/index.html?crm=framework-local-secure we can see that the framework.js code is working.
However, when actually logging into purecloud, developer console is showing this error: PureCloud Client Apps - App is being ignored due to use of a PC reserved domain. {appId: "60ae6836-08a4-46fc-8923-71d982368c7f", appUrl: "https://apps.mypurecloud.ie/crm/index.html?crm=framework-local-secure"} {activeConversations: Array(0)}
Do you know why this error is occurring? Anyone else run into this issue?
Richard.Schott | 2018-06-14 12:53:44 UTC | #2
Kai,
Are you trying to load the embeddable framework as a custom client app? If so, mypurecloud.xx is a reserved namespace and cannot be used as a source URL for a custom client app.
In general, the Embeddable Framework and Client Apps are mutually exclusive technologies. The Embeddable Framework is intended to provide a slimmed down agent interface to embed inside of an external web app; the Client Apps are intended to provide space inside of the PureCloud UI to embed your own web application.
Mixing the two is not really a use case we're intending to support, as this would duplicate agent interfaces and potentially cause collisions with things like webRTC audio streams.
JasonR | 2018-06-15 14:47:47 UTC | #3
Thanks for clarifying the relationship between the Embeddable Framework and Client Apps. Our team is currently considering how to embed part of our internal web application into the PureCloud UI and using the Embeddable Framework seemed reasonable.
I suggest enhancing the Framework documentation with this relationship (apologies if it's already there - I have not read it in detail).
system | 2018-07-16 14:47:32 UTC | #4
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: 3008