open-cti-demo-adapter icon indicating copy to clipboard operation
open-cti-demo-adapter copied to clipboard

Error "Page demoAdapterPage2 does not exist " in Lightning

Open lrockford opened this issue 7 years ago • 6 comments

When I add the demo adapter to a lightning app utility bar, I am receiving the error "Page demoAdapterPage2 does not exist".

lrockford avatar Jan 17 '18 18:01 lrockford

image

lrockford avatar Jan 17 '18 18:01 lrockford

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.

Eric15 avatar Feb 01 '18 16:02 Eric15

updated the repo. It should work now. Thanks!

dlouvton avatar Aug 10 '18 22:08 dlouvton

@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)

manzanofab avatar Aug 30 '18 00:08 manzanofab

@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!

nanda9510 avatar Jan 25 '19 21:01 nanda9510

Issue is still present, the repo should be updated, in OpenCTI.callCenter is still reference to demoAdapterPage2 <customSettings>{&quot;reqTimeout&quot;:&quot;10000&quot;,&quot;reqStandbyUrl&quot;:&quot;/apex/demoAdapterPage2&quot;,&quot;reqSoftphoneHeight&quot;:&quot;550&quot;,&quot;reqSoftphoneWidth&quot;:&quot;400&quot;,&quot;reqUseApi&quot;:&quot;true&quot;,&quot;reqSalesforceCompatibilityMode&quot;:&quot;Classic_and_Lightning&quot;}</customSettings>

mascot4m avatar Nov 18 '20 20:11 mascot4m