open-cti-demo-adapter
open-cti-demo-adapter copied to clipboard
Error "Page demoAdapterPage2 does not exist " in Lightning
When I add the demo adapter to a lightning app utility bar, I am receiving the error "Page demoAdapterPage2 does not exist".
This page (demoAdapterPage2) actually is missing. It's not included as one of the components in the downloadable package.
That said, the only reason you're seeing this in the first place is because the first URL (pointing to demoAdapterPage, which does exist) failed to load.
I got the first URL to load by going to Setup --> Call Centers --> EDIT Demo Call Center Adapter --> SET field "CTI Adapter URL" to value "/demoAdapterPage". Remove the quotes, of course.
Apparently the SF file structure has changed since this package/README was last updated, so the original filepath to the CTI Adapter URL was lost in space.
updated the repo. It should work now. Thanks!
@dlouvton no, it still have the same message, I uninstall the app and installed via ANT, I have to create a vf page and called it demoAdapterPage2 and I copy and paste the code of demoAdapterPage into it. That seems to work (just adding this in case others find this handy)
@lrockford In setup, select call center-> demo adapter->edit and just copy the first URL and paste it in the second one. It definitely works. Good luck!
Issue is still present, the repo should be updated, in OpenCTI.callCenter is still reference to demoAdapterPage2
<customSettings>{"reqTimeout":"10000","reqStandbyUrl":"/apex/demoAdapterPage2","reqSoftphoneHeight":"550","reqSoftphoneWidth":"400","reqUseApi":"true","reqSalesforceCompatibilityMode":"Classic_and_Lightning"}</customSettings>