Legacy Dev Forum Posts

 View Only

Sign Up

Embeddable Framework - using window.PureCloud outside of framework.js

  • 1.  Embeddable Framework - using window.PureCloud outside of framework.js

    Posted 06-05-2025 18:49

    dmiller | 2019-09-11 20:09:28 UTC | #1

    Hi, Is it possible to use framework.js objects/methods outside of the framework.js file? If I try to directly access the iframe via something like document.getElementById, I get an CORS error. Is there a way to whitelist any particular domain?

    Thanks,

    Dan


    tim.smith | 2019-09-11 20:10:44 UTC | #2

    dmiller, post:1, topic:6001
    If I try to directly access the iframe via something like document.getElementById, I get an CORS error

    Correct. The embeddable framework defines the operations you can use. If you need to do something that the framework does not offer, you can use the API directly in your application for that task.


    system | 2019-10-12 20:10:48 UTC | #3

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